Lines Matching refs:LoadI
76 BCEAtom(GetElementPtrInst *GEP, LoadInst *LoadI, int BaseId, APInt Offset) in BCEAtom()
77 : GEP(GEP), LoadI(LoadI), BaseId(BaseId), Offset(std::move(Offset)) {} in BCEAtom()
87 LoadI = that.LoadI; in operator =()
108 LoadInst *LoadI = nullptr; member
136 auto *const LoadI = dyn_cast<LoadInst>(Val); in visitICmpLoadOperand() local
137 if (!LoadI) in visitICmpLoadOperand()
140 if (LoadI->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
145 if (!LoadI->isSimple()) { in visitICmpLoadOperand()
149 Value *Addr = LoadI->getOperand(0); in visitICmpLoadOperand()
154 const auto &DL = LoadI->getDataLayout(); in visitICmpLoadOperand()
155 if (!isDereferenceablePointer(Addr, LoadI->getType(), DL)) { in visitICmpLoadOperand()
167 if (GEP->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
175 return BCEAtom(GEP, LoadI, BaseId.getBaseId(Base), Offset); in visitICmpLoadOperand()
254 if (MayClobber(Cmp.Lhs.LoadI) || MayClobber(Cmp.Rhs.LoadI)) in canSinkBCECmpInst()
379 {Result->Lhs.LoadI, Result->Rhs.LoadI, Result->CmpI, BranchI}); in visitCmpBlock()
622 Lhs = FirstCmp.Lhs().LoadI->getPointerOperand(); in mergeComparisons()
626 Rhs = FirstCmp.Rhs().LoadI->getPointerOperand(); in mergeComparisons()
645 Instruction *const LhsLoad = Builder.Insert(FirstCmp.Lhs().LoadI->clone()); in mergeComparisons()
646 Instruction *const RhsLoad = Builder.Insert(FirstCmp.Rhs().LoadI->clone()); in mergeComparisons()