/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 407 bld.mkOp1(OP_ABS, ty, a, div->getSrc(0)); in handleDIV() 408 bld.mkOp1(OP_ABS, ty, b, div->getSrc(1)); in handleDIV() 449 bld.mkOp1(OP_NEG, ty, s, q)->setPredicate(CC_S, cond); in handleDIV() 450 bld.mkOp1(OP_MOV, ty, t, q)->setPredicate(CC_NS, cond); in handleDIV() 647 Instruction *cond = bld.mkOp1(OP_UNION, TYPE_U32, bld.getScratch(), in handleTXB() 790 bld.mkOp1(OP_ABS, TYPE_S32, i->getDef(0), i->getDef(0)); in handleSET() 922 bld.mkOp1(OP_LOAD, TYPE_U16, x, in handleRDSV() 954 Instruction *rcp = bld.mkOp1(OP_RCP, i->dType, bld.getSSA(), i->getSrc(1)); in handleDIV() 963 Instruction *rsq = bld.mkOp1(OP_RSQ, TYPE_F32, in handleSQRT() 976 bld.mkOp1(OP_LG2, TYPE_F32, val, i->getSrc(0)); in handlePOW() [all …]
|
D | nv50_ir_from_tgsi.cpp | 1379 mkOp1(OP_SAT, dstTy, val, val); in storeDst() 1595 mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX() 1803 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction() 1808 mkOp1(OP_ABS, TYPE_F32, val0, src0); in handleInstruction() 1809 mkOp1(OP_RSQ, TYPE_F32, val0, val0); in handleInstruction() 1826 val0 = mkOp1(op, TYPE_F32, getScratch(), fetchSrc(0, 0))->getDef(0); in handleInstruction() 1828 mkOp1(OP_MOV, TYPE_F32, dst0[c], val0); in handleInstruction() 1834 mkOp1(OP_PRESIN, TYPE_F32, val0, fetchSrc(0, 0)); in handleInstruction() 1835 mkOp1(op, TYPE_F32, val0, val0); in handleInstruction() 1841 mkOp1(OP_PRESIN, TYPE_F32, val0, fetchSrc(0, 3)); in handleInstruction() [all …]
|
D | nv50_ir_from_sm4.cpp | 1205 mkOp1(OP_SAT, dTy, value, value); in saveDst() 1275 ld = mkOp1(OP_VFETCH, TYPE_U32, res, iSym(idx, swz)); in src() 1509 mkOp1(OP_RCP, TYPE_F32, dst0[c], dst0[c]); in emitTex() 1611 mkOp1(OP_RCP, TYPE_F32, val, val); in handleSAMPLE() 1850 mkOp1(op, dTy, dst0[c], src(0, c)); in handleInstruction() 1858 mkOp1(OP_FLOOR, TYPE_F32, val, src0); in handleInstruction() 1874 Instruction *rnd = mkOp1(op, dTy, dst0[c], src(0, c)); in handleInstruction() 1882 mkOp1(op, dTy, dst0[c], src(0, c)); in handleInstruction() 1891 mkOp1(OP_SIN, TYPE_F32, dst0[c], val); in handleInstruction() 1893 mkOp1(OP_COS, TYPE_F32, dst1[c], val); in handleInstruction() [all …]
|
D | nv50_ir_build_util.cpp | 66 BuildUtil::mkOp1(operation op, DataType ty, Value *dst, Value *src) in mkOp1() function in nv50_ir::BuildUtil 142 Instruction *insn = mkOp1(OP_VFETCH, ty, dst, sym); in mkFetch() 165 Instruction *insn = mkOp1(op, ty, dst, sym); in mkInterp() 300 insn = mkOp1(OP_SPLIT, fTy, h[0], val); in mkSplit()
|
D | nv50_ir_build_util.h | 53 Instruction *mkOp1(operation, DataType, Value *, Value *); 265 mkOp1(op, ty, dst, src); in mkOp1v()
|
D | nv50_ir_peephole.cpp | 747 bld.mkOp1(OP_NEG, TYPE_S32, i->getDef(0), tB); in opnd()
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 866 bld.mkOp1(OP_RDSV, TYPE_U32, laneid, bld.mkSysVal(SV_LANEID, 0)); in readTessCoord() 939 Instruction *rcp = bld.mkOp1(OP_RCP, i->dType, bld.getSSA(), i->getSrc(1)); in handleDIV() 951 bld.mkOp1(OP_RCP, TYPE_F32, value, i->getSrc(1)); in handleMOD() 953 bld.mkOp1(OP_TRUNC, TYPE_F32, value, value); in handleMOD() 963 Instruction *rsq = bld.mkOp1(OP_RSQ, TYPE_F32, in handleSQRT() 976 bld.mkOp1(OP_LG2, TYPE_F32, val, i->getSrc(0)); in handlePOW() 978 bld.mkOp1(OP_PREEX2, TYPE_F32, val, val); in handlePOW() 1071 bld.mkOp1(OP_PREEX2, TYPE_F32, i->getDef(0), i->getSrc(0)); in visit()
|