Lines Matching refs:InVal
961 Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1249 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1251 if (InVal.DefInst == nullptr) in getMatchingValue()
1253 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1259 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1266 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1267 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1274 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
1283 if (!isNonTargetIntrinsicMatch(cast<IntrinsicInst>(InVal.DefInst), in getMatchingValue()
1288 if (!isOperatingOnInvariantMemAt(MemInst.get(), InVal.Generation) && in getMatchingValue()
1289 !isSameMemGeneration(InVal.Generation, CurrentGeneration, InVal.DefInst, in getMatchingValue()
1580 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1581 if (Value *Op = getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1583 << " to: " << *InVal.DefInst << '\n'); in processNode()
1588 if (InVal.IsLoad) in processNode()
1625 std::pair<Instruction *, unsigned> InVal = AvailableCalls.lookup(&Inst); in processNode() local
1626 if (InVal.first != nullptr && in processNode()
1627 isSameMemGeneration(InVal.second, CurrentGeneration, InVal.first, in processNode()
1630 << " to: " << *InVal.first << '\n'); in processNode()
1636 Inst.replaceAllUsesWith(InVal.first); in processNode()
1692 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1693 if (InVal.DefInst && in processNode()
1694 InVal.DefInst == getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()