14 #ifndef LLVM_ANALYSIS_STACKSAFETYANALYSIS_H 15 #define LLVM_ANALYSIS_STACKSAFETYANALYSIS_H 28 std::unique_ptr<FunctionInfo>
Info;
115 bool runOnModule(
Module &M)
override;
120 #endif // LLVM_ANALYSIS_STACKSAFETYANALYSIS_H This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
StackSafetyGlobalInfo Result
StackSafetyInfo & operator=(StackSafetyInfo &&)
StackSafetyGlobalPrinterPass(raw_ostream &OS)
A CRTP mix-in to automatically provide informational APIs needed for passes.
Describes uses of allocas and parameters inside of a single function.
This pass performs the global (interprocedural) stack safety analysis (legacy pass manager)...
Analysis containing CSE Info
const StackSafetyGlobalInfo & getResult() const
StackSafetyInfo wrapper for the new pass manager.
static bool runOnFunction(Function &F, bool PostInlining)
A set of analyses that are preserved following a run of a transformation pass.
Interface to access stack safety analysis results for single function.
A CRTP mix-in that provides informational APIs needed for analysis passes.
Represent the analysis usage information of a pass.
FunctionPass class - This class is used to implement most global optimizations.
This pass performs the global (interprocedural) stack safety analysis (new pass manager).
StackSafetyInfo wrapper for the legacy pass manager.
void print(raw_ostream &O) const
Printer pass for the StackSafetyAnalysis results.
std::map< const GlobalValue *, StackSafetyInfo > StackSafetyGlobalInfo
const StackSafetyInfo & getResult() const
Printer pass for the StackSafetyGlobalAnalysis results.
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
StackSafetyPrinterPass(raw_ostream &OS)
This class implements an extremely fast bulk output stream that can only output to a stream...
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.
A special type used by analysis passes to provide an address that identifies that particular analysis...