/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_peephole.cpp | 51 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 …]
|
D | nv50_ir_lowering_nv50.cpp | 69 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 …]
|
D | nv50_ir_ra.cpp | 372 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 …]
|
D | nv50_ir_inlines.h | 214 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()
|
D | nv50_ir_emit_nv50.cpp | 247 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 …]
|
D | nv50_ir_ssa.cpp | 246 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()
|
D | nv50_ir_print.cpp | 477 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()
|
D | nv50_ir_from_tgsi.cpp | 164 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 …]
|
D | nv50_ir.cpp | 278 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()
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_peephole.cpp | 51 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 …]
|
D | nv50_ir_lowering_nv50.cpp | 69 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 …]
|
D | nv50_ir_ra.cpp | 372 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 …]
|
D | nv50_ir_inlines.h | 214 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()
|
D | nv50_ir_emit_nv50.cpp | 247 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 …]
|
D | nv50_ir_ssa.cpp | 246 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()
|
D | nv50_ir_print.cpp | 477 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()
|
D | nv50_ir_from_tgsi.cpp | 164 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 …]
|
D | nv50_ir.cpp | 278 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()
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 64 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 …]
|
D | nv50_ir_target_nvc0.cpp | 396 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 ® = ld->getSrc(0)->asImm()->reg; in insnCanLoad() 437 if (ld->getSrc(0)->asImm()->reg.data.u32 & 0xfff) in insnCanLoad()
|
D | nv50_ir_emit_nvc0.cpp | 304 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/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 64 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 …]
|
D | nv50_ir_target_nvc0.cpp | 396 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 ® = ld->getSrc(0)->asImm()->reg; in insnCanLoad() 437 if (ld->getSrc(0)->asImm()->reg.data.u32 & 0xfff) in insnCanLoad()
|
D | nv50_ir_emit_nvc0.cpp | 304 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/ |
D | ElemExtensionScript.java | 88 public String getSrc() in getSrc() method in ElemExtensionScript
|