Lines Matching refs:InVal

823   Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1105 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1107 if (InVal.DefInst == nullptr) in getMatchingValue()
1109 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1115 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1122 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1123 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1130 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
1139 if (!isNonTargetIntrinsicMatch(cast<IntrinsicInst>(InVal.DefInst), in getMatchingValue()
1144 if (!isOperatingOnInvariantMemAt(MemInst.get(), InVal.Generation) && in getMatchingValue()
1145 !isSameMemGeneration(InVal.Generation, CurrentGeneration, InVal.DefInst, in getMatchingValue()
1407 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1408 if (Value *Op = getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1410 << " to: " << *InVal.DefInst << '\n'); in processNode()
1448 std::pair<Instruction *, unsigned> InVal = AvailableCalls.lookup(&Inst); in processNode() local
1449 if (InVal.first != nullptr && in processNode()
1450 isSameMemGeneration(InVal.second, CurrentGeneration, InVal.first, in processNode()
1453 << " to: " << *InVal.first << '\n'); in processNode()
1459 Inst.replaceAllUsesWith(InVal.first); in processNode()
1490 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1491 if (InVal.DefInst && in processNode()
1492 InVal.DefInst == getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()