Home
last modified time | relevance | path

Searched refs:StackLifetime (Results 1 – 11 of 11) sorted by relevance

/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp34 const StackLifetime::LiveRange &
35 StackLifetime::getLiveRange(const AllocaInst *AI) const { in getLiveRange()
41 bool StackLifetime::isReachable(const Instruction *I) const { in isReachable()
45 bool StackLifetime::isAliveAfter(const AllocaInst *AI, in isAliveAfter()
85 void StackLifetime::collectMarkers() { in collectMarkers()
174 void StackLifetime::calculateLocalLiveness() { in calculateLocalLiveness()
244 void StackLifetime::calculateLiveIntervals() { in calculateLiveIntervals()
292 LLVM_DUMP_METHOD void StackLifetime::dumpAllocas() const { in dumpAllocas()
298 LLVM_DUMP_METHOD void StackLifetime::dumpBlockLiveness() const { in dumpBlockLiveness()
311 LLVM_DUMP_METHOD void StackLifetime::dumpLiveRanges() const { in dumpLiveRanges()
[all …]
H A DCMakeLists.txt129 StackLifetime.cpp
H A DStackSafetyAnalysis.cpp18 #include "llvm/Analysis/StackLifetime.h"
262 const StackLifetime &SL);
417 const StackLifetime &SL) { in analyzeAllUses()
564 StackLifetime SL(F, Allocas, StackLifetime::LivenessType::Must); in run()
/llvm-project/llvm/include/llvm/Analysis/
H A DStackLifetime.h37 class StackLifetime {
66 const StackLifetime::LiveRange &R);
135 StackLifetime(const Function &F, ArrayRef<const AllocaInst *> Allocas,
179 const StackLifetime::LiveRange &R) {
186 StackLifetime::LivenessType Type;
190 StackLifetimePrinterPass(raw_ostream &OS, StackLifetime::LivenessType Type) in StackLifetimePrinterPass()
/llvm-project/llvm/lib/CodeGen/
H A DSafeStackLayout.h31 StackLifetime::LiveRange Range;
34 const StackLifetime::LiveRange &Range) in StackRegion()
45 StackLifetime::LiveRange Range;
61 const StackLifetime::LiveRange &Range);
H A DSafeStackLayout.cpp40 const StackLifetime::LiveRange &Range) { in addObject()
98 Regions.emplace_back(LastRegionEnd, Start, StackLifetime::LiveRange(0)); in layoutObject()
H A DSafeStack.cpp31 #include "llvm/Analysis/StackLifetime.h"
495 StackLifetime SSC(F, StaticAllocas, StackLifetime::LivenessType::May); in moveStaticAllocasToUnsafeStack()
496 static const StackLifetime::LiveRange NoColoringRange(1, true); in moveStaticAllocasToUnsafeStack()
/llvm-project/llvm/utils/gn/secondary/llvm/lib/Analysis/
H A DBUILD.gn119 "StackLifetime.cpp",
/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp73 #include "llvm/Analysis/StackLifetime.h"
1190 Expected<StackLifetime::LivenessType> in parseRegAllocFastPassOptions()
1192 StackLifetime::LivenessType Result = StackLifetime::LivenessType::May; in parseRegAllocFastPassOptions()
1198 Result = StackLifetime::LivenessType::May;
1200 Result = StackLifetime::LivenessType::Must;
1203 formatv("invalid StackLifetime parameter '{0}' ", ParamName).str(), in startsWithDefaultPipelineAliasPrefix()
H A DPassRegistry.def584 [](StackLifetime::LivenessType Type) {
/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp21 #include "llvm/Analysis/StackLifetime.h"
228 /// This function use StackLifetime algorithm to partition the AllocaInsts in
392 StackLifetime StackLifetimeAnalyzer(F, ExtractAllocas(), in addNode()
393 StackLifetime::LivenessType::May); in addNode()