Home
last modified time | relevance | path

Searched refs:mpCurrentModule (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_builder.hpp59 …Function* pFunc = cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("meta.intrinsic.${func…
61 …Function* pFunc = cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("meta.intrinsic.${func…
70 …Function* pFunc = Intrinsic::getDeclaration(JM()->mpCurrentModule, Intrinsic::${func['intrin']}, a…
73 … Function* pFunc = Intrinsic::getDeclaration(JM()->mpCurrentModule, Intrinsic::${func['intrin']});
Dgen_llvm.hpp48 StructType* pRetType = pJitMgr->mpCurrentModule->getTypeByName("${type['name']}");
61 llvm::DIBuilder builder(*pJitMgr->mpCurrentModule);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.cpp66 mpCurrentModule = nullptr; in JitManager()
217 mpCurrentModule = newModule.get(); in SetupNewModule()
218 mpCurrentModule->setTargetTriple(sys::getProcessTriple()); in SetupNewModule()
231 DIBuilder builder(*mpCurrentModule); in CreateDebugStructType()
233 DataLayout DL = DataLayout(mpCurrentModule); in CreateDebugStructType()
272 DIBuilder builder(*mpCurrentModule); in GetDebugArrayType()
273 DataLayout DL = DataLayout(mpCurrentModule); in GetDebugArrayType()
287 DIBuilder builder(*mpCurrentModule); in GetDebugType()
337 DIBuilder builder(*mpCurrentModule); in GetDebugFunctionType()
353 DIBuilder builder(*mpCurrentModule); in GetDebugIntegerType()
[all …]
Dbuilder.h135 llvm::NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getOrInsertNamedMetadata(s); in SetMetadata()
137 llvm::MDNode* mdNode = llvm::MDNode::get(mpJitMgr->mpCurrentModule->getContext(), in SetMetadata()
150 NamedMDNode* metaData = mpJitMgr->mpCurrentModule->getNamedMetadata(s); in GetMetadata()
Dbuilder_misc.cpp503 JM()->mpCurrentModule->getGlobalList().push_back(gvPtr); in PRINT()
518 … cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("CallPrint", callPrintTy).getCallee()); in PRINT()
520 cast<Function>(JM()->mpCurrentModule->getOrInsertFunction("CallPrint", callPrintTy)); in PRINT()
716 … JM()->mpCurrentModule->getOrInsertFunction("ConvertFloat32ToFloat16", pFuncTy).getCallee()); in CVTPS2PH()
718 JM()->mpCurrentModule->getOrInsertFunction("ConvertFloat32ToFloat16", pFuncTy)); in CVTPS2PH()
1029 … JM()->mpCurrentModule->getOrInsertFunction("BucketManager_StartBucket", pFuncTy).getCallee()); in RDTSC_START()
1031 JM()->mpCurrentModule->getOrInsertFunction("BucketManager_StartBucket", pFuncTy)); in RDTSC_START()
1058 … JM()->mpCurrentModule->getOrInsertFunction("BucketManager_StopBucket", pFuncTy).getCallee()); in RDTSC_STOP()
1060 JM()->mpCurrentModule->getOrInsertFunction("BucketManager_StopBucket", pFuncTy)); in RDTSC_STOP()
Dstreamout_jit.cpp274 fTy, GlobalValue::ExternalLinkage, fnName.str(), JM()->mpCurrentModule); in Create()
308 ::FunctionPassManager passes(JM()->mpCurrentModule); in Create()
Dbuilder_gfx_mem.cpp233 DataLayout dataLayout(JM()->mpCurrentModule); in TrackerHelper()
240 DataLayout dataLayout(JM()->mpCurrentModule); in TrackerHelper()
DJitManager.h152 llvm::Module* mpCurrentModule; member
Dfetch_jit.cpp125 JM()->mFetchShaderTy, GlobalValue::ExternalLinkage, fnName.str(), JM()->mpCurrentModule); in Create()
282 ::FunctionPassManager setupPasses(JM()->mpCurrentModule); in Create()
294 ::FunctionPassManager optPasses(JM()->mpCurrentModule); in Create()
1246 DataLayout dL(JM()->mpCurrentModule); in GetSimdValid32bitIndices()
Dblend_jit.cpp580 fTy, GlobalValue::ExternalLinkage, fnName.str(), JM()->mpCurrentModule); in Create()
864 ::FunctionPassManager passes(JM()->mpCurrentModule); in Create()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/functionpasses/
Dlower_x86.cpp222 … B->JM()->mpCurrentModule->getOrInsertFunction("ScatterPS_256", pfnScatterTy).getCallee()); in LowerX86()
224 B->JM()->mpCurrentModule->getOrInsertFunction("ScatterPS_256", pfnScatterTy)); in LowerX86()
354 Function* pIntrin = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, id); in ProcessIntrinsicAdvanced()
409 Intrinsic::getDeclaration(B->JM()->mpCurrentModule, x86Intrinsic); in ProcessIntrinsic()
586 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
591 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
596 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
687 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
693 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
699 pX86IntrinFunc = Intrinsic::getDeclaration(B->JM()->mpCurrentModule, in VGATHER_EMU()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp331 pJitMgr->mpCurrentModule = unwrap(gallivm->module); in BuilderSWR()
1555 JM()->mpCurrentModule); in CompileGS()
1782 JM()->mpCurrentModule); in CompileTES()
2083 JM()->mpCurrentModule); in CompileTCS()
2339 JM()->mpCurrentModule); in CompileVS()
2644 JM()->mpCurrentModule); in CompileFS()
3013 llvm::legacy::FunctionPassManager lowerPass(JM()->mpCurrentModule); in CompileFS()