Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_target_nv50.cpp149 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo()
152 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo()
196 case FILE_GPR: return 256; // in 16-bit units ** in getFileSize()
218 if (file == FILE_GPR || file == FILE_ADDRESS) in getFileUnit()
267 if (s == 2 && i->src(1).getFile() != FILE_GPR) in insnCanLoad()
280 case FILE_GPR: in insnCanLoad()
Dnv50_ir_lowering_nv50.cpp135 r63 = new_LValue(fn, FILE_GPR); in visit()
306 if (i->op != OP_SHL || i->src(0).getFile() != FILE_GPR) in isARL()
322 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) in handleAddrDef()
565 Value *arg = new_LValue(func, FILE_GPR); in visit()
592 LValue *src = new_LValue(func, FILE_GPR); in handleTEX()
600 x = new_LValue(func, FILE_GPR); in handleTEX()
601 y = new_LValue(func, FILE_GPR); in handleTEX()
602 layer = new_LValue(func, FILE_GPR); in handleTEX()
1001 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()
Dnv50_ir_ra.cpp54 if (restrictedGPR16Range && f == FILE_GPR && regSize == 2) in getFileSize()
143 bits[FILE_GPR].print(); in print()
1285 if (lval->reg.file == FILE_GPR) in selectRegisters()
1337 regs.reset(FILE_GPR, true); in allocateRegisters()
1342 prog->maxGPR = regs.getMaxAssigned(FILE_GPR); in allocateRegisters()
1486 static_cast<Value *>(mem) : new_LValue(func, FILE_GPR); in run()
1725 cst->setDef(d, new_LValue(func, FILE_GPR)); in addConstraint()
1752 for (n = 0; insn->defExists(n) && insn->def(n).getFile() == FILE_GPR; ++n) in condenseDefs()
1756 LValue *lval = new_LValue(func, FILE_GPR); in condenseDefs()
1788 LValue *lval = new_LValue(func, FILE_GPR); in condenseSrcs()
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_emit_nv50.cpp357 case FILE_GPR: in setSrcFileBits()
457 unsigned int id = (reg->file == FILE_GPR) ? in setSrc()
726 assert(sf == FILE_GPR || df == FILE_GPR); in emitMOV()
1745 i->def(d).rep()->reg.file != FILE_GPR) in getMinEncodingSize()
1751 if (sf != FILE_GPR) in getMinEncodingSize()
Dnv50_ir_peephole.cpp159 if (insn->src(1).getFile() != FILE_GPR) in checkSwapSrc01()
948 sub->src(0).getFile() != FILE_GPR || sub->src(0).mod || in handleABS()
949 sub->src(1).getFile() != FILE_GPR || sub->src(1).mod) in handleABS()
983 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleADD()
1060 if (src0 != src1 || src0->reg.file != FILE_GPR) in handleMINMAX()
1114 if (src0->reg.file != FILE_GPR || src1->reg.file != FILE_GPR) in handleLOGOP()
1562 if (st->getSrc(s)->reg.file != FILE_GPR) in replaceLdFromSt()
1824 if (file == FILE_GPR && insn->getSrc(s)->reg.data.id > prog->maxGPR) in isConstantCondition()
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()
Dnv50_ir_inlines.h307 if (reg.file >= FILE_GPR && reg.file <= FILE_ADDRESS) in asLValue()
Dnv50_ir_print.cpp331 case FILE_GPR: in print()
Dnv50_ir_from_sm4.cpp1075 tData32.setup(0, nrRegVals, 4, 4, FILE_GPR); in allocateValues()
1076 tData64.setup(0, nrRegVals, 2, 8, FILE_GPR); in allocateValues()
1079 oData.setup(0, info.numOutputs, 4, 4, FILE_GPR); in allocateValues()
Dnv50_ir.h224 FILE_GPR, enumerator
Dnv50_ir_from_tgsi.cpp304 case TGSI_FILE_TEMPORARY: return nv50_ir::FILE_GPR; in translateFile()
2303 const DataFile tFile = code->mainTempsInLMem ? FILE_MEMORY_LOCAL : FILE_GPR; in Converter()
2313 oData.setup(TGSI_FILE_OUTPUT, 0, 0, oSize, 4, 4, FILE_GPR, 0); in Converter()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_target_nvc0.cpp282 nativeFileMap[FILE_ADDRESS] = FILE_GPR; in initOpInfo()
294 opInfo[i].srcFiles[j] = 1 << (int)FILE_GPR; in initOpInfo()
297 opInfo[i].dstFiles = 1 << (int)FILE_GPR; in initOpInfo()
337 case FILE_GPR: return 63; in getFileSize()
358 if (file == FILE_GPR || file == FILE_ADDRESS || file == FILE_SYSTEM_VALUE) in getFileUnit()
413 if (i->src(k).getFile() != FILE_GPR && in insnCanLoad()
Dnv50_ir_emit_nvc0.cpp321 case FILE_GPR: in emitForm_A()
353 case FILE_GPR: in emitForm_B()
398 if (i->src(s).getFile() == FILE_GPR) { in emitForm_S()
419 assert(src.getFile() == FILE_GPR); in emitShortSrc2()
729 assert(i->src(0).getFile() == FILE_GPR); in emitSFnOp()
1246 assert(i->src(1).getFile() == FILE_GPR); in emitEXPORT()
1264 assert(i->src(0).getFile() == FILE_GPR); in emitOUT()
2208 case FILE_GPR: in checkRd()
2246 case FILE_GPR: in checkWr()
2269 if (v->reg.file == FILE_GPR) { in recordWr()
[all …]
Dnv50_ir_lowering_nvc0.cpp74 bld.mkClobber(FILE_GPR, (i->op == OP_DIV) ? 0xe : 0xd, 2); in handleDIV()
470 r63 = new_LValue(fn, FILE_GPR); in visit()
656 LValue *layer = new_LValue(func, FILE_GPR); in handleTEX()
704 LValue *src = new_LValue(func, FILE_GPR); // 0xttxsaaaa in handleTEX()
999 i->setDef(0, new_LValue(func, FILE_GPR)); in handleEXPORT()