Home
last modified time | relevance | path

Searched refs:InternalizePass (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInternalize.cpp46 class InternalizePass : public ModulePass { class
53 explicit InternalizePass(bool AllButMain = true);
54 explicit InternalizePass(const std::vector <const char *>& exportList);
65 char InternalizePass::ID = 0;
66 INITIALIZE_PASS(InternalizePass, "internalize",
69 InternalizePass::InternalizePass(bool AllButMain) in InternalizePass() function in InternalizePass
78 InternalizePass::InternalizePass(const std::vector<const char *>&exportList) in InternalizePass() function in InternalizePass
87 void InternalizePass::LoadFile(const char *Filename) { in LoadFile()
103 bool InternalizePass::runOnModule(Module &M) { in runOnModule()
186 return new InternalizePass(AllButMain); in createInternalizePass()
[all …]
/external/llvm/include/llvm/Transforms/IPO/
DInternalize.h37 class InternalizePass : public PassInfoMixin<InternalizePass> {
55 InternalizePass();
56 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizePass() function
74 return InternalizePass(std::move(MustPreserveGV))
/external/llvm/lib/Transforms/IPO/
DInternalize.cpp92 bool InternalizePass::shouldPreserveGV(const GlobalValue &GV) { in shouldPreserveGV()
116 bool InternalizePass::maybeInternalize( in maybeInternalize()
143 void InternalizePass::checkComdatVisibility( in checkComdatVisibility()
153 bool InternalizePass::internalizeModule(Module &M, CallGraph *CG) { in internalizeModule()
240 InternalizePass::InternalizePass() : MustPreserveGV(PreserveAPIList()) {} in InternalizePass() function in InternalizePass
242 PreservedAnalyses InternalizePass::run(Module &M, AnalysisManager<Module> &AM) { in run()
/external/llvm/lib/Passes/
DPassRegistry.def50 MODULE_PASS("internalize", InternalizePass())