/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_emit_gm107.cpp | 701 case FILE_GPR: in emitMOV() 768 case FILE_GPR: in emitF2F() 811 case FILE_GPR: in emitF2I() 853 case FILE_GPR: in emitI2F() 885 case FILE_GPR: in emitI2I() 928 case FILE_GPR: in emitSEL() 963 case FILE_GPR: in emitSHFL() 976 case FILE_GPR: in emitSHFL() 1009 case FILE_GPR: in emitDADD() 1042 case FILE_GPR: in emitDMUL() [all …]
|
D | nv50_ir_target_nv50.cpp | 153 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo() 156 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo() 203 case FILE_GPR: return 256; // in 16-bit units ** in getFileSize() 226 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit() 286 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad() 300 case FILE_GPR: in insnCanLoad()
|
D | nv50_ir_target_nvc0.cpp | 189 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo() 201 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo() 204 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo() 248 case FILE_GPR: return MIN2(gprs, smregs / threads); in getFileSize() 270 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE) in getFileUnit() 347 if (i->src(k).getFile() != FILE_GPR && in insnCanLoad()
|
D | nv50_ir_emit_nvc0.cpp | 419 case FILE_GPR: in emitForm_A() 456 case FILE_GPR: in emitForm_B() 501 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S() 522 assert(src.getFile() == FILE_GPR); in emitShortSrc2() 802 case FILE_GPR: in emitSHLADD() 1003 assert(i->src(0).getFile() == FILE_GPR); in emitSFnOp() 1553 if (i->src(0).getFile() == FILE_GPR) { in emitBAR() 1563 if (i->src(1).getFile() == FILE_GPR) { in emitBAR() 1583 if (i->def(0).getFile() == FILE_GPR) in emitBAR() 1589 if (i->def(1).getFile() == FILE_GPR) in emitBAR() [all …]
|
D | nv50_ir_emit_gk110.cpp | 381 case FILE_GPR: in emitForm_L() 409 case FILE_GPR: in emitForm_C() 451 case FILE_GPR: in emitForm_21() 806 case FILE_GPR: in emitSHLADD() 837 case FILE_GPR: in emitNOT() 1452 if (i->src(0).getFile() == FILE_GPR) { in emitBAR() 1462 if (i->src(1).getFile() == FILE_GPR) { in emitBAR() 1584 case FILE_GPR: in emitSHFL() 1599 case FILE_GPR: in emitSHFL() 1638 } else if (i->def(d).getFile() == FILE_GPR) { in emitVOTE() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 223 r63 = new_LValue(fn, FILE_GPR); in visit() 403 if (i->op != OP_SHL || i->src(0).getFile() != FILE_GPR) in isARL() 422 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) in handleAddrDef() 671 Value *arg = new_LValue(func, FILE_GPR); in visit() 685 Value *tmp = new_LValue(func, FILE_GPR); in loadTexMsInfo() 702 Value *off = new_LValue(func, FILE_ADDRESS), *t = new_LValue(func, FILE_GPR); in loadMsInfo() 751 Value *tx = new_LValue(func, FILE_GPR), *ty = new_LValue(func, FILE_GPR), in handleTEX() 778 LValue *src = new_LValue(func, FILE_GPR); in handleTEX() 792 a2d[c] = new_LValue(func, FILE_GPR); in handleTEX() 1277 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
|
D | nv50_ir_ra.cpp | 71 if (restrictedGPR16Range && f == FILE_GPR && regSize == 2) in getFileSize() 885 if (regs.restrictedGPR16Range && f == FILE_GPR && isShortRegVal(lval)) in init() 1435 if (lval->reg.file == FILE_GPR) in selectRegisters() 1469 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL && in allocateRegisters() 1476 insn->src(0).getFile() == FILE_GPR && in allocateRegisters() 1477 insn->src(1).getFile() == FILE_GPR && in allocateRegisters() 1478 insn->src(2).getFile() == FILE_GPR) in allocateRegisters() 1502 regs.reset(FILE_GPR, true); in allocateRegisters() 1507 prog->maxGPR = std::max(prog->maxGPR, regs.getMaxAssigned(FILE_GPR)); in allocateRegisters() 1635 st->setDef(d, new_LValue(func, FILE_GPR)); in spill() [all …]
|
D | nv50_ir_peephole.cpp | 197 if (insn->src(1).getFile() != FILE_GPR) in checkSwapSrc01() 1694 sub->src(0).getFile() != FILE_GPR || sub->src(0).mod || in handleABS() 1695 sub->src(1).getFile() != FILE_GPR || sub->src(1).mod) in handleABS() 1729 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD() 1815 if (src0 != src1 || src0->reg.file != FILE_GPR) in handleMINMAX() 1869 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleLOGOP() 2117 assert(insn->srcExists(0) && insn->src(0).getFile() == FILE_GPR); in handleSUCLAMP() 2140 if (add->src(s).getFile() != FILE_GPR || add->src(s).mod != Modifier(0)) in handleSUCLAMP() 2243 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD() 2751 if (st->getSrc(s)->reg.file != FILE_GPR) in replaceLdFromSt() [all …]
|
D | nv50_ir_build_util.h | 48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR); 50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
|
D | nv50_ir_build_util.cpp | 187 insn->setDef(0, new_LValue(func, FILE_GPR)); in mkMovToReg() 201 insn->setSrc(0, new_LValue(func, FILE_GPR)); in mkMovFromReg() 626 assert(hi->src(s).getFile() == FILE_GPR); in split64BitOpPostRA()
|
D | nv50_ir_emit_nv50.cpp | 365 case FILE_GPR: in setSrcFileBits() 470 unsigned int id = (reg->file == FILE_GPR) ? in setSrc() 757 assert(sf == FILE_GPR || df == FILE_GPR); in emitMOV() 2086 i->def(d).rep()->reg.file != FILE_GPR) in getMinEncodingSize() 2092 if (sf != FILE_GPR) in getMinEncodingSize()
|
D | nv50_ir_lowering_nvc0.cpp | 77 bld.mkClobber(FILE_GPR, (i->op == OP_DIV) ? 0xe : 0xd, 2); in handleDIV() 419 if (insn->def(d).getFile() != FILE_GPR || in findFirstUsesBB() 429 if (insn->src(s).getFile() != FILE_GPR || in findFirstUsesBB() 644 rZero = new_LValue(fn, FILE_GPR); in visit() 910 LValue *layer = new_LValue(func, FILE_GPR); in handleTEX() 947 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTEX() 1277 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTXQ() 1331 LValue *t = new_LValue(func, FILE_GPR); in handleTXLQ() 2651 Value *off = new_LValue(func, FILE_GPR); in handleRDSV() 2787 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
|
D | nv50_ir_inlines.h | 339 if (reg.file >= FILE_GPR && reg.file <= FILE_ADDRESS) in asLValue()
|
D | nv50_ir_lowering_gm107.cpp | 51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH()
|
D | nv50_ir_print.cpp | 404 case FILE_GPR: in print()
|
D | nv50_ir.h | 333 FILE_GPR, enumerator
|
D | nv50_ir_from_tgsi.cpp | 424 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile() 4303 tData.setup(TGSI_FILE_TEMPORARY, 0, 0, tSize, 4, 4, FILE_GPR, 0); in Converter() 4305 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_GPR, 0); in Converter() 4306 oData.setup(TGSI_FILE_OUTPUT, 0, 0, oSize, 4, 4, FILE_GPR, 0); in Converter()
|