Lines Matching refs:JM
330 gallivm = gallivm_create(pName, wrap(&JM()->mContext), NULL); in BuilderSWR()
1543 attrBuilder.addStackAlignmentAttr(JM()->mVWidth * sizeof(float)); in CompileGS()
1545 std::vector<Type *> gsArgs{PointerType::get(Gen_swr_draw_context(JM()), 0), in CompileGS()
1547 PointerType::get(Gen_SWR_GS_CONTEXT(JM()), 0)}; in CompileGS()
1549 FunctionType::get(Type::getVoidTy(JM()->mContext), gsArgs, false); in CompileGS()
1555 JM()->mpCurrentModule); in CompileGS()
1558 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileGS()
1564 BasicBlock *block = BasicBlock::Create(JM()->mContext, "entry", pFunction); in CompileGS()
1678 JM()->mIsModuleFinalized = true; in CompileGS()
1770 attrBuilder.addStackAlignmentAttr(JM()->mVWidth * sizeof(float)); in CompileTES()
1772 std::vector<Type *> tesArgs{PointerType::get(Gen_swr_draw_context(JM()), 0), in CompileTES()
1774 PointerType::get(Gen_SWR_DS_CONTEXT(JM()), 0)}; in CompileTES()
1776 FunctionType::get(Type::getVoidTy(JM()->mContext), tesArgs, false); in CompileTES()
1782 JM()->mpCurrentModule); in CompileTES()
1786 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileTES()
1792 BasicBlock *block = BasicBlock::Create(JM()->mContext, "entry", pFunction); in CompileTES()
2029 JM()->DumpToFile(pFunction, "src"); in CompileTES()
2033 JM()->DumpToFile(pFunction, "optimized"); in CompileTES()
2041 JM()->DumpAsm(pFunction, "asm"); in CompileTES()
2043 JM()->mIsModuleFinalized = true; in CompileTES()
2070 attrBuilder.addStackAlignmentAttr(JM()->mVWidth * sizeof(float)); in CompileTCS()
2073 PointerType::get(Gen_swr_draw_context(JM()), 0), in CompileTCS()
2075 PointerType::get(Gen_SWR_HS_CONTEXT(JM()), 0)}; in CompileTCS()
2077 FunctionType::get(Type::getVoidTy(JM()->mContext), tcsArgs, false); in CompileTCS()
2083 JM()->mpCurrentModule); in CompileTCS()
2087 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileTCS()
2093 BasicBlock *block = BasicBlock::Create(JM()->mContext, "entry", pFunction); in CompileTCS()
2237 JM()->DumpToFile(pFunction, "src"); in CompileTCS()
2240 JM()->DumpToFile(pFunction, "optimized"); in CompileTCS()
2247 JM()->DumpAsm(pFunction, "asm"); in CompileTCS()
2249 JM()->mIsModuleFinalized = true; in CompileTCS()
2327 attrBuilder.addStackAlignmentAttr(JM()->mVWidth * sizeof(float)); in CompileVS()
2329 std::vector<Type *> vsArgs{PointerType::get(Gen_swr_draw_context(JM()), 0), in CompileVS()
2331 PointerType::get(Gen_SWR_VS_CONTEXT(JM()), 0)}; in CompileVS()
2333 FunctionType::get(Type::getVoidTy(JM()->mContext), vsArgs, false); in CompileVS()
2339 JM()->mpCurrentModule); in CompileVS()
2342 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileVS()
2348 BasicBlock *block = BasicBlock::Create(JM()->mContext, "entry", pFunction); in CompileVS()
2369 vtxInput = BITCAST(vtxInput, PointerType::get(Gen_simd16vertex(JM()), 0)); in CompileVS()
2424 vtxOutput = BITCAST(vtxOutput, PointerType::get(Gen_simd16vertex(JM()), 0)); in CompileVS()
2537 JM()->DumpToFile(pFunction, "vs_function1"); in CompileVS()
2540 JM()->DumpToFile(pFunction, "vs_function2"); in CompileVS()
2547 JM()->DumpAsm(pFunction, "vs_function_asm"); in CompileVS()
2551 JM()->mIsModuleFinalized = true; in CompileVS()
2633 attrBuilder.addStackAlignmentAttr(JM()->mVWidth * sizeof(float)); in CompileFS()
2635 std::vector<Type *> fsArgs{PointerType::get(Gen_swr_draw_context(JM()), 0), in CompileFS()
2637 PointerType::get(Gen_SWR_PS_CONTEXT(JM()), 0)}; in CompileFS()
2639 FunctionType::get(Type::getVoidTy(JM()->mContext), fsArgs, false); in CompileFS()
2644 JM()->mpCurrentModule); in CompileFS()
2647 JM()->mContext, AttributeSet::FunctionIndex, attrBuilder); in CompileFS()
2653 BasicBlock *block = BasicBlock::Create(JM()->mContext, "entry", pFunction); in CompileFS()
2735 ff = VECTOR_SPLAT(JM()->mVWidth, ff, "vFrontFace"); in CompileFS()
2757 ff = VECTOR_SPLAT(JM()->mVWidth, ff, "vRenderTargetArrayIndex"); in CompileFS()
2765 ff = VECTOR_SPLAT(JM()->mVWidth, ff, "vViewportIndex"); in CompileFS()
3013 llvm::legacy::FunctionPassManager lowerPass(JM()->mpCurrentModule); in CompileFS()
3022 JM()->mIsModuleFinalized = true; in CompileFS()