Lines Matching refs:LoadI
83 BCEAtom(GetElementPtrInst *GEP, LoadInst *LoadI, int BaseId, APInt Offset) in BCEAtom()
84 : GEP(GEP), LoadI(LoadI), BaseId(BaseId), Offset(Offset) {} in BCEAtom()
94 LoadI = that.LoadI; in operator =()
115 LoadInst *LoadI = nullptr; member
143 auto *const LoadI = dyn_cast<LoadInst>(Val); in visitICmpLoadOperand() local
144 if (!LoadI) in visitICmpLoadOperand()
147 if (LoadI->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
152 if (!LoadI->isSimple()) { in visitICmpLoadOperand()
156 Value *const Addr = LoadI->getOperand(0); in visitICmpLoadOperand()
161 if (GEP->isUsedOutsideOfBlock(LoadI->getParent())) { in visitICmpLoadOperand()
166 if (!isDereferenceablePointer(GEP, LoadI->getType(), DL)) { in visitICmpLoadOperand()
175 return BCEAtom(GEP, LoadI, BaseId.getBaseId(GEP->getPointerOperand()), in visitICmpLoadOperand()
251 MemoryLocation LLoc = MemoryLocation::get(Cmp.Lhs.LoadI); in canSinkBCECmpInst()
252 MemoryLocation RLoc = MemoryLocation::get(Cmp.Rhs.LoadI); in canSinkBCECmpInst()
375 {Result->Lhs.GEP, Result->Rhs.GEP, Result->Lhs.LoadI, Result->Rhs.LoadI, in visitCmpBlock()
625 Builder.CreateLoad(FirstCmp.Lhs().LoadI->getType(), Lhs); in mergeComparisons()
627 Builder.CreateLoad(FirstCmp.Rhs().LoadI->getType(), Rhs); in mergeComparisons()