Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1260 Instruction *LastStore = nullptr; in processNode() local
1371 LastStore = nullptr; in processNode()
1449 LastStore = nullptr; in processNode()
1494 LastStore = nullptr; in processNode()
1506 LastStore = nullptr; in processNode()
1561 assert((!LastStore || in processNode()
1562 ParseMemoryInst(LastStore, TTI).getPointerOperand() == in processNode()
1591 if (LastStore) { in processNode()
1592 if (overridingStores(ParseMemoryInst(LastStore, TTI), MemInst)) { in processNode()
1593 LLVM_DEBUG(dbgs() << "EarlyCSE DEAD STORE: " << *LastStore in processNode()
[all …]
H A DNewGVN.cpp1410 const auto *LastStore = createStoreExpression(SI, StoreRHS); in performSymbolicStoreEvaluation() local
1411 const auto *LastCC = ExpressionToClass.lookup(LastStore); in performSymbolicStoreEvaluation()
1417 if (LastCC && LastCC->getStoredValue() == LastStore->getStoredValue()) in performSymbolicStoreEvaluation()
1418 return LastStore; in performSymbolicStoreEvaluation()
1423 if (auto *LI = dyn_cast<LoadInst>(LastStore->getStoredValue())) in performSymbolicStoreEvaluation()
1425 LastStore->getOperand(0)) && in performSymbolicStoreEvaluation()
1428 return LastStore; in performSymbolicStoreEvaluation()
1429 deleteExpression(LastStore); in performSymbolicStoreEvaluation()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.cpp2209 std::map<int,IndexType> LastStore, LastLoad; in optimizeSpillSlots() local
2285 if (LastStore[FI] == IndexType::None) in optimizeSpillSlots()
2286 LastStore[FI] = IndexType::Entry; in optimizeSpillSlots()
2290 if (LastStore[FI] != IndexType::None) in optimizeSpillSlots()
2291 RL.add(LastStore[FI], LastLoad[FI], false, false); in optimizeSpillSlots()
2295 LastStore[FI] = Index; in optimizeSpillSlots()
2307 IndexType &LS = LastStore[I.first]; in optimizeSpillSlots()
2314 for (auto &I : LastStore) { in optimizeSpillSlots()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3713 auto &LastStore = StoreMI; in matchTruncStoreMerge() local
3718 if (!mi_match(LastStore.getPointerReg(), MRI, in matchTruncStoreMerge()
3720 BaseReg = LastStore.getPointerReg(); in matchTruncStoreMerge()
3724 GStore *LowestIdxStore = &LastStore; in matchTruncStoreMerge()
3728 auto LowestShiftAmt = getTruncStoreByteOffset(LastStore, WideSrcVal, MRI); in matchTruncStoreMerge()
3742 FoundStores.emplace_back(&LastStore); in matchTruncStoreMerge()
3752 for (auto II = ++LastStore.getReverseIterator(); in matchTruncStoreMerge()
3753 II != LastStore.getParent()->rend() && NumInstsChecked < MaxInstsToCheck; in matchTruncStoreMerge()
3803 const auto &DL = LastStore.getMF()->getDataLayout(); in matchTruncStoreMerge()
3804 auto &C = LastStore.getMF()->getFunction().getContext(); in matchTruncStoreMerge()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprCXX.cpp524 std::pair<CharUnits, CharUnits> LastStore = Stores.pop_back_val(); in EmitNullBaseClassInitialization() local
525 CharUnits LastStoreOffset = LastStore.first; in EmitNullBaseClassInitialization()
526 CharUnits LastStoreSize = LastStore.second; in EmitNullBaseClassInitialization()