LLVM
8.0.1
|
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) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< NameAnonGlobalPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Simple pass that provides a name to every anonymous globals.
Definition at line 24 of file NameAnonGlobals.h.
|
default |
PreservedAnalyses NameAnonGlobalPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 104 of file NameAnonGlobals.cpp.
References llvm::PreservedAnalyses::all(), INITIALIZE_PASS_BEGIN(), llvm::nameUnamedGlobals(), and llvm::PreservedAnalyses::none().