18 #ifndef LLVM_TRANSFORMS_IPO_GLOBALDCE_H
19 #define LLVM_TRANSFORMS_IPO_GLOBALDCE_H
23 #include <unordered_map>
35 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;
40 void MarkUsedGlobalsAsNeeded(
Constant *
C);
46 #endif // LLVM_TRANSFORMS_IPO_GLOBALDCE_H
A Module instance is used to store all the information related to an LLVM module. ...
A CRTP mix-in to automatically provide informational APIs needed for passes.
Pass to remove unused function declarations.
A set of analyses that are preserved following a run of a transformation pass.
This is an important base class in LLVM.
SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements...
Module.h This file contains the declarations for the Module class.
static GCRegistry::Add< ShadowStackGC > C("shadow-stack","Very portable GC for uncooperative code generators")
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &)