/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_emit_gm107.cpp | 731 case FILE_GPR: in emitMOV() 806 case FILE_GPR: in emitF2F() 849 case FILE_GPR: in emitF2I() 891 case FILE_GPR: in emitI2F() 923 case FILE_GPR: in emitI2I() 975 case FILE_GPR: in emitSEL() 1010 case FILE_GPR: in emitSHFL() 1023 case FILE_GPR: in emitSHFL() 1056 case FILE_GPR: in emitDADD() 1089 case FILE_GPR: in emitDMUL() [all …]
|
D | nv50_ir_emit_gv100.cpp | 108 switch ((src1 < 0) ? FILE_GPR : insn->src(src1 & FA_SRC_MASK).getFile()) { in emitFormA() 109 case FILE_GPR: in emitFormA() 110 switch ((src2 < 0) ? FILE_GPR : insn->src(src2 & FA_SRC_MASK).getFile()) { in emitFormA() 111 case FILE_GPR: in emitFormA() 129 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA() 134 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA() 144 assert(insn->src(src0 & FA_SRC_MASK).getFile() == FILE_GPR); in emitFormA() 300 case FILE_GPR: in emitMOV() 302 case FILE_GPR: in emitMOV() 341 case FILE_GPR: in emitMOV() [all …]
|
D | nv50_ir_target_gv100.cpp | 50 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo() 63 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo() 66 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo() 92 #define SRC_R (1 << FILE_GPR) 490 if ((s == 1 && i->srcExists(2) && i->src(2).getFile() != FILE_GPR) || in insnCanLoad() 491 (s == 2 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR)) { in insnCanLoad() 496 ((s == 0 && i->srcExists(1) && i->src(1).getFile() != FILE_GPR) || in insnCanLoad() 497 (s == 1 && i->srcExists(0) && i->src(0).getFile() != FILE_GPR))) { in insnCanLoad()
|
D | nv50_ir_target_nv50.cpp | 152 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo() 155 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo() 206 case FILE_GPR: return 254; // in 16-bit units ** in getFileSize() 230 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit() 297 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad() 311 case FILE_GPR: in insnCanLoad()
|
D | nv50_ir_target_nvc0.cpp | 224 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo() 236 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo() 239 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo() 273 case FILE_GPR: return MIN2(gprs, smregs / threads); in getFileSize() 297 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE || in getFileUnit() 387 if (i->src(k).getFile() != FILE_GPR && in insnCanLoad()
|
D | nv50_ir_emit_nvc0.cpp | 421 case FILE_GPR: in emitForm_A() 458 case FILE_GPR: in emitForm_B() 503 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S() 524 assert(src.getFile() == FILE_GPR); in emitShortSrc2() 804 case FILE_GPR: in emitSHLADD() 1007 assert(i->src(0).getFile() == FILE_GPR); in emitSFnOp() 1566 if (i->src(0).getFile() == FILE_GPR) { in emitBAR() 1576 if (i->src(1).getFile() == FILE_GPR) { in emitBAR() 1596 if (i->def(0).getFile() == FILE_GPR) in emitBAR() 1602 if (i->def(1).getFile() == FILE_GPR) in emitBAR() [all …]
|
D | nv50_ir_emit_gk110.cpp | 383 case FILE_GPR: in emitForm_L() 411 case FILE_GPR: in emitForm_C() 453 case FILE_GPR: in emitForm_21() 808 case FILE_GPR: in emitSHLADD() 839 case FILE_GPR: in emitNOT() 1463 if (i->src(0).getFile() == FILE_GPR) { in emitBAR() 1473 if (i->src(1).getFile() == FILE_GPR) { in emitBAR() 1595 case FILE_GPR: in emitSHFL() 1610 case FILE_GPR: in emitSHFL() 1649 } else if (i->def(d).getFile() == FILE_GPR) { in emitVOTE() [all …]
|
D | nv50_ir_ra.cpp | 939 if (regs.restrictedGPR16Range && f == FILE_GPR && (lval->reg.size == 2 || isShortRegVal(lval))) in init() 1511 if (lval->reg.file == FILE_GPR) in selectRegisters() 1545 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL) { in allocateRegisters() 1551 if (insn->src(0).getFile() != FILE_GPR || in allocateRegisters() 1552 insn->src(1).getFile() != FILE_GPR || in allocateRegisters() 1553 insn->src(2).getFile() != FILE_GPR) in allocateRegisters() 1597 regs.reset(FILE_GPR, true); in allocateRegisters() 1603 prog->maxGPR = std::max(prog->maxGPR, regs.getMaxAssigned(FILE_GPR)); in allocateRegisters() 1733 st->setDef(d, new_LValue(func, FILE_GPR)); in spill() 1778 l->setDef(0, (val = new_LValue(func, FILE_GPR))); in unspill() [all …]
|
D | nv50_ir_peephole.cpp | 205 if (insn->src(1).getFile() != FILE_GPR) in checkSwapSrc01() 1844 sub->src(0).getFile() != FILE_GPR || sub->src(0).mod || in handleABS() 1845 sub->src(1).getFile() != FILE_GPR || sub->src(1).mod) in handleABS() 1879 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD() 1965 if (src0 != src1 || src0->reg.file != FILE_GPR) in handleMINMAX() 2028 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleLOGOP() 2277 assert(insn->srcExists(0) && insn->src(0).getFile() == FILE_GPR); in handleSUCLAMP() 2300 if (add->src(s).getFile() != FILE_GPR || add->src(s).mod != Modifier(0)) in handleSUCLAMP() 2446 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD() 3015 if (st->getSrc(s)->reg.file != FILE_GPR) in replaceLdFromSt() [all …]
|
D | nv50_ir_build_util.cpp | 189 insn->setDef(0, new_LValue(func, FILE_GPR)); in mkMovToReg() 203 insn->setSrc(0, new_LValue(func, FILE_GPR)); in mkMovFromReg() 656 assert(hi->src(s).getFile() == FILE_GPR); in split64BitOpPostRA()
|
D | nv50_ir_lowering_nv50.cpp | 246 r63 = new_LValue(fn, FILE_GPR); in visit() 426 if (i->op != OP_SHL || i->src(0).getFile() != FILE_GPR) in isARL() 445 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) in handleAddrDef() 705 Value *arg = new_LValue(func, FILE_GPR); in visit() 719 Value *tmp = new_LValue(func, FILE_GPR); in loadTexMsInfo() 738 Value *off = new_LValue(func, FILE_ADDRESS), *t = new_LValue(func, FILE_GPR); in loadMsInfo() 805 Value *tx = new_LValue(func, FILE_GPR), *ty = new_LValue(func, FILE_GPR), in handleTEX() 832 LValue *src = new_LValue(func, FILE_GPR); in handleTEX() 846 a2d[c] = new_LValue(func, FILE_GPR); in handleTEX() 1397 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
|
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_emit_nv50.cpp | 363 case FILE_GPR: in setSrcFileBits() 468 unsigned int id = (reg->file == FILE_GPR) ? in setSrc() 760 assert(sf == FILE_GPR || df == FILE_GPR); in emitMOV() 2173 i->def(d).rep()->reg.file != FILE_GPR) in getMinEncodingSize() 2179 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() 106 bld.mkClobber(FILE_GPR, 0x3fc, 2); in handleRCPRSQLib() 468 if (insn->def(d).getFile() != FILE_GPR || in findFirstUsesBB() 478 if (insn->src(s).getFile() != FILE_GPR || in findFirstUsesBB() 693 rZero = new_LValue(fn, FILE_GPR); in visit() 787 if (cvt->src(0).getFile() != FILE_GPR && in replaceCvt() 1025 LValue *layer = new_LValue(func, FILE_GPR); in handleTEX() 1062 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTEX() 1376 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTXQ() 1430 LValue *t = new_LValue(func, FILE_GPR); in handleTXLQ() [all …]
|
D | nv50_ir_inlines.h | 339 if (reg.file >= FILE_GPR && reg.file <= LAST_REGISTER_FILE) in asLValue()
|
D | nv50_ir_lowering_gm107.cpp | 51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH()
|
D | nv50_ir_lowering_gv100.cpp | 220 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) { in handleShift()
|
D | nv50_ir_print.cpp | 466 case FILE_GPR: in print()
|
D | nv50_ir_from_tgsi.cpp | 422 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile() 4270 tData.setup(TGSI_FILE_TEMPORARY, 0, 0, tSize, 4, 4, FILE_GPR, 0); in Converter() 4272 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_GPR, 0); in Converter() 4273 oData.setup(TGSI_FILE_OUTPUT, 0, 0, oSize, 4, 4, FILE_GPR, 0); in Converter()
|
D | nv50_ir.h | 386 FILE_GPR, enumerator
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | disasm-a3xx.c | 96 FILE_GPR = 1, enumerator 467 ctx->reg.file = FILE_GPR; in disasm_field_cb() 489 } else if (ctx->reg.file == FILE_GPR) { in disasm_field_cb()
|