Lines Matching defs:LIs
92 /// Find the instruction in sets LIs that dominates all others, return nullptr
94 LoadInst *findFirstLoad(const std::set<LoadInst *> &LIs);
664 std::set<LoadInst *> LIs;
768 Result.LIs.insert(Old.LIs.begin(), Old.LIs.end());
827 Result.LIs.insert(LHS.LIs.begin(), LHS.LIs.end());
831 Result.LIs.insert(RHS.LIs.begin(), RHS.LIs.end());
888 Result.LIs.insert(LI);
1106 InterleavedLoadCombineImpl::findFirstLoad(const std::set<LoadInst *> &LIs) {
1107 assert(!LIs.empty() && "No load instructions given.");
1109 // All LIs are within the same BB. Select the first for a reference.
1110 BasicBlock *BB = (*LIs.begin())->getParent();
1112 *BB, [&LIs](Instruction &I) -> bool { return is_contained(LIs, &I); });
1131 std::set<LoadInst *> LIs;
1145 LIs.insert(VI.LIs.begin(), VI.LIs.end());
1157 if (LIs.size() < 2)
1185 LoadInst *First = findFirstLoad(LIs);
1191 for (auto *LI : LIs) {
1196 assert(!LIs.empty() && "There are no LoadInst to combine");