• Home
  • Raw
  • Download

Lines Matching refs:InVal

803   Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1079 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1081 if (InVal.DefInst == nullptr) in getMatchingValue()
1083 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1089 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1096 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1097 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1104 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
1113 if (!isNonTargetIntrinsicMatch(cast<IntrinsicInst>(InVal.DefInst), in getMatchingValue()
1118 if (!isOperatingOnInvariantMemAt(MemInst.get(), InVal.Generation) && in getMatchingValue()
1119 !isSameMemGeneration(InVal.Generation, CurrentGeneration, InVal.DefInst, in getMatchingValue()
1374 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1375 if (Value *Op = getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1377 << " to: " << *InVal.DefInst << '\n'); in processNode()
1415 std::pair<Instruction *, unsigned> InVal = AvailableCalls.lookup(&Inst); in processNode() local
1416 if (InVal.first != nullptr && in processNode()
1417 isSameMemGeneration(InVal.second, CurrentGeneration, InVal.first, in processNode()
1420 << " to: " << *InVal.first << '\n'); in processNode()
1426 Inst.replaceAllUsesWith(InVal.first); in processNode()
1457 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode() local
1458 if (InVal.DefInst && in processNode()
1459 InVal.DefInst == getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()