Lines Matching defs:LI1
643 LoadInst *LI1 = LOps.Root;
649 LI1 = dyn_cast<LoadInst>(L1);
654 if (LI1 == LI2 || !LI1 || !LI2 || !LI1->isSimple() || !LI2->isSimple() ||
655 LI1->getPointerAddressSpace() != LI2->getPointerAddressSpace())
659 if (LI1->getParent() != LI2->getParent())
666 Value *Load1Ptr = LI1->getPointerOperand();
679 uint64_t LoadSize1 = LI1->getType()->getPrimitiveSizeInBits();
689 LoadInst *Start = LOps.FoundRoot ? LOps.RootInsert : LI1, *End = LI2;
710 // Make sure Load with lower Offset is at LI1
713 std::swap(LI1, LI2);
732 // First load is always LI1. This is where we put the new load.
733 // Use the merged load size available from LI1 for forward loads.
745 DL.getTypeStoreSize(IntegerType::get(LI1->getContext(), LoadSize1));
754 AATags1 = LI1->getAAMetadata();
762 LOps.Root = LI1;
783 LoadInst *NewLoad = nullptr, *LI1 = LOps.Root;
791 unsigned AS = LI1->getPointerAddressSpace();
794 AS, LI1->getAlign(), &Fast);
799 Value *Load1Ptr = LI1->getPointerOperand();
808 NewLoad = Builder.CreateAlignedLoad(WiderType, Load1Ptr, LI1->getAlign(),
809 LI1->isVolatile(), "");
810 NewLoad->takeName(LI1);