Home
last modified time | relevance | path

Searched refs:GVsM (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h296 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule() local
298 GVsM->setDataLayout(DL); in addLogicalModule()
305 cloneGlobalVariableDecl(*GVsM, GV, &VMap); in addLogicalModule()
310 cloneGlobalAliasDecl(*GVsM, A, VMap); in addLogicalModule()
317 [this, &GVsM, &LMResources](Value *V) -> Value* { in addLogicalModule()
321 return cloneFunctionDecl(*GVsM, *F); in addLogicalModule()
326 const DataLayout &DL = GVsM->getDataLayout(); in addLogicalModule()
331 ConstantInt::get(GVsM->getContext(), in addLogicalModule()
338 Init, GVsM.get()); in addLogicalModule()
372 auto GVsH = LD.getDylibResources().ModuleAdder(BaseLayer, std::move(GVsM), in addLogicalModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h422 auto GVsM = llvm::make_unique<Module>((SrcM.getName() + ".globals").str(), in addLogicalModule() local
424 GVsM->setDataLayout(DL); in addLogicalModule()
431 cloneGlobalVariableDecl(*GVsM, GV, &VMap); in addLogicalModule()
436 cloneGlobalAliasDecl(*GVsM, A, VMap); in addLogicalModule()
439 cloneModuleFlagsMetadata(*GVsM, SrcM, VMap); in addLogicalModule()
446 [&LD, &GVsM](Value *V) -> Value* { in addLogicalModule()
450 return cloneFunctionDecl(*GVsM, *F); in addLogicalModule()
455 const DataLayout &DL = GVsM->getDataLayout(); in addLogicalModule()
462 ConstantInt::get(GVsM->getContext(), APInt(PtrBitWidth, StubAddr)); in addLogicalModule()
468 Init, GVsM.get()); in addLogicalModule()
[all …]