Lines Matching defs:AC
233 AssumptionCache *AC;
269 AssumptionCache *AC)
272 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(),
273 nullptr, &DT, AC) {}
304 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) {
312 AC->registerAssumption(CI);
349 DominatorTree &DT, AssumptionCache *AC) {
400 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
401 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT))
402 addAssumeNonNull(AC, LI);
448 AssumptionCache *AC) {
493 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
494 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT))
495 addAssumeNonNull(AC, LI);
566 if (rewriteSingleStoreAlloca(AI, Info, LBI, SQ.DL, DT, AC)) {
577 promoteSingleBlockAlloca(AI, Info, LBI, SQ.DL, DT, AC)) {
944 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
945 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT))
946 addAssumeNonNull(AC, LI);
996 AssumptionCache *AC) {
1001 PromoteMem2Reg(Allocas, DT, AC).run();