• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/

Lines Matching refs:PP

150                                              Preprocessor &PP,
158 SourceManager &SM = PP.getSourceManager();
164 StringRef MacroName = PP.getImmediateMacroName(TopL);
167 } else if (!PP.getLangOpts().CPlusPlus) {
170 StringRef MacroName = PP.getImmediateMacroName(TopL);
179 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
189 Preprocessor &PP,
205 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal,
220 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP);
230 return WrappedInParens || isExpandedFromConfigurationMacro(E, PP, IgnoreYES_NO);
235 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP);
244 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal,
246 isConfigurationValue(B->getRHS(), PP, SilenceableCondVal,
256 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal,
272 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) {
274 return isConfigurationValue(ED->getInitExpr(), PP);
295 Preprocessor &PP) {
301 return isConfigurationValue(Term, PP);
306 return isConfigurationValue(Cond, PP);
311 Preprocessor *PP,
350 assert(PP);
352 shouldTreatSuccessorsAsReachable(item, *PP);
376 Preprocessor &PP,
378 return scanFromBlock(Start, Reachable, &PP, true);
390 Preprocessor &PP;
399 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C)
402 PP(PP), C(C) {}
513 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
519 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
539 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
656 isConfigurationValue(TermCond, PP, &SilenceableCondVal);
679 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
690 scanMaybeReachableFromBlock(&cfg->getEntry(), PP, reachable);
699 numReachable += scanMaybeReachableFromBlock(*I, PP, reachable);
713 DeadCodeScan DS(reachable, PP, AC.getASTContext());