34 return (
Twine(Prefix) +
"." +
Twine((*NextID)++)).str();
47 if (!
I.hasName() && !
I.getType()->isVoidTy())
77 PIC.registerBeforeNonSkippedPassCallback(
79 PIC.registerAfterPassCallback(
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
Module.h This file contains the declarations for the Module class.
This header defines various interfaces for pass management in LLVM.
static void nameIRUnit(IRUnitRef IR, uint64_t &NextID)
static void nameInstructions(Function &F, uint64_t *NextID=nullptr)
Implements a lazy call graph analysis and related passes for the new pass manager.
Legalize the Machine IR a function s Machine IR
FunctionAnalysisManager FAM
PassInstrumentationCallbacks PIC
This file defines the Pass Instrumentation classes that provide instrumentation points into the pass ...
static StringRef getName(Value *V)
This class represents an incoming formal argument to a Function.
LLVM Basic Block Representation.
A type-erased reference to the IR unit a pass or analysis is running on, together with the kind of IR...
A node in the call graph.
A Module instance is used to store all the information related to an LLVM module.
This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass ...
A set of analyses that are preserved following a run of a transformation pass.
static PreservedAnalyses all()
Construct a special preserved set that preserves all passes.
Represent a constant reference to a string, i.e.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.
AnalysisManager< Function > FunctionAnalysisManager
Convenience typedef for the Function analysis manager.
static LLVM_ABI void registerCallbacks(PassInstrumentationCallbacks &PIC, uint64_t &NextID)
Register callbacks to name unnamed values around new-PM passes.
LLVM_ABI PreservedAnalyses run(Function &, FunctionAnalysisManager &)