Home
last modified time | relevance | path

Searched refs:getInsn (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_peephole.cpp109 si = mov->getSrc(0)->getInsn(); in visit()
138 si = i->getSrc(0)->getInsn(); in visit()
139 if (si->op != OP_SPLIT || si != i->getSrc(1)->getInsn()) in visit()
212 Instruction *i0 = insn->getSrc(0)->getInsn(); in checkSwapSrc01()
213 Instruction *i1 = insn->getSrc(1)->getInsn(); in checkSwapSrc01()
275 Instruction *ld = i->getSrc(s)->getInsn(); in visit()
322 insn = i->getIndirect(s, 0)->getInsn(); in visit()
447 Instruction *insn = value->getInsn(); in findOriginForTestWithZero()
919 insn = mul2->getSrc(t)->getInsn(); in tryCollapseChainedMULs()
951 insn = (*mul2->getDef(0)->uses.begin())->getInsn(); in tryCollapseChainedMULs()
[all …]
Dnv50_ir_inlines.h208 Instruction *Value::getInsn() const in getInsn() function
210 return defs.empty() ? NULL : defs.front()->getInsn(); in getInsn()
222 return (*it)->getInsn(); in getUniqueInsn()
236 return defs.front()->getInsn(); in getUniqueInsn()
Dnv50_ir_ra.cpp703 assert(i->src(s).getInsn()); in visit()
919 if (lval->getInsn() == NULL) in isShortRegVal()
923 if (isShortRegOp((*def)->getInsn())) in isShortRegVal()
927 if (isShortRegOp((*use)->getInsn())) in isShortRegVal()
1166 i = (*insn->getDef(0)->uses.begin())->getInsn(); in doCoalesce()
1539 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL) { in allocateRegisters()
1540 Instruction *insn = lval->getInsn(); in allocateRegisters()
1790 Instruction *ai = a->getInsn(), *bi = b->getInsn(); in value_cmp()
1827 Instruction *defi = (*d)->getInsn(); in run()
1840 Instruction *usei = u->getInsn(); in run()
[all …]
Dnv50_ir_lowering_nv50.cpp260 (*it)->getSrc(1)->defs.front()->getInsn()->setDef(0, (*it)->getSrc(0)); in visit()
391 Instruction *di = st->getSrc(1)->defs.front()->getInsn(); in propagateWriteToOutput()
456 if (a->getInsn() && isARL(a->getInsn())) { in handleAddrDef()
457 i->setSrc(s, a->getInsn()->getSrc(0)); in handleAddrDef()
501 def->getInsn()->setPredicate(cc, pred); in handleMUL()
526 af->getInsn()->src(0).mod = Modifier(NV50_IR_MOD_ABS); in handleDIV()
527 bf->getInsn()->src(0).mod = Modifier(NV50_IR_MOD_ABS); in handleDIV()
592 handleDIV(q->getInsn()); in handleMOD()
Dnv50_ir.h668 inline Instruction *getInsn() const { return insn; } in getInsn() function
706 inline Instruction *getInsn() const { return insn; } in getInsn() function
738 inline Instruction *getInsn() const; // use when uniqueness is certain
Dnv50_ir_ssa.cpp357 bb = ((*d)->getInsn() ? (*d)->getInsn()->bb : NULL); in convertToSSA()
Dnv50_ir.cpp179 Instruction *insn = (*it)->getInsn(); in mayReplace()
275 Instruction *insn = getInsn(); in isUniform()
Dnv50_ir_from_tgsi.cpp1936 res->getInsn()->setIndirect(0, 1, dimRel); in fetchSrc()
1977 res->getInsn()->setIndirect(0, 1, dimRel); in fetchDst()
3060 insn = val->getInsn(); in handleINTERP()
3063 insn = insn->getSrc(0)->getInsn(); in handleINTERP()
Dnv50_ir_lowering_nvc0.cpp53 Instruction *ld = i->getSrc(s)->getInsn(); in handleDIV()
2049 src[0]->getInsn()->setFlagsDef(1, pred); in processSurfaceCoordsNVE4()
2053 src[dim]->getInsn()->setFlagsDef(1, p1); in processSurfaceCoordsNVE4()