Lines Matching defs:LI1
652 LoadInst *LI1 = LOps.Root;
658 LI1 = dyn_cast<LoadInst>(L1);
663 if (LI1 == LI2 || !LI1 || !LI2 || !LI1->isSimple() || !LI2->isSimple() ||
664 LI1->getPointerAddressSpace() != LI2->getPointerAddressSpace())
668 if (LI1->getParent() != LI2->getParent())
675 Value *Load1Ptr = LI1->getPointerOperand();
688 uint64_t LoadSize1 = LI1->getType()->getPrimitiveSizeInBits();
698 LoadInst *Start = LOps.FoundRoot ? LOps.RootInsert : LI1, *End = LI2;
719 // Make sure Load with lower Offset is at LI1
722 std::swap(LI1, LI2);
741 // First load is always LI1. This is where we put the new load.
742 // Use the merged load size available from LI1 for forward loads.
754 DL.getTypeStoreSize(IntegerType::get(LI1->getContext(), LoadSize1));
763 AATags1 = LI1->getAAMetadata();
771 LOps.Root = LI1;
792 LoadInst *NewLoad = nullptr, *LI1 = LOps.Root;
800 unsigned AS = LI1->getPointerAddressSpace();
803 AS, LI1->getAlign(), &Fast);
808 Value *Load1Ptr = LI1->getPointerOperand();
817 NewLoad = Builder.CreateAlignedLoad(WiderType, Load1Ptr, LI1->getAlign(),
818 LI1->isVolatile(), "");
819 NewLoad->takeName(LI1);