Lines Matching defs:PP
151 Preprocessor &PP,
159 SourceManager &SM = PP.getSourceManager();
165 StringRef MacroName = PP.getImmediateMacroName(TopL);
168 } else if (!PP.getLangOpts().CPlusPlus) {
171 StringRef MacroName = PP.getImmediateMacroName(TopL);
180 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
190 Preprocessor &PP,
206 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal,
221 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP);
232 isExpandedFromConfigurationMacro(E, PP, IgnoreYES_NO);
237 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP);
246 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal,
248 isConfigurationValue(B->getRHS(), PP, SilenceableCondVal,
258 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal,
274 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) {
276 return isConfigurationValue(ED->getInitExpr(), PP);
297 Preprocessor &PP) {
303 return isConfigurationValue(Term, PP);
314 return isConfigurationValue(Cond, PP);
319 Preprocessor *PP,
358 assert(PP);
360 shouldTreatSuccessorsAsReachable(item, *PP);
384 Preprocessor &PP,
386 return scanFromBlock(Start, Reachable, &PP, true);
398 Preprocessor &PP;
407 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP, ASTContext &C)
410 PP(PP), C(C) {}
565 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
571 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
590 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
712 isConfigurationValue(TermCond, PP, &SilenceableCondVal);
735 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
746 scanMaybeReachableFromBlock(&cfg->getEntry(), PP, reachable);
754 numReachable += scanMaybeReachableFromBlock(B, PP, reachable);
766 DeadCodeScan DS(reachable, PP, AC.getASTContext());