LLVM 24.0.0git
llvm::InstructionNamerPass Struct Reference

#include "llvm/Transforms/Utils/InstructionNamer.h"

Inheritance diagram for llvm::InstructionNamerPass:
[legend]

Public Member Functions

LLVM_ABI PreservedAnalyses run (Function &, FunctionAnalysisManager &)
Public Member Functions inherited from llvm::detail::PassInfoMixin< InstructionNamerPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Static Public Member Functions

static LLVM_ABI void registerCallbacks (PassInstrumentationCallbacks &PIC, uint64_t &NextID)
 Register callbacks to name unnamed values around new-PM passes.
Static Public Member Functions inherited from llvm::OptionalPassInfoMixin< InstructionNamerPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< InstructionNamerPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed Description

Definition at line 18 of file InstructionNamer.h.

Member Function Documentation

◆ registerCallbacks()

void InstructionNamerPass::registerCallbacks ( PassInstrumentationCallbacks & PIC,
uint64_t & NextID )
static

Register callbacks to name unnamed values around new-PM passes.

NextID must outlive the registered callbacks.

Definition at line 73 of file InstructionNamer.cpp.

References IR, nameIRUnit(), and PIC.

Referenced by llvm::StandardInstrumentations::registerCallbacks().

◆ run()

PreservedAnalyses InstructionNamerPass::run ( Function & F,
FunctionAnalysisManager & FAM )

Definition at line 53 of file InstructionNamer.cpp.

References llvm::PreservedAnalyses::all(), F, FAM, and nameInstructions().


The documentation for this struct was generated from the following files: