Home
last modified time | relevance | path

Searched refs:LastStore (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp741 auto &LastStore = StoreMI; in mergeTruncStore() local
746 if (!mi_match(LastStore.getPointerReg(), *MRI, in mergeTruncStore()
748 BaseReg = LastStore.getPointerReg(); in mergeTruncStore()
752 GStore *LowestIdxStore = &LastStore; in mergeTruncStore()
756 auto LowestShiftAmt = getTruncStoreByteOffset(LastStore, WideSrcVal, *MRI); in mergeTruncStore()
770 FoundStores.emplace_back(&LastStore); in mergeTruncStore()
774 for (auto II = ++LastStore.getReverseIterator(); in mergeTruncStore()
775 II != LastStore.getParent()->rend() && NumInstsChecked < MaxInstsToCheck; in mergeTruncStore()
832 const auto &DL = LastStore.getMF()->getDataLayout(); in mergeTruncStore()
833 auto &C = LastStore.getMF()->getFunction().getContext(); in mergeTruncStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1378 Instruction *LastStore = nullptr; in processNode() local
1489 LastStore = nullptr; in processNode()
1558 LastStore = nullptr; in processNode()
1607 LastStore = nullptr; in processNode()
1619 LastStore = nullptr; in processNode()
1699 assert((!LastStore || in processNode()
1700 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode()
1729 if (LastStore) { in processNode()
1730 if (overridingStores(ParseMemoryInst(LastStore, TTI), MemInst)) { in processNode()
1731 LLVM_DEBUG(dbgs() << "EarlyCSE DEAD STORE: " << *LastStore in processNode()
[all …]
H A DNewGVN.cpp1418 const auto *LastStore = createStoreExpression(SI, StoreRHS); in performSymbolicStoreEvaluation() local
1419 const auto *LastCC = ExpressionToClass.lookup(LastStore); in performSymbolicStoreEvaluation()
1425 if (LastCC && LastCC->getStoredValue() == LastStore->getStoredValue()) in performSymbolicStoreEvaluation()
1426 return LastStore; in performSymbolicStoreEvaluation()
1431 if (auto *LI = dyn_cast<LoadInst>(LastStore->getStoredValue())) in performSymbolicStoreEvaluation()
1433 LastStore->getOperand(0)) && in performSymbolicStoreEvaluation()
1436 return LastStore; in performSymbolicStoreEvaluation()
1437 deleteExpression(LastStore); in performSymbolicStoreEvaluation()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp2211 std::map<int,IndexType> LastStore, LastLoad; in optimizeSpillSlots() local
2287 if (LastStore[FI] == IndexType::None) in optimizeSpillSlots()
2288 LastStore[FI] = IndexType::Entry; in optimizeSpillSlots()
2292 if (LastStore[FI] != IndexType::None) in optimizeSpillSlots()
2293 RL.add(LastStore[FI], LastLoad[FI], false, false); in optimizeSpillSlots()
2297 LastStore[FI] = Index; in optimizeSpillSlots()
2309 IndexType &LS = LastStore[I.first]; in optimizeSpillSlots()
2316 for (auto &I : LastStore) { in optimizeSpillSlots()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp532 std::pair<CharUnits, CharUnits> LastStore = Stores.pop_back_val(); in EmitNullBaseClassInitialization() local
533 CharUnits LastStoreOffset = LastStore.first; in EmitNullBaseClassInitialization()
534 CharUnits LastStoreSize = LastStore.second; in EmitNullBaseClassInitialization()