Lines Matching refs:LoadI
74 BCEAtom(GetElementPtrInst *GEP, LoadInst *LoadI, int BaseId, APInt Offset) in BCEAtom()
75 : GEP(GEP), LoadI(LoadI), BaseId(BaseId), Offset(Offset) {} in BCEAtom()
85 LoadI = that.LoadI; in operator =()
106 LoadInst *LoadI = nullptr; member
134 auto *const LoadI = dyn_cast<LoadInst>(Val); in visitICmpLoadOperand() local
135 if (!LoadI) in visitICmpLoadOperand()
138 if (LoadI->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
143 if (!LoadI->isSimple()) { in visitICmpLoadOperand()
147 Value *Addr = LoadI->getOperand(0); in visitICmpLoadOperand()
152 const auto &DL = LoadI->getModule()->getDataLayout(); in visitICmpLoadOperand()
153 if (!isDereferenceablePointer(Addr, LoadI->getType(), DL)) { in visitICmpLoadOperand()
165 if (GEP->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
173 return BCEAtom(GEP, LoadI, BaseId.getBaseId(Base), Offset); in visitICmpLoadOperand()
252 if (MayClobber(Cmp.Lhs.LoadI) || MayClobber(Cmp.Rhs.LoadI)) in canSinkBCECmpInst()
372 {Result->Lhs.LoadI, Result->Rhs.LoadI, Result->CmpI, BranchI}); in visitCmpBlock()
615 Lhs = FirstCmp.Lhs().LoadI->getPointerOperand(); in mergeComparisons()
619 Rhs = FirstCmp.Rhs().LoadI->getPointerOperand(); in mergeComparisons()
638 Builder.CreateLoad(FirstCmp.Lhs().LoadI->getType(), Lhs); in mergeComparisons()
640 Builder.CreateLoad(FirstCmp.Rhs().LoadI->getType(), Rhs); in mergeComparisons()