Searched refs:getFile (Results 1 - 25 of 38) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_gm107.cpp178 if (insn->def(0).getFile() != FILE_PREDICATE &&
179 insn->src(0).getFile() != FILE_PREDICATE)
253 if (insn->op == OP_CVT && (insn->def(0).getFile() == FILE_PREDICATE ||
254 insn->src(0).getFile() == FILE_PREDICATE))
306 if (insn->def(0).getFile() != FILE_PREDICATE &&
307 insn->src(0).getFile() != FILE_PREDICATE)
314 switch (insn->src(0).getFile()) {
H A Dnv50_ir_emit_gm107.cpp326 if (ref.getFile() == FILE_IMMEDIATE) {
546 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
571 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
596 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
618 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
640 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
662 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
700 if (insn->src(0).getFile() != FILE_IMMEDIATE) {
701 switch (insn->src(0).getFile()) {
703 if (insn->def(0).getFile()
[all...]
H A Dnv50_ir_emit_gk110.cpp203 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : GK110_GPR_ZERO) << (pos % 32);
384 switch (i->src(s).getFile()) {
408 switch (i->src(0).getFile()) {
428 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE;
431 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST)
447 switch (i->src(s).getFile()) {
460 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE);
789 if (i->src(2).getFile() == FILE_IMMEDIATE) {
809 switch (i->src(2).getFile()) {
840 switch (i->src(0).getFile()) {
[all...]
H A Dnv50_ir_emit_nvc0.cpp201 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : 63) << (pos % 32);
298 switch (src.getFile()) {
307 assert(src.getFile() == FILE_MEMORY_CONST);
387 assert(d < 0 || (i->defExists(d) && i->def(d).getFile() == FILE_PREDICATE));
431 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE);
450 switch (i->src(0).getFile()) {
501 if (i->src(s).getFile() == FILE_IMMEDIATE) {
505 if (i->src(s).getFile() == FILE_GPR) {
514 if (src.getFile() == FILE_MEMORY_CONST) {
526 assert(src.getFile()
[all...]
H A Dnv50_ir_target_nv50.cpp276 DataFile sf = ld->src(0).getFile();
290 if (s == 2 && i->src(1).getFile() != FILE_GPR)
296 if (i->def(d).getFile() == FILE_FLAGS)
302 DataFile zf = (z == s) ? sf : i->src(z).getFile();
386 return i->src(s).getFile() != FILE_SHADER_INPUT;
499 if (insn->src(s).getFile() == FILE_IMMEDIATE)
518 switch (i->src(0).getFile()) {
H A Dnv50_ir_emit_nv50.cpp180 assert(def.get() && def.getFile() != FILE_SHADER_OUTPUT);
273 if (i->def(d).getFile() == FILE_FLAGS)
364 switch (i->src(s).getFile()) {
378 ERROR("invalid file on source %i: %u\n", s, i->src(s).getFile());
623 DataFile sf = i->src(0).getFile();
682 if (i->src(0).getFile() == FILE_MEMORY_GLOBAL) {
686 srcAddr16(i->src(0), i->src(0).getFile() != FILE_MEMORY_LOCAL, 9);
860 if (i->def(0).getFile() == FILE_ADDRESS) {
980 if (i->src(1).getFile() == FILE_IMMEDIATE) {
1033 if (i->src(1).getFile()
[all...]
H A Dnv50_ir_from_tgsi.cpp82 uint getFile() const { return reg.File; } function in class:tgsi::Instruction::SrcRegister
141 uint getFile() const { return reg.File; } function in class:tgsi::Instruction::DstRegister
1510 insn.getSrc(0).getFile() == TGSI_FILE_INPUT;
1517 if (src.getFile() == TGSI_FILE_TEMPORARY) {
1521 if (src.getFile() == TGSI_FILE_OUTPUT) {
1531 if (src.getFile() == TGSI_FILE_SYSTEM_VALUE) {
1535 if (src.getFile() != TGSI_FILE_INPUT)
1582 dst.getFile() != TGSI_FILE_MEMORY) {
1586 if (dst.getFile() == TGSI_FILE_OUTPUT) {
1603 if (dst.getFile()
[all...]
H A Dnv50_ir_target_nvc0.cpp341 DataFile sf = ld->src(0).getFile();
375 if (i->src(k).getFile() == FILE_IMMEDIATE) {
383 if (i->src(k).getFile() != FILE_GPR &&
384 i->src(k).getFile() != FILE_PREDICATE &&
385 i->src(k).getFile() != FILE_FLAGS) {
438 if (ref.getFile() == FILE_MEMORY_CONST &&
574 if (i->src(0).getFile() == FILE_MEMORY_CONST)
708 if (a->src(0).getFile() == b->src(0).getFile())
H A Dnv50_ir_peephole.cpp107 if (mov->def(0).getFile() != mov->src(0).getFile())
165 return ld && ld->op == OP_LOAD && ld->src(0).getFile() == FILE_MEMORY_CONST;
186 (ld->src(0).getFile() == FILE_SHADER_INPUT ||
187 ld->src(0).getFile() == FILE_MEMORY_SHARED)));
205 if (insn->src(1).getFile() != FILE_GPR)
324 if (insn->src(0).getFile() != targ->nativeFile(FILE_ADDRESS) ||
332 if (insn->src(0).getFile() != targ->nativeFile(FILE_ADDRESS) ||
1488 bld.getSSA(i->def(0).getSize(), i->def(0).getFile()),
1794 sub->src(0).getFile() !
[all...]
H A Dnv50_ir_inlines.h165 DataFile ValueRef::getFile() const function in class:ValueRef
187 DataFile ValueDef::getFile() const function in class:ValueDef
H A Dnv50_ir_lowering_gm107.cpp51 if (i->src(0).getFile() == FILE_GPR && !i->srcExists(1))
69 if (i->src(0).getFile() != FILE_MEMORY_CONST)
H A Dnv50_ir_lowering_nv50.cpp317 (!i->defExists(0) || i->def(0).getFile() != FILE_ADDRESS))
375 if (di->src(s).getFile() == FILE_IMMEDIATE ||
376 di->src(s).getFile() == FILE_MEMORY_LOCAL)
403 if (i->op != OP_SHL || i->src(0).getFile() != FILE_GPR)
421 if (i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE) {
422 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR)
424 if (i->op == OP_ADD && i->src(0).getFile() == FILE_ADDRESS)
443 if (i->op == OP_SHL && i->src(1).getFile() == FILE_IMMEDIATE)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_target_gm107.cpp178 if (insn->def(0).getFile() != FILE_PREDICATE &&
179 insn->src(0).getFile() != FILE_PREDICATE)
253 if (insn->op == OP_CVT && (insn->def(0).getFile() == FILE_PREDICATE ||
254 insn->src(0).getFile() == FILE_PREDICATE))
306 if (insn->def(0).getFile() != FILE_PREDICATE &&
307 insn->src(0).getFile() != FILE_PREDICATE)
314 switch (insn->src(0).getFile()) {
H A Dnv50_ir_emit_gm107.cpp330 if (ref.getFile() == FILE_IMMEDIATE) {
550 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
575 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
600 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
622 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
644 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
666 if (!insn->srcExists(0) || insn->src(0).getFile() != FILE_MEMORY_CONST) {
729 if (insn->src(0).getFile() != FILE_IMMEDIATE) {
730 switch (insn->src(0).getFile()) {
732 if (insn->def(0).getFile()
[all...]
H A Dnv50_ir_emit_gk110.cpp201 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : GK110_GPR_ZERO) << (pos % 32);
382 switch (i->src(s).getFile()) {
406 switch (i->src(0).getFile()) {
426 const bool imm = i->srcExists(1) && i->src(1).getFile() == FILE_IMMEDIATE;
429 if (i->srcExists(2) && i->src(2).getFile() == FILE_MEMORY_CONST)
445 switch (i->src(s).getFile()) {
458 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE);
787 if (i->src(2).getFile() == FILE_IMMEDIATE) {
807 switch (i->src(2).getFile()) {
838 switch (i->src(0).getFile()) {
[all...]
H A Dnv50_ir_emit_gv100.cpp108 switch ((src1 < 0) ? FILE_GPR : insn->src(src1 & FA_SRC_MASK).getFile()) {
110 switch ((src2 < 0) ? FILE_GPR : insn->src(src2 & FA_SRC_MASK).getFile()) {
129 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR);
134 assert((src2 < 0) || insn->src(src2 & FA_SRC_MASK).getFile() == FILE_GPR);
144 assert(insn->src(src0 & FA_SRC_MASK).getFile() == FILE_GPR);
299 switch (insn->def(0).getFile()) {
301 switch (insn->src(0).getFile()) {
340 switch (insn->src(0).getFile()) {
352 assert(insn->def(0).getFile() == FILE_BARRIER);
416 switch (insn->src(1).getFile()) {
[all...]
H A Dnv50_ir_emit_nvc0.cpp199 code[pos / 32] |= (def.get() && def.getFile() != FILE_FLAGS ? DDATA(def).id : 63) << (pos % 32);
296 switch (src.getFile()) {
305 assert(src.getFile() == FILE_MEMORY_CONST);
385 assert(d < 0 || (i->defExists(d) && i->def(d).getFile() == FILE_PREDICATE));
429 assert(s == 2 && i->src(s).getFile() == FILE_PREDICATE);
448 switch (i->src(0).getFile()) {
499 if (i->src(s).getFile() == FILE_IMMEDIATE) {
503 if (i->src(s).getFile() == FILE_GPR) {
512 if (src.getFile() == FILE_MEMORY_CONST) {
524 assert(src.getFile()
[all...]
H A Dnv50_ir_target_nv50.cpp279 DataFile sf = ld->src(0).getFile();
289 i->src(0).getFile() != FILE_MEMORY_GLOBAL));
297 if (s == 2 && i->src(1).getFile() != FILE_GPR)
303 if (i->def(d).getFile() == FILE_FLAGS)
309 DataFile zf = (z == s) ? sf : i->src(z).getFile();
396 return i->src(s).getFile() != FILE_SHADER_INPUT;
414 return i->src(s).getFile() != FILE_MEMORY_GLOBAL &&
415 i->src(s).getFile() != FILE_MEMORY_SHARED;
510 if (insn->src(s).getFile() == FILE_IMMEDIATE)
529 switch (i->src(0).getFile()) {
[all...]
H A Dnv50_ir_target_gv100.cpp226 if (i->def(0).getFile() == FILE_PREDICATE)
230 if (i->src(0).getFile() == FILE_MEMORY_SHARED)
249 if (i->op == OP_CVT && (i->def(0).getFile() == FILE_PREDICATE ||
250 i->src(0).getFile() == FILE_PREDICATE)) {
296 switch (i->src(0).getFile()) {
347 if (i->def(0).getFile() != FILE_PREDICATE) {
377 switch (i->src(0).getFile()) {
480 if (ld->src(0).getFile() == FILE_IMMEDIATE && ld->getSrc(0)->reg.data.u64 == 0)
490 if ((s == 1 && i->srcExists(2) && i->src(2).getFile() != FILE_GPR) ||
491 (s == 2 && i->srcExists(1) && i->src(1).getFile() !
[all...]
H A Dnv50_ir_from_tgsi.cpp81 uint getFile() const { return reg.File; } function in class:tgsi::Instruction::SrcRegister
140 uint getFile() const { return reg.File; } function in class:tgsi::Instruction::DstRegister
1478 insn.getSrc(0).getFile() == TGSI_FILE_INPUT;
1485 if (src.getFile() == TGSI_FILE_TEMPORARY) {
1489 if (src.getFile() == TGSI_FILE_OUTPUT) {
1499 if (src.getFile() == TGSI_FILE_SYSTEM_VALUE) {
1503 if (src.getFile() != TGSI_FILE_INPUT)
1553 dst.getFile() != TGSI_FILE_MEMORY) {
1556 if (dst.getFile() == TGSI_FILE_INPUT) {
1563 if (dst.getFile()
[all...]
H A Dnv50_ir_emit_nv50.cpp178 assert(def.get() && def.getFile() != FILE_SHADER_OUTPUT);
271 if (i->def(d).getFile() == FILE_FLAGS)
362 switch (i->src(s).getFile()) {
376 ERROR("invalid file on source %i: %u\n", s, i->src(s).getFile());
621 DataFile sf = i->src(0).getFile();
683 if (i->src(0).getFile() == FILE_MEMORY_GLOBAL) {
687 srcAddr16(i->src(0), i->src(0).getFile() != FILE_MEMORY_LOCAL, 9);
867 if (i->def(0).getFile() == FILE_ADDRESS) {
987 if (i->src(1).getFile() == FILE_IMMEDIATE) {
1040 if (i->src(1).getFile()
[all...]
H A Dnv50_ir_target_nvc0.cpp345 DataFile sf = ld->src(0).getFile();
379 if (i->src(k).getFile() == FILE_IMMEDIATE) {
387 if (i->src(k).getFile() != FILE_GPR &&
388 i->src(k).getFile() != FILE_PREDICATE &&
389 i->src(k).getFile() != FILE_FLAGS) {
448 if (ref.getFile() == FILE_MEMORY_CONST &&
584 if (i->src(0).getFile() == FILE_MEMORY_CONST)
718 if (a->src(0).getFile() == b->src(0).getFile())
H A Dnv50_ir_lowering_gv100.cpp220 if (i->op == OP_SHL && i->src(0).getFile() == FILE_GPR) {
260 if (i->def(0).getFile() != FILE_PREDICATE)
274 if (i->def(0).getFile() != FILE_PREDICATE)
452 if (i->src(0).getFile() != FILE_PREDICATE &&
453 i->def(0).getFile() != FILE_PREDICATE &&
H A Dnv50_ir_peephole.cpp107 if (mov->def(0).getFile() != mov->src(0).getFile())
165 return ld && ld->op == OP_LOAD && ld->src(0).getFile() == FILE_MEMORY_CONST;
186 (ld->src(0).getFile() == FILE_SHADER_INPUT ||
187 ld->src(0).getFile() == FILE_MEMORY_SHARED)));
205 if (insn->src(1).getFile() != FILE_GPR)
326 if (insn->src(0).getFile() != targ->nativeFile(FILE_ADDRESS) ||
334 if (insn->src(0).getFile() != targ->nativeFile(FILE_ADDRESS) ||
1535 bld.getSSA(i->def(0).getSize(), i->def(0).getFile()),
1847 sub->src(0).getFile() !
[all...]
H A Dnv50_ir_inlines.h165 DataFile ValueRef::getFile() const function in class:ValueRef
187 DataFile ValueDef::getFile() const function in class:ValueDef

Completed in 41 milliseconds

12