Home
last modified time | relevance | path

Searched refs:FILE_GPR (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_emit_gm107.cpp731 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()
966 case FILE_GPR: in emitSEL()
1001 case FILE_GPR: in emitSHFL()
1014 case FILE_GPR: in emitSHFL()
1047 case FILE_GPR: in emitDADD()
1080 case FILE_GPR: in emitDMUL()
[all …]
Dnv50_ir_emit_gv100.cpp108 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()
377 case FILE_GPR: in emitSHFL()
[all …]
Dnv50_ir_target_nv50.cpp152 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()
229 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit()
290 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad()
304 case FILE_GPR: in insnCanLoad()
Dnv50_ir_target_gv100.cpp50 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()
Dnv50_ir_target_nvc0.cpp224 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()
272 case FILE_GPR: return MIN2(gprs, smregs / threads); in getFileSize()
294 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE) in getFileUnit()
383 if (i->src(k).getFile() != FILE_GPR && in insnCanLoad()
Dnv50_ir_emit_nvc0.cpp423 case FILE_GPR: in emitForm_A()
460 case FILE_GPR: in emitForm_B()
505 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S()
526 assert(src.getFile() == FILE_GPR); in emitShortSrc2()
806 case FILE_GPR: in emitSHLADD()
1009 assert(i->src(0).getFile() == FILE_GPR); in emitSFnOp()
1559 if (i->src(0).getFile() == FILE_GPR) { in emitBAR()
1569 if (i->src(1).getFile() == FILE_GPR) { in emitBAR()
1589 if (i->def(0).getFile() == FILE_GPR) in emitBAR()
1595 if (i->def(1).getFile() == FILE_GPR) in emitBAR()
[all …]
Dnv50_ir_emit_gk110.cpp385 case FILE_GPR: in emitForm_L()
413 case FILE_GPR: in emitForm_C()
455 case FILE_GPR: in emitForm_21()
810 case FILE_GPR: in emitSHLADD()
841 case FILE_GPR: in emitNOT()
1456 if (i->src(0).getFile() == FILE_GPR) { in emitBAR()
1466 if (i->src(1).getFile() == FILE_GPR) { in emitBAR()
1588 case FILE_GPR: in emitSHFL()
1603 case FILE_GPR: in emitSHFL()
1642 } else if (i->def(d).getFile() == FILE_GPR) { in emitVOTE()
[all …]
Dnv50_ir_lowering_nv50.cpp223 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()
1280 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
Dnv50_ir_ra.cpp949 if (regs.restrictedGPR16Range && f == FILE_GPR && (lval->reg.size == 2 || isShortRegVal(lval))) in init()
1501 if (lval->reg.file == FILE_GPR) in selectRegisters()
1535 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL) { in allocateRegisters()
1541 if (insn->src(0).getFile() != FILE_GPR || in allocateRegisters()
1542 insn->src(1).getFile() != FILE_GPR || in allocateRegisters()
1543 insn->src(2).getFile() != FILE_GPR) in allocateRegisters()
1587 regs.reset(FILE_GPR, true); in allocateRegisters()
1593 prog->maxGPR = std::max(prog->maxGPR, regs.getMaxAssigned(FILE_GPR)); in allocateRegisters()
1717 st->setDef(d, new_LValue(func, FILE_GPR)); in spill()
1762 l->setDef(0, (val = new_LValue(func, FILE_GPR))); in unspill()
[all …]
Dnv50_ir_peephole.cpp205 if (insn->src(1).getFile() != FILE_GPR) in checkSwapSrc01()
1830 sub->src(0).getFile() != FILE_GPR || sub->src(0).mod || in handleABS()
1831 sub->src(1).getFile() != FILE_GPR || sub->src(1).mod) in handleABS()
1865 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD()
1951 if (src0 != src1 || src0->reg.file != FILE_GPR) in handleMINMAX()
2014 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleLOGOP()
2263 assert(insn->srcExists(0) && insn->src(0).getFile() == FILE_GPR); in handleSUCLAMP()
2286 if (add->src(s).getFile() != FILE_GPR || add->src(s).mod != Modifier(0)) in handleSUCLAMP()
2432 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD()
3001 if (st->getSrc(s)->reg.file != FILE_GPR) in replaceLdFromSt()
[all …]
Dnv50_ir_build_util.h48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
Dnv50_ir_build_util.cpp187 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()
Dnv50_ir_emit_nv50.cpp365 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()
Dnv50_ir_lowering_nvc0.cpp77 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()
1024 LValue *layer = new_LValue(func, FILE_GPR); in handleTEX()
1061 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTEX()
1375 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTXQ()
1429 LValue *t = new_LValue(func, FILE_GPR); in handleTXLQ()
[all …]
Dnv50_ir_inlines.h339 if (reg.file >= FILE_GPR && reg.file <= FILE_ADDRESS) in asLValue()
Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1)) in handlePFETCH()
Dnv50_ir_lowering_gv100.cpp216 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) { in handleShift()
Dnv50_ir_print.cpp445 case FILE_GPR: in print()
Dnv50_ir.h384 FILE_GPR, enumerator
Dnv50_ir_from_tgsi.cpp422 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile()
4203 tData.setup(TGSI_FILE_TEMPORARY, 0, 0, tSize, 4, 4, FILE_GPR, 0); in Converter()
4205 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_GPR, 0); in Converter()
4206 oData.setup(TGSI_FILE_OUTPUT, 0, 0, oSize, 4, 4, FILE_GPR, 0); in Converter()