• Home
  • Raw
  • Download

Lines Matching refs:MemInst

803   Value *getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst,
1079 Value *EarlyCSE::getMatchingValue(LoadValue &InVal, ParseMemoryInst &MemInst, in getMatchingValue() argument
1083 if (InVal.MatchingId != MemInst.getMatchingId()) in getMatchingValue()
1086 if (MemInst.isVolatile() || !MemInst.isUnordered()) in getMatchingValue()
1089 if (MemInst.isLoad() && !InVal.IsAtomic && MemInst.isAtomic()) in getMatchingValue()
1095 bool MemInstMatching = !MemInst.isLoad(); in getMatchingValue()
1096 Instruction *Matching = MemInstMatching ? MemInst.get() : InVal.DefInst; in getMatchingValue()
1097 Instruction *Other = MemInstMatching ? InVal.DefInst : MemInst.get(); in getMatchingValue()
1101 Value *Result = MemInst.isStore() in getMatchingValue()
1104 if (MemInst.isStore() && InVal.DefInst != Result) in getMatchingValue()
1114 cast<IntrinsicInst>(MemInst.get()))) in getMatchingValue()
1118 if (!isOperatingOnInvariantMemAt(MemInst.get(), InVal.Generation) && in getMatchingValue()
1120 MemInst.get())) in getMatchingValue()
1346 ParseMemoryInst MemInst(&Inst, TTI); in processNode() local
1348 if (MemInst.isValid() && MemInst.isLoad()) { in processNode()
1351 if (MemInst.isVolatile() || !MemInst.isUnordered()) { in processNode()
1356 if (MemInst.isInvariantLoad()) { in processNode()
1374 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1375 if (Value *Op = getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1393 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode()
1395 MemInst.getMatchingId(), in processNode()
1396 MemInst.isAtomic())); in processNode()
1408 !(MemInst.isValid() && !MemInst.mayReadFromMemory())) in processNode()
1456 if (MemInst.isValid() && MemInst.isStore()) { in processNode()
1457 LoadValue InVal = AvailableLoads.lookup(MemInst.getPointerOperand()); in processNode()
1459 InVal.DefInst == getMatchingValue(InVal, MemInst, CurrentGeneration)) { in processNode()
1466 MemInst.getPointerOperand() || in processNode()
1491 if (MemInst.isValid() && MemInst.isStore()) { in processNode()
1495 if (overridingStores(ParseMemoryInst(LastStore, TTI), MemInst)) { in processNode()
1517 AvailableLoads.insert(MemInst.getPointerOperand(), in processNode()
1519 MemInst.getMatchingId(), in processNode()
1520 MemInst.isAtomic())); in processNode()
1529 if (MemInst.isUnordered() && !MemInst.isVolatile()) in processNode()