Lines Matching refs:PP

127                                              Preprocessor &PP,
139 SourceManager &SM = PP.getSourceManager();
141 StringRef MacroName = PP.getImmediateMacroName(TopL);
150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP);
160 Preprocessor &PP,
173 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal,
188 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP);
198 return WrappedInParens || isExpandedFromConfigurationMacro(E, PP, IgnoreYES_NO);
203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP);
212 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal,
214 isConfigurationValue(B->getRHS(), PP, SilenceableCondVal,
222 isConfigurationValue(UO->getSubExpr(), PP, SilenceableCondVal,
230 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP) {
232 return isConfigurationValue(ED->getInitExpr(), PP);
253 Preprocessor &PP) {
259 return isConfigurationValue(Term, PP);
264 return isConfigurationValue(Cond, PP);
269 Preprocessor *PP,
308 assert(PP);
310 shouldTreatSuccessorsAsReachable(item, *PP);
334 Preprocessor &PP,
336 return scanFromBlock(Start, Reachable, &PP, true);
348 Preprocessor &PP;
356 DeadCodeScan(llvm::BitVector &reachable, Preprocessor &PP)
359 PP(PP) {}
471 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
477 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
497 count += scanMaybeReachableFromBlock(Block, PP, Reachable);
614 isConfigurationValue(TermCond, PP, &SilenceableCondVal);
637 void FindUnreachableCode(AnalysisDeclContext &AC, Preprocessor &PP,
648 scanMaybeReachableFromBlock(&cfg->getEntry(), PP, reachable);
657 numReachable += scanMaybeReachableFromBlock(*I, PP, reachable);
671 DeadCodeScan DS(reachable, PP);