Lines Matching refs:AC
238 AssumptionCache *AC; member
279 AssumptionCache *AC) in PromoteMem2Reg()
282 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(), in PromoteMem2Reg()
283 nullptr, &DT, AC) {} in PromoteMem2Reg()
314 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() argument
322 AC->registerAssumption(CI); in addAssumeNonNull()
359 DominatorTree &DT, AssumptionCache *AC) { in rewriteSingleStoreAlloca() argument
413 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in rewriteSingleStoreAlloca()
414 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
415 addAssumeNonNull(AC, LI); in rewriteSingleStoreAlloca()
463 AssumptionCache *AC) { in promoteSingleBlockAlloca() argument
509 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in promoteSingleBlockAlloca()
510 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in promoteSingleBlockAlloca()
511 addAssumeNonNull(AC, LI); in promoteSingleBlockAlloca()
585 if (rewriteSingleStoreAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
596 promoteSingleBlockAlloca(AI, Info, LBI, SQ.DL, DT, AC)) { in run()
973 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in RenamePass()
974 !isKnownNonZero(V, SQ.DL, 0, AC, LI, &DT)) in RenamePass()
975 addAssumeNonNull(AC, LI); in RenamePass()
1025 AssumptionCache *AC) { in PromoteMemToReg() argument
1030 PromoteMem2Reg(Allocas, DT, AC).run(); in PromoteMemToReg()