Home
last modified time | relevance | path

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

/external/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()
204 Instruction *i0 = insn->getSrc(0)->getInsn(); in checkSwapSrc01()
205 Instruction *i1 = insn->getSrc(1)->getInsn(); in checkSwapSrc01()
261 Instruction *ld = i->getSrc(s)->getInsn(); in visit()
302 insn = i->getIndirect(s, 0)->getInsn(); in visit()
412 Instruction *insn = value->getInsn(); in findOriginForTestWithZero()
849 insn = mul2->getSrc(t)->getInsn(); in tryCollapseChainedMULs()
881 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.cpp659 assert(i->src(s).getInsn()); in visit()
856 if (lval->getInsn() == NULL) in isShortRegVal()
860 if (isShortRegOp((*def)->getInsn())) in isShortRegVal()
864 if (isShortRegOp((*use)->getInsn())) in isShortRegVal()
1099 i = (*insn->getDef(0)->uses.begin())->getInsn(); in doCoalesce()
1471 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL && in allocateRegisters()
1473 Instruction *insn = lval->getInsn(); in allocateRegisters()
1706 Instruction *ai = a->getInsn(), *bi = b->getInsn(); in value_cmp()
1742 Instruction *defi = (*d)->getInsn(); in run()
1755 Instruction *usei = u->getInsn(); in run()
[all …]
Dnv50_ir_lowering_nv50.cpp237 (*it)->getSrc(1)->defs.front()->getInsn()->setDef(0, (*it)->getSrc(0)); in visit()
368 Instruction *di = st->getSrc(1)->defs.front()->getInsn(); in propagateWriteToOutput()
433 if (a->getInsn() && isARL(a->getInsn())) { in handleAddrDef()
434 i->setSrc(s, a->getInsn()->getSrc(0)); in handleAddrDef()
478 def->getInsn()->setPredicate(cc, pred); in handleMUL()
503 af->getInsn()->src(0).mod = Modifier(NV50_IR_MOD_ABS); in handleDIV()
504 bf->getInsn()->src(0).mod = Modifier(NV50_IR_MOD_ABS); in handleDIV()
569 handleDIV(q->getInsn()); in handleMOD()
Dnv50_ir.h579 inline Instruction *getInsn() const { return insn; } in getInsn() function
618 inline Instruction *getInsn() const { return insn; } in getInsn() function
650 inline Instruction *getInsn() const; // use when uniqueness is certain
Dnv50_ir_ssa.cpp357 bb = ((*d)->getInsn() ? (*d)->getInsn()->bb : NULL); in convertToSSA()
Dnv50_ir.cpp180 Instruction *insn = (*it)->getInsn(); in mayReplace()
276 Instruction *insn = getInsn(); in isUniform()
Dnv50_ir_from_tgsi.cpp1855 res->getInsn()->setIndirect(0, 1, dimRel); in fetchSrc()
2858 insn = val->getInsn(); in handleINTERP()
2861 insn = insn->getSrc(0)->getInsn(); in handleINTERP()
Dnv50_ir_lowering_nvc0.cpp1742 src[0]->getInsn()->setFlagsDef(1, pred); in processSurfaceCoordsNVE4()
1746 src[dim]->getInsn()->setFlagsDef(1, p1); in processSurfaceCoordsNVE4()