Searched defs:MustPreserveGV (Results 1 - 3 of 3) sorted by relevance

/external/llvm/include/llvm/Transforms/IPO/
H A DInternalize.h36 /// must be preserved according to \c MustPreserveGV.
39 const std::function<bool(const GlobalValue &)> MustPreserveGV; member in class:llvm::InternalizePass
56 InternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV) argument
57 : MustPreserveGV(std::move(MustPreserveGV)) {}
72 std::function<bool(const GlobalValue &)> MustPreserveGV,
74 return InternalizePass(std::move(MustPreserveGV))
71 internalizeModule(Module &TheModule, std::function<bool(const GlobalValue &)> MustPreserveGV, CallGraph *CG = nullptr) argument
/external/llvm/lib/Transforms/IPO/
H A DInternalize.cpp113 return MustPreserveGV(GV);
240 InternalizePass::InternalizePass() : MustPreserveGV(PreserveAPIList()) {}
254 std::function<bool(const GlobalValue &)> MustPreserveGV; member in class:__anon14639::InternalizeLegacyPass
259 InternalizeLegacyPass() : ModulePass(ID), MustPreserveGV(PreserveAPIList()) {}
261 InternalizeLegacyPass(std::function<bool(const GlobalValue &)> MustPreserveGV) argument
262 : ModulePass(ID), MustPreserveGV(std::move(MustPreserveGV)) {
273 return internalizeModule(M, MustPreserveGV, CG);
292 std::function<bool(const GlobalValue &)> MustPreserveGV) {
293 return new InternalizeLegacyPass(std::move(MustPreserveGV));
291 createInternalizePass( std::function<bool(const GlobalValue &)> MustPreserveGV) argument
[all...]
H A DFunctionImport.cpp518 auto MustPreserveGV = [&](const GlobalValue &GV) -> bool { local
558 llvm::internalizeModule(TheModule, MustPreserveGV);

Completed in 205 milliseconds