/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_build_util.h | 88 ImmediateValue *mkImm(float); 89 ImmediateValue *mkImm(uint32_t); 90 ImmediateValue *mkImm(uint64_t); 92 ImmediateValue *mkImm(int i) { return mkImm((uint32_t)i); } in mkImm() function
|
D | nv50_ir_build_util.cpp | 354 BuildUtil::mkImm(uint32_t u) in mkImm() function in nv50_ir::BuildUtil 370 BuildUtil::mkImm(uint64_t u) in mkImm() function in nv50_ir::BuildUtil 382 BuildUtil::mkImm(float f) in mkImm() function in nv50_ir::BuildUtil 389 return mkImm(u.u32); in mkImm() 395 return mkOp1v(OP_MOV, TYPE_F32, dst ? dst : getScratch(), mkImm(f)); in loadImm() 401 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm() 407 return mkOp1v(OP_MOV, TYPE_U64, dst ? dst : getScratch(8), mkImm(u)); in loadImm()
|
D | nv50_ir_lowering_nv50.cpp | 74 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 85 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL() 348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 415 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV() 908 bld.mkOp2(OP_AND, TYPE_U32, def, def, bld.mkImm(0x80000000)); in handleRDSV() 909 bld.mkOp2(OP_XOR, TYPE_U32, def, def, bld.mkImm(0xbf800000)); in handleRDSV() 917 bld.mkMov(def, bld.mkImm(1)); in handleRDSV() 919 bld.mkMov(def, bld.mkImm(0)); in handleRDSV() 929 bld.mkOp2(OP_AND, TYPE_U32, def, tid, bld.mkImm(0x0000ffff)); in handleRDSV() 931 bld.mkOp2(OP_AND, TYPE_U32, def, tid, bld.mkImm(0x03ff0000)); in handleRDSV() [all …]
|
D | nv50_ir_from_sm4.cpp | 1150 srcPtr[s][dim] = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getSrcPtr() 1167 index = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getDstPtr() 1185 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(idx), vtxBase[s]); in getVtxPtr() 1940 mkOp1(OP_RESTART, TYPE_U32, NULL, mkImm(0))->fixed = 1; in handleInstruction() 1944 mkOp1(OP_EMIT, TYPE_U32, NULL, mkImm(0))->fixed = 1; in handleInstruction() 1949 Instruction *cut = mkOp1(OP_EMIT, TYPE_U32, NULL, mkImm(0)); in handleInstruction()
|
D | nv50_ir_from_tgsi.cpp | 1251 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(index), rel); in getVertexBase() 1382 mkOp2(OP_MAX, dstTy, val, val, mkImm(-1.0f)); in storeDst() 1383 mkOp2(OP_MIN, dstTy, val, val, mkImm(+1.0f)); in storeDst() 1817 mkOp2(OP_SHL, TYPE_U32, dst0[c], dst0[c], mkImm(4)); in handleInstruction() 1822 mkOp2(OP_SHL, TYPE_U32, dst0[c], fetchSrc(0, c), mkImm(4)); in handleInstruction() 2067 mkImm(tgsi.getSrc(0).getValueU32(0, info)) : zero; in handleInstruction() 2337 zero = mkImm((uint32_t)0); in Converter()
|
D | nv50_ir_peephole.cpp | 686 i->setSrc(1, bld.mkImm(util_logbase2(imm0.reg.data.u32))); in opnd() 709 bld.mkOp2(OP_SHR, TYPE_U32, tA, tB, bld.mkImm(r)); in opnd() 715 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(0), tB, bld.mkImm(s)); in opnd() 739 bld.mkOp2(OP_SHR, TYPE_S32, tB, tA, bld.mkImm(l - 1)); in opnd() 743 bld.mkCmp(OP_SET, CC_LT, TYPE_S32, tA, i->getSrc(0), bld.mkImm(0)); in opnd()
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 724 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX() 728 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX() 912 bld.mkOp2(OP_AND, TYPE_U32, face, face, bld.mkImm(0x80000000)); in handleRDSV() 913 bld.mkOp2(OP_XOR, TYPE_U32, face, face, bld.mkImm(0xbf800000)); in handleRDSV() 923 vtx = bld.mkOp1v(OP_PFETCH, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV() 1041 bld.mkCmp(OP_SET, CC_NEU, TYPE_U32, pdst, bld.mkImm(0), pred); in checkPredicate()
|