Searched refs:InternalizePass (Results 1 – 4 of 4) sorted by relevance
46 class InternalizePass : public ModulePass { class53 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 InternalizePass78 InternalizePass::InternalizePass(const std::vector<const char *>&exportList) in InternalizePass() function in InternalizePass87 void InternalizePass::LoadFile(const char *Filename) { in LoadFile()103 bool InternalizePass::runOnModule(Module &M) { in runOnModule()186 return new InternalizePass(AllButMain); in createInternalizePass()[all …]
37 class InternalizePass : public PassInfoMixin<InternalizePass> {55 InternalizePass();56 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) in InternalizePass() function74 return InternalizePass(std::move(MustPreserveGV))
92 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 InternalizePass242 PreservedAnalyses InternalizePass::run(Module &M, AnalysisManager<Module> &AM) { in run()
50 MODULE_PASS("internalize", InternalizePass())