LLVM 20.0.0git
|
Simple pass that provides a name to every anonymous globals. More...
#include "llvm/Transforms/Utils/NameAnonGlobals.h"
Public Member Functions | |
NameAnonGlobalPass ()=default | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< NameAnonGlobalPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< NameAnonGlobalPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Simple pass that provides a name to every anonymous globals.
Definition at line 22 of file NameAnonGlobals.h.
|
default |
|
inlinestatic |
Definition at line 28 of file NameAnonGlobals.h.
PreservedAnalyses NameAnonGlobalPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 82 of file NameAnonGlobals.cpp.
References llvm::PreservedAnalyses::all(), llvm::nameUnamedGlobals(), and llvm::PreservedAnalyses::none().