Lines Matching refs:InVal
833 Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1118 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1120 if (InVal.DefInst == nullptr) in getMatchingValue()
1122 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1128 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1135 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1136 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1143 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
1152 if (!isNonTargetIntrinsicMatch(cast<IntrinsicInst>(InVal.DefInst), in getMatchingValue()
1157 if (!isOperatingOnInvariantMemAt(MemInst.get(), InVal.Generation) && in getMatchingValue()
1158 !isSameMemGeneration(InVal.Generation, CurrentGeneration, InVal.DefInst, in getMatchingValue()
1437 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1438 if (Value *Op = getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1440 << " to: " << *InVal.DefInst << '\n'); in processNode()
1478 std::pair<Instruction *, unsigned> InVal = AvailableCalls.lookup(&Inst); in processNode() local
1479 if (InVal.first != nullptr && in processNode()
1480 isSameMemGeneration(InVal.second, CurrentGeneration, InVal.first, in processNode()
1483 << " to: " << *InVal.first << '\n'); in processNode()
1489 Inst.replaceAllUsesWith(InVal.first); in processNode()
1520 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1521 if (InVal.DefInst && in processNode()
1522 InVal.DefInst == getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()