Home
last modified time | relevance | path

Searched refs:FILE_IMMEDIATE (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_nv50.cpp191 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_IMMEDIATE; in initOpInfo()
210 case FILE_IMMEDIATE: return 0; in getFileSize()
279 if (sf == FILE_IMMEDIATE && ld->getSrc(0)->reg.data.u64 == 0) in insnCanLoad()
284 if (sf == FILE_IMMEDIATE && (i->predSrc >= 0 || i->flagsDef >= 0)) in insnCanLoad()
294 if (sf == FILE_IMMEDIATE) in insnCanLoad()
313 case FILE_IMMEDIATE: in insnCanLoad()
349 if (sf == FILE_IMMEDIATE) in insnCanLoad()
358 if (sf == FILE_IMMEDIATE) in insnCanLoad()
499 if (insn->src(s).getFile() == FILE_IMMEDIATE) in mayPredicate()
Dnv50_ir_emit_gm107.cpp330 if (ref.getFile() == FILE_IMMEDIATE) { in longIMMD()
729 if (insn->src(0).getFile() != FILE_IMMEDIATE) { in emitMOV()
744 case FILE_IMMEDIATE: in emitMOV()
814 case FILE_IMMEDIATE: in emitF2F()
857 case FILE_IMMEDIATE: in emitF2I()
899 case FILE_IMMEDIATE: in emitI2F()
931 case FILE_IMMEDIATE: in emitI2I()
974 case FILE_IMMEDIATE: in emitSEL()
1004 case FILE_IMMEDIATE: in emitSHFL()
1017 case FILE_IMMEDIATE: in emitSHFL()
[all …]
Dnv50_ir_target_nvc0.cpp183 opInfo[prop->op].srcFiles[s] |= 1 << (int)FILE_IMMEDIATE; in initProps()
276 case FILE_IMMEDIATE: return 0; in getFileSize()
344 if (sf == FILE_IMMEDIATE && ld->getSrc(0)->reg.data.u64 == 0) in insnCanLoad()
370 if (i->op == OP_XMAD && sf == FILE_IMMEDIATE && s < 2 && in insnCanLoad()
375 if (i->src(k).getFile() == FILE_IMMEDIATE) { in insnCanLoad()
397 if (sf == FILE_IMMEDIATE) { in insnCanLoad()
Dnv50_ir_emit_nv50.cpp374 case FILE_IMMEDIATE: in setSrcFileBits()
781 if (sf == FILE_IMMEDIATE) { in emitMOV()
980 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitFMAD()
1033 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitFADD()
1084 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitUADD()
1128 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitIMUL()
1151 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitFMUL()
1208 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitIMAD()
1533 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitLogicOp()
1580 assert(i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE); in emitShift()
[all …]
Dnv50_ir_target_gv100.cpp94 #define SRC_C (1 << FILE_IMMEDIATE)
480 if (ld->src(0).getFile() == FILE_IMMEDIATE && ld->getSrc(0)->reg.data.u64 == 0) in insnCanLoad()
493 files &= ~(1 << FILE_IMMEDIATE); in insnCanLoad()
499 files &= ~(1 << FILE_IMMEDIATE); in insnCanLoad()
503 if (ld->src(0).getFile() == FILE_IMMEDIATE) { in insnCanLoad()
Dnv50_ir_emit_nvc0.cpp417 case FILE_IMMEDIATE: in emitForm_A()
456 case FILE_IMMEDIATE: in emitForm_B()
501 if (i->src(s).getFile() == FILE_IMMEDIATE) { in emitForm_S()
660 emitForm_S(i, i->src(1).getFile() == FILE_IMMEDIATE ? 0xaa : 0x2a, true); in emitUMUL()
754 ((i->src(1).getFile() == FILE_IMMEDIATE) ? 0xac : 0x2c), true); in emitUADD()
814 case FILE_IMMEDIATE: in emitSHLADD()
916 ((i->src(1).getFile() == FILE_IMMEDIATE) ? 0x1d : 0x8d), true); in emitLogicOp()
1374 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX()
1703 if (i->src(1).getFile() == FILE_IMMEDIATE) { in emitOUT()
2025 if (i->src(0).getFile() == FILE_IMMEDIATE) { in emitMOV()
[all …]
Dnv50_ir_emit_gk110.cpp388 case FILE_IMMEDIATE: in emitForm_L()
428 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE; in emitForm_21()
452 case FILE_IMMEDIATE: in emitForm_21()
789 if (i->src(2).getFile() == FILE_IMMEDIATE) { in emitSHLADD()
820 case FILE_IMMEDIATE: in emitSHLADD()
1372 if (i->srcExists(src1) && i->src(src1).getFile() == FILE_IMMEDIATE) { in emitTEX()
1591 case FILE_IMMEDIATE: in emitSHFL()
1606 case FILE_IMMEDIATE: in emitSHFL()
1661 case FILE_IMMEDIATE: in emitVOTE()
1930 if (i->getSrc(1)->reg.file == FILE_IMMEDIATE) { in emitVSHL()
[all …]
Dnv50_ir_inlines.h377 if (reg.file == FILE_IMMEDIATE) in asImm()
384 if (reg.file == FILE_IMMEDIATE) in asImm()
Dnv50_ir_emit_gv100.cpp115 case FILE_IMMEDIATE: in emitFormA()
128 case FILE_IMMEDIATE: in emitFormA()
304 case FILE_IMMEDIATE: in emitMOV()
383 case FILE_IMMEDIATE: in emitSHFL()
393 case FILE_IMMEDIATE: in emitSHFL()
399 case FILE_IMMEDIATE: in emitSHFL()
1666 case FILE_IMMEDIATE: in emitVOTE()
Dnv50_ir.cpp92 if (src->getFile() == FILE_IMMEDIATE) { in getImmediate()
325 reg.file = FILE_IMMEDIATE; in ImmediateValue()
338 reg.file = FILE_IMMEDIATE; in ImmediateValue()
351 reg.file = FILE_IMMEDIATE; in ImmediateValue()
Dnv50_ir_build_util.cpp291 if (val->reg.file == FILE_IMMEDIATE) in mkSplit()
616 case FILE_IMMEDIATE: in split64BitOpPostRA()
Dnv50_ir_lowering_helper.cpp158 if (reg.file != FILE_IMMEDIATE) in handleMOV()
Dnv50_ir_lowering_nv50.cpp375 if (di->src(s).getFile() == FILE_IMMEDIATE || in propagateWriteToOutput()
421 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) { in handleAddrDef()
443 if (i->op == OP_SHL && i->src(1).getFile() == FILE_IMMEDIATE) in handleAddrDef()
Dnv50_ir.h389 FILE_IMMEDIATE, enumerator
Dnv50_ir_peephole.cpp1996 if (slct->getSrc(2)->reg.file == FILE_IMMEDIATE) { in handleSLCT()
3295 file = FILE_IMMEDIATE; in isConstantCondition()
3298 if (file != FILE_IMMEDIATE && file != FILE_MEMORY_CONST) in isConstantCondition()
3555 if (def && def->op == OP_MOV && def->src(0).getFile() == FILE_IMMEDIATE) { in handleMADforNV50()
Dnv50_ir_ra.cpp909 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE && in isShortRegOp()
2589 defi->src(0).getFile() == FILE_IMMEDIATE; in insertConstraintMove()
Dnv50_ir_lowering_nvc0.cpp56 !(ld->src(0).getFile() == FILE_IMMEDIATE)) in handleDIV()
842 if (i->src(0).getFile() == FILE_IMMEDIATE) in visit()
Dnv50_ir_from_tgsi.cpp424 case TGSI_FILE_IMMEDIATE: return nv50_ir::FILE_IMMEDIATE; in translateFile()