/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_gv100.cpp | 39 bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleCMP() 65 bld.mkOp2(OP_MERGE, i->dType, i->getDef(0), def[0], def[1]); in handleIADD64() 80 src2 = bld.mkOp2(OP_MERGE, TYPE_U64, bld.getSSA(8), src2s[0], src2s[1])->getDef(0); in handleIMAD_HIGH() 103 bld.mkOp3(OP_SELP, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleIMNMX() 113 bld.mkOp3(OP_MAD, i->dType, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleIMUL() 138 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), in handleLOP2() 146 bld.mkOp3(OP_LOP3_LUT, TYPE_U32, i->getDef(0), bld.mkImm(0), i->getSrc(0), in handleNOT() 161 bld.mkBMov(i->getDef(0), bld.mkTSVal(TS_MACTIVE)); in handleQUADON() 162 Instruction *b = bld.mkBMov(bld.mkTSVal(TS_PQUAD_MACTIVE), i->getDef(0)); in handleQUADON() 197 i = bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), bld.mkImm(0), met, pred); in handleSET() [all …]
|
D | nv50_ir_lowering_nvc0.cpp | 76 bld.mkMovFromReg(i->getDef(0), i->op == OP_DIV ? 0 : 1); in handleDIV() 93 def[0] = bld.mkMovToReg(0, src[0])->getDef(0); in handleRCPRSQLib() 94 def[1] = bld.mkMovToReg(1, src[1])->getDef(0); in handleRCPRSQLib() 108 bld.mkOp2(OP_MERGE, TYPE_U64, i->getDef(0), def[0], def[1]); in handleRCPRSQLib() 128 Value *src[2], *dst[2], *def = i->getDef(0); in handleRCPRSQ() 208 Value *dst64 = lo->getDef(0); in handleShift() 587 prev->setSrc(prev->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 593 bar->setSrc(bar->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 840 if (!i->getDef(0)->refCount()) in visit() 1277 bld.mkQuadop(0x00, tex->getDef(c), 0, tex->getDef(c), zero); in handleManualTXD() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 200 bld.mkOp3(OP_SHFL, TYPE_F32, tex->getDef(c), tex->getDef(c), bld.mkImm(0), quad); in handleManualTXD() 207 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD() 214 Instruction *u = bld.mkOp(OP_UNION, TYPE_U32, i->getDef(c)); in handleManualTXD() 250 insn->setSrc(0, shfl->getDef(0)); in handleDFDX() 311 bld.mkOp2(OP_DIV, TYPE_U32, suq->getDef(d), suq->getDef(d), in handleSUQ() 319 Value *dst = suq->getDef(d); in handleSUQ() 340 bld.mkOp2(OP_SHR, TYPE_U32, suq->getDef(0), suq->getDef(0), in handleSUQ() 344 bld.mkOp2(OP_SHR, TYPE_U32, suq->getDef(d), suq->getDef(d), in handleSUQ()
|
D | nv50_ir_lowering_nv50.cpp | 198 bld->mkOp2(OP_UNION, mul->sType, mul->getDef(0), rr[5], rr[6]); in expandIntegerMUL() 200 bld->mkMov(mul->getDef(0), r[4]); in expandIntegerMUL() 203 bld->mkMov(mul->getDef(0), t[3]); in expandIntegerMUL() 438 i->getDef(0)->reg.size = 2; // $aX are only 16 bit in handleAddrDef() 471 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 480 Value *def = mul->getDef(0); in handleMUL() 489 Value *res = cloneShallow(func, mul->getDef(0)); in handleMUL() 492 add->setSrc(0, mul->getDef(0)); in handleMUL() 609 if (insn->defExists(0) && insn->getDef(0)->reg.file == FILE_ADDRESS) in visit() 710 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit() [all …]
|
D | nv50_ir_peephole.cpp | 53 if (!getDef(0)->equals(getSrc(0))) in isNop() 56 if (!getDef(0)->equals(getSrc(1))) in isNop() 74 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead() 110 if (mov->getDef(0)->reg.data.id < 0 && si && si->op != OP_PHI) { in visit() 289 if (ld->getDef(0)->refCount() == 0) in visit() 764 i->setSrc(1, bld.mkMov(bld.getSSA(type), i->getSrc(0), type)->getDef(0)); in expr() 932 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 939 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 947 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs() 951 insn = (*mul2->getDef(0)->uses.begin())->getInsn(); in tryCollapseChainedMULs() [all …]
|
D | nv50_ir_ra.cpp | 505 LValue *tmp = new_LValue(func, phi->getDef(0)->asLValue()); in visit() 551 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 557 mov->setDef(0, cal->getDef(d)); in visit() 635 bb->liveSet.clr(i->getDef(d)->id); in buildLiveSets() 641 bb->liveSet.clr(i->getDef(0)->id); in buildLiveSets() 688 bb->liveSet.clr(i->getDef(0)->id); in visit() 709 bb->liveSet.clr(i->getDef(d)->id); in visit() 710 if (i->getDef(d)->reg.data.id >= 0) // add hazard for fixed regs in visit() 711 i->getDef(d)->livei.extend(i->serial, i->serial); in visit() 1097 LValue *rep = (split ? insn->getSrc(0) : insn->getDef(0))->asLValue(); in makeCompound() [all …]
|
D | nv50_ir_build_util.cpp | 190 insn->getDef(0)->reg.data.id = id; in mkMovToReg() 294 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 625 i->setDef(0, cloneShallow(fn, i->getDef(0))); in split64BitOpPostRA() 626 i->getDef(0)->reg.size = 4; in split64BitOpPostRA() 631 hi->getDef(0)->reg.data.id++; in split64BitOpPostRA()
|
D | nv50_ir.cpp | 773 i->setDef(d, pol.get(getDef(d))); in clone() 798 if (getDef(i)->reg.file != getDef(d)->reg.file) in defCount() 872 if (getDef(d)->inFile(FILE_PREDICATE) || getDef(d)->inFile(FILE_FLAGS)) in writesPredicate() 882 if (getDef(d)->interfers(i->getSrc(s))) in canCommuteDefSrc() 892 if (getDef(d)->interfers(i->getDef(c))) in canCommuteDefDef()
|
D | nv50_ir_emit_nvc0.cpp | 1315 if (i->getDef(0)->interfers(i->next->getSrc(0))) in isNextIndependentTex() 1317 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex() 1597 rDef = i->getDef(0); in emitBAR() 1599 pDef = i->getDef(0); in emitBAR() 1603 rDef = i->getDef(1); in emitBAR() 1605 pDef = i->getDef(1); in emitBAR() 1662 code[0] |= ((i->getDef(0)->reg.size / 4) - 1) << 5; in emitVFETCH() 2295 code[1] |= i->getDef(0)->reg.data.id << 23; in emitSUCalc() 2299 code[1] |= i->getDef(1)->reg.data.id << 23; in emitSUCalc() 3365 recordWr(insn->getDef(d), ready); in commitInsn()
|
D | nv50_ir_ssa.cpp | 250 assigned.set(i->getDef(d)->id); in buildLiveSetsPreSSA() 282 bb->defSet.set(i->getDef(d)->id); in buildDefSetsPreSSA()
|
D | nv50_ir_emit_gv100.cpp | 361 emitField(84, 1, insn->getDef(0)->reg.data.ts == TS_PQUAD_MACTIVE ? 1 : 0); in emitMOV() 709 emitPRED (81, insn->flagsDef >= 0 ? insn->getDef(insn->flagsDef) : NULL); in emitIADD3() 843 emitField(74, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitALD() 1575 emitField(74, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitAL2P()
|
D | nv50_ir_emit_gk110.cpp | 497 assert(i->getDef(0)->reg.data.id == i->getSrc(2)->reg.data.id); in emitFMAD() 1269 if (i->getDef(0)->interfers(i->next->getSrc(0))) in isNextIndependentTex() 1271 return !i->next->srcExists(1) || !i->getDef(0)->interfers(i->next->getSrc(1)); in isNextIndependentTex() 1886 code[1] |= i->getDef(1)->reg.data.id << pos; in emitSUCalc() 1890 code[1] |= i->getDef(1)->reg.data.id << pos; in emitSUCalc()
|
D | nv50_ir_emit_gm107.cpp | 1396 assert(insn->getDef(0)->reg.data.id == insn->getSrc(2)->reg.data.id); in emitFFMA() 2529 emitField(0x2f, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitALD() 2560 emitField(0x2f, 2, (insn->getDef(0)->reg.size / 4) - 1); in emitAL2P() 3969 recordWr(insn->getDef(d), cycle, ready); in commitInsn() 4120 const Value* def = insn->getDef(d); in doesInsnWriteTo() 4167 if (doesInsnWriteTo(bari, insn->getDef(d))) in findFirstUse()
|
D | nv50_ir_emit_nv50.cpp | 343 setDst(i->getDef(d)); in setDst() 758 DataFile df = i->getDef(0)->reg.file; in emitMOV() 1978 else if (insn->getDef(0)->reg.file == FILE_ADDRESS) in emitInstruction()
|
D | nv50_ir_from_tgsi.cpp | 1854 return insn->getDef(0); in interpolate() 2068 return ld->getDef(0); in fetchSrc() 2073 return ld->getDef(0); in fetchSrc() 2085 return ld->getDef(0); in fetchSrc() 2294 proj = insn->getDef(0); in loadProjTexCoords() 2308 dst[c] = insn->getDef(0); in loadProjTexCoords() 3289 val0 = mkOp1(op, TYPE_F32, getScratch(), fetchSrc(0, 0))->getDef(0); in handleInstruction()
|
D | nv50_ir_print.cpp | 742 pos += getDef(d)->print(&buf[pos], size - pos); in print()
|
D | nv50_ir.h | 880 inline Value *getDef(int d) const { return defs[d].get(); } in getDef() function
|
D | nv50_ir_from_nir.cpp | 1274 split[0] = mkMov(getSSA(), split[0], ty)->getDef(0); in storeTo() 1275 split[1] = mkMov(getSSA(), split[1], ty)->getDef(0); in storeTo() 1284 src = mkMov(getSSA(size), src, ty)->getDef(0); in storeTo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | SetTheory.cpp | 214 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 225 Record *Rec = Records.getDef(OS.str()); in apply() 285 if (const RecVec *Result = expand(Def->getDef())) in evaluate() 287 Elts.insert(Def->getDef()); in evaluate() 302 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
|
D | Record.cpp | 642 return DI->getDef(); in getElementAsRecord() 738 D = CurRec->getRecords().getDef(Name->getValue()); in Fold() 909 if (LOp && ROp && LOp->getDef() != ROp->getDef()) { in Fold() 1180 Record *Val = RHSd->getDef(); in Fold() 1182 Val = MHSd->getDef(); in Fold() 1769 Record *Def = DI->getDef(); in Fold() 1971 return DefI->getDef(); in getOperatorAsDef() 2250 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() 2311 return DI->getDef(); in getValueAsDef() 2323 return DI->getDef(); in getValueAsOptionalDef()
|
D | JSONBackend.cpp | 81 obj["def"] = Def->getDef()->getName(); in translateInit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 219 return MemDepResult::getDef(Inst); in getCallDependencyFrom() 429 return MemDepResult::getDef(ClosestDependency); in getInvariantGroupPointerDependency() 436 MemDepResult::getDef(ClosestDependency), nullptr)); in getInvariantGroupPointerDependency() 540 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 587 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 614 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 655 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 670 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
|
D | IVDescriptors.cpp | 952 auto getDef = [&](const Value *Val) -> Value * { in getCastsForInductionPHI() local 998 Val = getDef(Val); in getCastsForInductionPHI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | MemoryDependenceAnalysis.h | 131 static MemDepResult getDef(Instruction *Inst) { in getDef() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | Record.h | 1193 Record *getDef() const { return Def; } in getDef() function 1712 Record *getDef(StringRef Name) const { in getDef() function 1718 if (Record *R = getDef(Name)) in getGlobal() 1741 assert(!getDef(Name)); in addExtraGlobal()
|