Lines Matching refs:AC
230 AssumptionCache *AC; member
266 AssumptionCache *AC) in PromoteMem2Reg()
269 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(), in PromoteMem2Reg()
270 nullptr, &DT, AC) {} in PromoteMem2Reg()
301 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() argument
309 AC->registerAssumption(cast<AssumeInst>(CI)); in addAssumeNonNull()
356 DominatorTree &DT, AssumptionCache *AC) { in rewriteSingleStoreAlloca() argument
407 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in rewriteSingleStoreAlloca()
408 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
409 addAssumeNonNull(AC, LI); in rewriteSingleStoreAlloca()
459 AssumptionCache *AC) { in promoteSingleBlockAlloca() argument
508 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in promoteSingleBlockAlloca()
509 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca()
510 addAssumeNonNull(AC, LI); in promoteSingleBlockAlloca()
582 if (rewriteSingleStoreAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
593 promoteSingleBlockAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
963 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in RenamePass()
964 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT)) in RenamePass()
965 addAssumeNonNull(AC, LI); in RenamePass()
1016 AssumptionCache *AC) { in PromoteMemToReg() argument
1021 PromoteMem2Reg(Allocas, DT, AC).run(); in PromoteMemToReg()