Lines Matching defs:LIs
91 /// Find the instruction in sets LIs that dominates all others, return nullptr
93 LoadInst *findFirstLoad(const std::set<LoadInst *> &LIs);
663 std::set<LoadInst *> LIs;
767 Result.LIs.insert(Old.LIs.begin(), Old.LIs.end());
826 Result.LIs.insert(LHS.LIs.begin(), LHS.LIs.end());
830 Result.LIs.insert(RHS.LIs.begin(), RHS.LIs.end());
887 Result.LIs.insert(LI);
1105 InterleavedLoadCombineImpl::findFirstLoad(const std::set<LoadInst *> &LIs) {
1106 assert(!LIs.empty() && "No load instructions given.");
1108 // All LIs are within the same BB. Select the first for a reference.
1109 BasicBlock *BB = (*LIs.begin())->getParent();
1111 *BB, [&LIs](Instruction &I) -> bool { return is_contained(LIs, &I); });
1130 std::set<LoadInst *> LIs;
1144 LIs.insert(VI.LIs.begin(), VI.LIs.end());
1156 if (LIs.size() < 2)
1184 LoadInst *First = findFirstLoad(LIs);
1190 for (auto *LI : LIs) {
1195 assert(!LIs.empty() && "There are no LoadInst to combine");