Lines Matching refs:OptimizeLayer
63 IRTransformLayer<decltype(CompileLayer), OptimizeFunction> OptimizeLayer;
66 typedef decltype(OptimizeLayer)::ModuleSetHandleT ModuleHandle;
71 OptimizeLayer(CompileLayer,
82 our optimization function typedef in place we can declare our OptimizeLayer,
85 To initialize our OptimizeLayer we pass it a reference to the CompileLayer
95 if (auto Sym = OptimizeLayer.findSymbol(Name, false))
104 return OptimizeLayer.addModuleSet(std::move(Ms),
112 return OptimizeLayer.findSymbol(MangledNameStream.str(), true);
118 OptimizeLayer.removeModuleSet(H);
122 OptimizeLayer in our key methods: addModule, findSymbol, and removeModule. In
156 addModule the OptimizeLayer will call our optimizeModule function before passing
335 OptimizeLayer, at which point even a lazy transform layer will have to