Home
last modified time | relevance | path

Searched refs:getSrc (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp51 if (!getDef(0)->equals(getSrc(0))) in isNop()
54 if (!def(0).rep()->equals(getSrc(1))) in isNop()
99 if (mov->op != OP_MOV || mov->fixed || !mov->getSrc(0)->asLValue()) in visit()
105 si = mov->getSrc(0)->getInsn(); in visit()
108 mov->def(0).replace(mov->getSrc(0), false); in visit()
162 Instruction *i0 = insn->getSrc(0)->getInsn(); in checkSwapSrc01()
163 Instruction *i1 = insn->getSrc(1)->getInsn(); in checkSwapSrc01()
206 Instruction *ld = i->getSrc(s)->getInsn(); in visit()
214 i->setSrc(s, ld->getSrc(0)); in visit()
302 next = insn->getSrc(0)->getInsn(); in findOriginForTestWithZero()
[all …]
Dnv50_ir_lowering_nv50.cpp69 i[0] = bld->mkSplit(a, halfSize, mul->getSrc(0)); in expandIntegerMUL()
70 i[1] = bld->mkSplit(b, halfSize, mul->getSrc(1)); in expandIntegerMUL()
145 (*it)->getSrc(1)->defs.front()->getInsn()->setDef(0, (*it)->getSrc(0)); in visit()
157 ImmediateValue *imm = i->getSrc(s)->asImm(); in replaceZero()
282 if (st->src(0).isIndirect(0) || st->getSrc(1)->refCount() != 1) in propagateWriteToOutput()
286 Instruction *di = st->getSrc(1)->defs.front()->getInsn(); in propagateWriteToOutput()
330 Value *a = i->getSrc(s); in handleAddrDef()
334 i->setSrc(s, a->getInsn()->getSrc(0)); in handleAddrDef()
349 i->setDef(0, arl->getSrc(0)); in handleAddrDef()
367 mul = bld.mkOp2(OP_MUL, add->sType, res, add->getSrc(0), add->getSrc(1)); in handleMUL()
[all …]
Dnv50_ir_ra.cpp372 mov->setSrc(0, phi->getSrc(j)); in visit()
398 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit()
404 mov->setSrc(0, cal->getSrc(s)); in visit()
498 if (i->getSrc(s)->asLValue()) in buildLiveSets()
499 bb->liveSet.set(i->getSrc(s)->id); in buildLiveSets()
555 if (i->getSrc(s)->getUniqueInsn()->bb == bb) // XXX: reachableBy ? in visit()
556 bb->liveSet.set(i->getSrc(s)->id); in visit()
558 bb->liveSet.clr(i->getSrc(s)->id); in visit()
578 if (!i->getSrc(s)->asLValue()) in visit()
580 if (!bb->liveSet.test(i->getSrc(s)->id)) { in visit()
[all …]
Dnv50_ir_inlines.h214 return srcs[s].isIndirect(dim) ? getSrc(srcs[s].indirect[dim]) : NULL; in getIndirect()
219 return (predSrc >= 0) ? getSrc(predSrc) : NULL; in getPredicate()
244 return tex.rIndirectSrc >= 0 ? getSrc(tex.rIndirectSrc) : NULL; in getIndirectR()
249 return tex.rIndirectSrc >= 0 ? getSrc(tex.rIndirectSrc) : NULL; in getIndirectS()
299 pol.set(obj->getSrc(i), obj->getSrc(i)); in cloneForward()
Dnv50_ir_emit_nv50.cpp247 assert(i->getSrc(s)->reg.file == FILE_FLAGS); in emitFlagsRd()
402 code[1] |= (i->getSrc(1)->reg.fileIndex << 22); in setSrcFileBits()
411 code[1] |= (i->getSrc(1)->reg.fileIndex << 22); in setSrcFileBits()
415 code[1] |= (i->getSrc(2)->reg.fileIndex << 22); in setSrcFileBits()
419 code[1] |= 0x00200000 | (i->getSrc(2)->reg.fileIndex << 22); in setSrcFileBits()
433 switch (i->getSrc(0)->reg.type) { in setSrcFileBits()
444 assert(i->getSrc(0)->reg.size == 4); in setSrcFileBits()
596 int32_t offset = i->getSrc(0)->reg.data.offset; in emitLOAD()
625 code[1] = 0x20000000 | (i->getSrc(0)->reg.fileIndex << 22); in emitLOAD()
635 code[0] = 0xd0000001 | (i->getSrc(0)->reg.fileIndex << 16); in emitLOAD()
[all …]
Dnv50_ir_ssa.cpp246 if (i->getSrc(s)->asLValue() && !assigned.test(i->getSrc(s)->id)) in buildLiveSetsPreSSA()
247 usedBeforeAssigned.set(i->getSrc(s)->id); in buildLiveSetsPreSSA()
468 lval = stmt->getSrc(s)->asLValue(); in search()
473 lval = mkUndefined(stmt->getSrc(s)); in search()
502 lval = getStackTop(phi->getSrc(p)); in search()
504 lval = mkUndefined(phi->getSrc(p)); in search()
Dnv50_ir_print.cpp477 if (getSrc(predSrc)->reg.file == FILE_PREDICATE) { in print()
485 pos += getSrc(predSrc)->print(&buf[pos], BUFSZ - pos); in print()
549 pos += getSrc(s)->asSym()->print(&buf[pos], BUFSZ - pos, in print()
553 pos += getSrc(s)->print(&buf[pos], BUFSZ - pos, sType); in print()
Dnv50_ir_from_tgsi.cpp164 SrcRegister getSrc(unsigned int s) const in getSrc() function in tgsi::Instruction
947 insn.getSrc(0).getFile() == TGSI_FILE_INPUT; in isEdgeFlagPassthrough()
968 info->io.edgeFlagIn = insn.getSrc(0).getIndex(0); in scanInstruction()
977 Instruction::SrcRegister src = insn.getSrc(s); in scanInstruction()
1006 switch (getSrc(s).getFile()) { in getTexture()
1009 unsigned int r = getSrc(s).getIndex(0); in getTexture()
1229 Modifier m = tgsi.getSrc(s).getMod(c); in applySrcMod()
1246 const int index = tgsi.getSrc(s).getIndex(1); in getVertexBase()
1248 if (tgsi.getSrc(s).isIndirect(1)) in getVertexBase()
1249 rel = fetchSrc(tgsi.getSrc(s).getIndirect(1), 0, NULL); in getVertexBase()
[all …]
Dnv50_ir.cpp278 return !insn->srcExists(1) && insn->getSrc(0)->isUniform(); in isUniform()
746 i->setSrc(s, pol.get(getSrc(s))); in clone()
787 if (getSrc(i)->reg.file != getSrc(s)->reg.file) in srcCount()
852 if (a->getDef(d)->interfers(b->getSrc(s))) in insnCheckCommutationDefSrc()
Dnv50_ir_target_nv50.cpp334 if (ld->getSrc(0)->reg.data.offset > (int32_t)(127 * ldSize)) in insnCanLoad()
Dnv50_ir_build_util.cpp202 insn->getSrc(0)->reg.data.id = id; in mkMovFromReg()
Dnv50_ir.h615 inline Value *getSrc(int s) const { return srcs[s].get(); } in getSrc() function
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp64 def[0] = bld.mkMovToReg(0, i->getSrc(0))->getDef(0); in handleDIV()
65 def[1] = bld.mkMovToReg(1, i->getSrc(1))->getDef(0); in handleDIV()
204 while (insn->op == OP_MOV && insn->getDef(0)->equals(insn->getSrc(0))) in findOverwritingDefs()
205 insn = insn->getSrc(0)->getUniqueInsn(); in findOverwritingDefs()
220 findOverwritingDefs(texi, insn->getSrc(s)->getUniqueInsn(), term, in findOverwritingDefs()
243 Instruction *defi = usei->getSrc(s)->getUniqueInsn(); in findFirstUses()
256 if (usei->op == OP_MOV && usei->getDef(0)->equals(usei->getSrc(0)) && in findFirstUses()
479 ImmediateValue *imm = i->getSrc(s)->asImm(); in replaceZero()
657 Value *src = i->getSrc(arg - 1); in handleTEX()
662 i->setSrc(s, i->getSrc(s - 1)); in handleTEX()
[all …]
Dnv50_ir_target_nvc0.cpp396 if (sf == FILE_IMMEDIATE && ld->getSrc(0)->reg.data.u64 == 0) in insnCanLoad()
410 if (i->getSrc(k)->reg.data.u64 != 0) in insnCanLoad()
421 Storage &reg = ld->getSrc(0)->asImm()->reg; in insnCanLoad()
437 if (ld->getSrc(0)->asImm()->reg.data.u32 & 0xfff) in insnCanLoad()
Dnv50_ir_emit_nvc0.cpp304 if (i->srcExists(2) && i->getSrc(2)->reg.file == FILE_MEMORY_CONST) in emitForm_A()
308 switch (i->getSrc(s)->reg.file) { in emitForm_A()
312 code[1] |= i->getSrc(s)->reg.fileIndex << 10; in emitForm_A()
390 code[0] |= i->getSrc(s)->reg.data.offset << 24; in emitForm_S()
392 code[0] |= i->getSrc(s)->reg.data.offset << 6; in emitForm_S()
986 if (i->getDef(0)->interfers(i->next->getSrc(0))) in isNextIndependentTex()
988 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex()
1219 if (i->getSrc(0)->reg.file == FILE_SHADER_OUTPUT) in emitVFETCH()
1295 const uint32_t base = i->getSrc(0)->reg.data.offset; in emitINTERP()
1791 if (i->getSrc(s)->reg.fileIndex > 1 && in getMinEncodingSize()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemExtensionScript.java88 public String getSrc() in getSrc() method in ElemExtensionScript
DElemExtensionDecl.java217 srcURL = sdecl.getSrc(); in compose()
/external/llvm/include/llvm/IR/
DIntrinsicInst.h345 Value *getSrc() const { return const_cast<Value*>(getArgOperand(1)); } in getSrc() function
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h114 Instruction *getSrc() const { return Src; } in getSrc() function
/external/clang/lib/StaticAnalyzer/Core/
DBugReporter.cpp616 const CFGBlock *Src = BE->getSrc(); in GenerateMinimalPathDiagnostic()
1312 const CFGBlock *Src = BE->getSrc(); in isJumpToFalseBranch()
1491 if (const Stmt *Loop = BE->getSrc()->getLoopTarget()) { in GenerateExtensivePathDiagnostic()
1515 const CFGBlock *BSrc = BE->getSrc(); in GenerateExtensivePathDiagnostic()
1775 if (const Stmt *Loop = BE->getSrc()->getLoopTarget()) { in GenerateAlternateExtensivePathDiagnostic()
1807 const CFGBlock *BSrc = BE->getSrc(); in GenerateAlternateExtensivePathDiagnostic()
DExprEngineC.cpp565 const CFGBlock *SrcBlock = BE.getSrc(); in VisitLogicalExpr()
679 SrcBlock = PP.castAs<BlockEdge>().getSrc(); in VisitGuardedExpr()
DPathDiagnostic.cpp668 const CFGBlock *BSrc = BE->getSrc(); in create()
699 return BE->getSrc()->getTerminator(); in getStmt()
DExprEngine.cpp2577 Out << "Edge: (B" << E.getSrc()->getBlockID() << ", B" in getNodeLabel()
2580 if (const Stmt *T = E.getSrc()->getTerminator()) { in getNodeLabel()
2585 E.getSrc()->printTerminator(Out, LO); in getNodeLabel()
2624 if (*E.getSrc()->succ_begin() == E.getDst()) in getNodeLabel()
DBugReporterVisitors.cpp874 const CFGBlock *srcBlk = BE->getSrc(); in peelOffOuterExpr()
1180 const CFGBlock *srcBlk = BE->getSrc(); in VisitNodeImpl()
/external/clang/include/clang/Analysis/
DProgramPoint.h456 const CFGBlock *getSrc() const { in getSrc() function

12