Lines Matching refs:Layer
54 GenericHandleImpl(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
55 : Layer(Layer), Handle(std::move(Handle)) {} in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
59 return Layer.findSymbolIn(Handle, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
62 void removeModule() override { return Layer.removeModuleSet(Handle); } in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
65 LayerT &Layer; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
71 createGenericHandle(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
72 return llvm::make_unique<GenericHandleImpl<LayerT>>(Layer, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
165 ModuleHandleT addIRModule(LayerT &Layer, Module *M, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
189 auto LH = Layer.addModuleSet(std::move(S), std::move(MemMgr), in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
191 ModuleHandleT H = createHandle(Layer, LH); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
240 unsigned createHandle(LayerT &Layer, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
246 GenericHandles[NewHandle] = createGenericHandle(Layer, std::move(Handle)); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
250 GenericHandles.push_back(createGenericHandle(Layer, std::move(Handle))); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()