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