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()
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()
320 insn = i->getIndirect(s, 0)->getInsn(); in visit()
444 Instruction *insn = value->getInsn(); in findOriginForTestWithZero()
916 insn = mul2->getSrc(t)->getInsn(); in tryCollapseChainedMULs()
948 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.cpp702 assert(i->src(s).getInsn()); in visit()
918 if (lval->getInsn() == NULL) in isShortRegVal()
922 if (isShortRegOp((*def)->getInsn())) in isShortRegVal()
926 if (isShortRegOp((*use)->getInsn())) in isShortRegVal()
1165 i = (*insn->getDef(0)->uses.begin())->getInsn(); in doCoalesce()
1535 if (lval->inFile(FILE_GPR) && lval->getInsn() != NULL) { in allocateRegisters()
1536 Instruction *insn = lval->getInsn(); in allocateRegisters()
1786 Instruction *ai = a->getInsn(), *bi = b->getInsn(); in value_cmp()
1823 Instruction *defi = (*d)->getInsn(); in run()
1836 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.h642 inline Instruction *getInsn() const { return insn; } in getInsn() function
680 inline Instruction *getInsn() const { return insn; } in getInsn() function
712 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.cpp1912 res->getInsn()->setIndirect(0, 1, dimRel); in fetchSrc()
1953 res->getInsn()->setIndirect(0, 1, dimRel); in fetchDst()
3009 insn = val->getInsn(); in handleINTERP()
3012 insn = insn->getSrc(0)->getInsn(); in handleINTERP()
Dnv50_ir_lowering_nvc0.cpp53 Instruction *ld = i->getSrc(s)->getInsn(); in handleDIV()
2048 src[0]->getInsn()->setFlagsDef(1, pred); in processSurfaceCoordsNVE4()
2052 src[dim]->getInsn()->setFlagsDef(1, p1); in processSurfaceCoordsNVE4()