A CRTP mix‐in for passes that should not be skipped.
Synopsis
Declared in <llvm/IR/PassManager.h>
template<typename DerivedT>
struct RequiredPassInfoMixin;
Member Functions
Name |
Description |
Print this pass as a single name in a textual pipeline. |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Derived Classes
Name |
Description |
Pass that adds DWARF path discriminators to the IR. |
|
Public interface to the address sanitizer module pass for instrumenting code to check for various memory errors. |
|
Printer pass for |
|
A module pass that rewrites heap allocations to use token‐enabled allocation functions based on various source‐level properties. |
|
Inlines functions marked as "always_inline". |
|
A pass that emits optimization remarks for instructions with !annotation. |
|
Module pass that assigns a globally unique identifier to every global value. |
|
Printer pass for the |
|
New PM pass that expands atomic instructions for the target. |
|
Pass for writing a module of IR out to a bitcode file. |
|
Printer pass for the |
|
A pass to instrument code and perform run‐time bounds checking on loads, stores, and other memory intrinsics. |
|
Printer pass for the |
|
New PM pass that relaxes out‐of‐range machine branches. |
|
Pass that writes a function CFG to a DOT file without block bodies. |
|
Pass that displays a function CFG in a Graphviz viewer without block bodies. |
|
Pass that writes a function CFG to a DOT file. |
|
Printer pass for strongly connected components of a function CFG. |
|
Pass that displays a function CFG in a Graphviz viewer. |
|
New PM pass that inserts CFI remember/restore instructions. |
|
New PM pass that inserts correcting CFI instructions. |
|
Adaptor that maps from a SCC to its functions. |
|
Pass for printing the call graph to a dot file |
|
Printer pass for the |
|
Printer pass for the summarized |
|
Pass for viewing the call graph |
|
New PM pass that checks Machine IR debug info after mir‐debugify. |
|
Early‐stage pass that instruments special member functions to call into the CopyProf runtime. |
|
Late‐stage pass that instruments store instructions to detect whether an object copy has been modified before it is destructed. |
|
Pass that lowers all remaining coroutine intrinsics. |
|
Module pass that runs nested passes only when the module declares coroutine intrinsics. |
|
Pass that lowers early coroutine intrinsics. |
|
Pass that replaces dynamic coroutine frame allocation with alloca. |
|
Pass that builds the coroutine frame and outlines resume and destroy functions. |
|
Printer pass for cost modeling results. |
|
Printer pass for the |
|
Printer pass for the |
|
Verifier pass for the |
|
Textual printer pass for the DDG of a loop. |
|
Pass that writes the data‐dependence graph of a loop as DOT. |
|
Pass mixin that writes an analysis graph for a function to a DOT file. |
|
Pass mixin that displays an analysis graph for a function in a viewer. |
|
Printer pass for the |
|
Printer pass for the |
|
Module pass that instruments code for dynamic data‐flow analysis (DFSan). |
|
Printer pass for |
|
Printer pass that delinearizes memory accesses in a function. |
|
Printer pass for DemandedBits |
|
Printer pass to dump DA results. |
|
Pass that detects dead and undefined subregister lanes in a machine function. |
|
Printer pass for the |
|
Printer pass for the |
|
Verifier pass for the |
|
Pass that drops type‐test intrinsics and related uses. |
|
New PM pass that prepares DWARF exception handling for code generation. |
|
New PM pass that records Windows EH Continuation Guard targets. |
|
Pass embeds a copy of the module optimized with the provided pass pipeline into a global variable. |
|
Pass that instruments function entry and exit with profiling hooks. |
|
New PM pass that expands certain IR instructions for the target. |
|
New PM pass that expands post‐RA pseudo instructions. |
|
New PM pass that expands reduction intrinsics for the target. |
|
Pass that expands variadic functions into fixed‐arity equivalents. |
|
A pass manager that runs extra function passes when a marker analysis is present. |
|
A pass manager that runs extra loop passes when a marker analysis is present. |
|
New PM pass that inserts fentry calls into function prologues. |
|
Pass that cleans up IR for the FatLTO pipeline. |
|
New PM test pass that finalizes a bundle for each basic block. |
|
New PM pass that finalizes ISel and expands pseudo‐instructions. |
|
Pass that converts irreducible control‐flow into natural loops. |
|
Pass that explicitly frees the MachineFunction for a function. |
|
New PM pass that lays out funclets contiguously. |
|
Printer pass for the FunctionPropertiesAnalysis results. |
|
Statistics pass for the FunctionPropertiesAnalysis results. |
|
Adaptor that maps from a function to its loops. |
|
Trivial adaptor that maps from a function to its machine function. |
|
Pass that lowers GC read/write intrinsics and initializes roots. |
|
Printer pass for GISelValueTracking analysis results. |
|
This is a public interface to the hardware address sanitizer. |
|
Printer pass for the HashRecognize analysis. |
|
Pass that keeps only functions reachable from HIPSTDPAR kernels. |
|
Pass that redirects allocations to accelerator‐accessible runtime APIs. |
|
Pass that rewrites math calls through the HIPSTDPAR forwarding layer. |
|
This pass prints the IR2Vec embeddings for instructions, basic blocks, and functions. |
|
This pass prints the embeddings in the vocabulary |
|
New PM pass that translates LLVM IR into MachineInstr for GlobalISel. |
|
Printer pass for the |
|
New PM pass that expands |
|
New PM pass that initializes undef values with temporary pseudos. |
|
Printer pass for the InlineAdvisorAnalysis results. |
|
New PM pass that prepares inline asm for SelectionDAG codegen. |
|
Pass that prints per‐instruction inline cost annotations for debugging. |
|
Pass that counts instructions and reports them as statistics. |
|
New PM pass that selects generic machine instructions to target instructions. |
|
The Instrumentor pass. |
|
A no‐op pass template which simply forces a specific analysis result to be invalidated. |
|
New PM pass that instruments functions for Just My Code debugging. |
|
A pass that emits generic KCFI indirect call checks for targets that do not lower KCFI operand bundles in the back‐end. |
|
Pass that emits optimization remarks about GPU kernel function properties. |
|
A pass which prints the call graph as a DOT file to a |
|
A pass which prints the call graph to a |
|
Printer pass for the LazyValueAnalysis results. |
|
New PM pass that legalizes generic machine instructions for GlobalISel. |
|
Function pass that lints IR for undefined or unintended behavior. |
|
New PM pass that extends variable debug locations across basic blocks. |
|
Printer pass for the |
|
Printer pass for the |
|
Printer pass for the |
|
Printer pass for the |
|
New PM pass that merges consecutive GlobalISel loads and stores. |
|
New PM pass that pre‐allocates local frame indices to stack slots. |
|
New PM pass that localizes constant‐like instructions near their uses. |
|
Printer pass for the |
|
Printer pass for the |
|
Printer pass for the |
|
Printer pass for the |
|
Verifier pass for the |
|
Pass that lowers allow‐check intrinsics to remove optional traps from hot code. |
|
A pass that lowers atomic intrinsic into non‐atomic intrinsics. |
|
Pass that lowers loadtime comment string metadata for supported targets. |
|
New PM pass that adds |
|
Pass that converts invoke instructions to call instructions. |
|
Pass that lowers matrix intrinsics to vector operations. |
|
Pass that rewrites switch instructions as a sequence of branches. |
|
Pass that lowers type metadata and type‐test intrinsics. |
|
Printer pass for the |
|
Printer pass for the |
|
New PM pass that collects statistics about basic block placement. |
|
Printer pass for the |
|
Pass that writes a machine function CFG to a DOT file. |
|
New PM pass that combines machine instructions to shorten critical paths. |
|
Printer pass for the |
|
Machine function pass which print |
|
New PM pass that implements kernel control‐flow integrity. |
|
Printer pass for the |
|
Machine function pass which prints |
|
Printer pass for the |
|
New PM pass that finalizes sanitizer binary metadata for a machine function. |
|
Verifier pass for |
|
Printer pass for the |
|
New PM pass that verifies the integrity of machine code. |
|
Printer pass for whether values are known dereferenceable pointers. |
|
Public interface to the memory profiler pass for instrumenting code to profile memory accesses. |
|
Printer pass for |
|
Verifier pass for |
|
Printer pass for |
|
A module pass for msan instrumentation. |
|
Module‐level pass that inserts the CopyProf runtime initialization constructor and hooks it into llvm.global_ctors. |
|
Printer pass for module‐level debug info metadata. |
|
Public interface to the memory profiler module pass for instrumenting code to profile memory allocations and accesses. |
|
A module pass for tsan instrumentation. |
|
Trivial adaptor that maps from a module to its functions. |
|
The core module pass which does a post‐order walk of the SCCs and runs a CGSCC pass over each one. |
|
Printer pass for must‐be‐executed contexts. |
|
Printer pass for the must‐execute analysis. |
|
Simple pass that provides a name to every anonymous globals. |
|
A function pass for nsan instrumentation. |
|
New PM pass that eliminates machine instruction PHI nodes by inserting copies. |
|
Manages and runs a sequence of passes over a particular unit of IR. |
|
|
Specialized pass manager that runs a mixed pipeline of loop and loop‐nest passes over a loop nest. |
|
|
New PM pass that inserts patchable prologue markers for the "patchable‐function" and "patchable‐function‐entry" attributes. |
|
A pass for printing the PhiValues for a function. |
|
Printer pass for the PhysicalRegisterUsageAnalysis results. |
|
Printer pass for the |
|
New PM pass that runs the post‐RA hazard recognizer and emits noops. |
|
Pass that lowers selected intrinsics before instruction selection. |
|
Printer pass for |
|
Verifier pass for |
|
Pass (for the new pass manager) for printing a Function as LLVM's text IR assembly. |
|
Pass for printing a loop's contents as textual IR. |
|
Pass that prints a machine function in the MIR serialization format. |
|
Pass that prints LLVM IR of a module in the MIR serialization format. |
|
Pass (for the new pass manager) for printing a Module as LLVM's text IR assembly. |
|
New PM pass that processes IMPLICIT_DEF instructions. |
|
Printer pass that uses |
|
New PM pass that inserts function prologs and epilogs. |
|
Printer pass for the |
|
Create ctor and init functions. |
|
New PM pass that performs fast (local) register allocation. |
|
New PM pass that assigns register banks to generic virtual registers. |
|
New PM pass that collects physical register usage for IPRA. |
|
New PM pass that propagates callee register usage masks onto call sites. |
|
Printer pass for the |
|
Verifier pass for the |
|
New PM pass that coalesces copy‐related virtual registers. |
|
New PM pass that removes redundant DBG_VALUE instructions. |
|
New PM pass that renames independently used subregisters. |
|
New PM pass that replaces vector intrinsics with vector‐library calls. |
|
A utility pass template to force an analysis result to be available. |
|
An explicit specialization of the require analysis template pass. |
|
Printer pass that shows SCEVDivision results for signed divides in a function. |
|
New PM pass that splits the stack into a safe stack and an unsafe stack. |
|
Create an instance of the safepoint verifier pass which can be added to a pass pipeline to check for relocation bugs. |
|
The pass should be inserted after optimizations. |
|
Module pass that instruments functions for SanitizerCoverage. |
|
Printer pass for the |
|
Verifier pass for the |
|
Pass that scalarizes masked memory intrinsics unsupported by the target. |
|
New pass‐manager wrapper that runs SelectionDAG instruction selection. |
|
New PM pass that implements the custom lowering used by the shadow stack GC. |
|
New PM pass that prepares setjmp/longjmp exception handling for code generation. |
|
Printer pass for the SlotIndexes analysis. |
|
New PM pass that merges disjoint stack slots to reduce frame size. |
|
New PM pass that dumps the stack frame layout via remarks. |
|
Printer pass for testing. |
|
New PM pass that inserts stack protectors into functions that need them. |
|
Printer pass for the |
|
Printer pass for the |
|
New PM pass that strips debug info from Machine IR in a module. |
|
Printer pass for StructuralHashes |
|
Pass that transforms regions into structured control flow. |
|
Pass that prepares a module for ThinLTO and writes bitcode. |
|
A function pass for tsan instrumentation. |
|
New PM pass that rewrites two‐address instructions to use tied operands. |
|
A module pass for tysan instrumentation. |
|
Printer pass for the |
|
Pass that redirects each natural loop's exiting edges through one block. |
|
New PM pass that unpacks machine instruction bundles. |
|
New PM pass that deletes IR basic blocks unreachable from the entry node. |
|
New PM pass that deletes machine basic blocks unreachable from the entry. |
|
New pass manager pass that verifies IR and optionally aborts on failure. |
|
Printer pass for the |
|
Pass that rewrites virtual registers to physical registers via VirtRegMap. |
|
New PM pass that prepares WebAssembly exception handling for code generation. |
|
New PM pass that prepares Windows exception handling for code generation. |
|
New PM pass that inserts XRay instrumentation into machine functions. |
Created with MrDocs