/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 36 if (Init->getDef()->getName() != "outs") in CGIOperandList() 45 if (Init->getDef()->getName() != "ins") in CGIOperandList() 67 Record *Rec = Arg->getDef(); in CGIOperandList() 84 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 439 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch() 441 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch() 456 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 457 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch() 459 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch() 463 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch() [all …]
|
D | PseudoLoweringEmitter.cpp | 81 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping() 82 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping() 84 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping() 93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping() 95 "Pseudo operand type '" + DI->getDef()->getName() + in addDagOperandMapping() 135 Record *Operator = OpDef->getDef(); in evaluateExpansion()
|
D | CodeGenDAGPatterns.cpp | 787 Record *Def = Pred->getDef(); in getPredicateCheck() 912 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 918 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint() 1106 Op = DI->getDef(); in GetNumNodeResults() 1188 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo() 1247 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() 1465 Rec = DI->getDef(); in getComplexPatternInfo() 1482 if (DI && DI->getDef()->isSubClassOf("Operand")) { in getNumMIResults() 1483 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo"); in getNumMIResults() 1546 MadeChange |= UpdateNodeType(i, getImplicitType(DI->getDef(), i, in ApplyTypeConstraints() [all …]
|
D | OptParserEmitter.cpp | 181 OS << getOptionName(*DI->getDef()); in EmitOptParser() 225 OS << getOptionName(*DI->getDef()); in EmitOptParser() 232 OS << getOptionName(*DI->getDef()); in EmitOptParser() 260 OS << cast<DefInit>(LI->getElement(i))->getDef()->getName(); in EmitOptParser()
|
D | FastISelEmitter.cpp | 252 Record *OpLeafRec = OpDI->getDef(); in initialize() 412 Record *OpLeafRec = cast<DefInit>(Op->getLeafValue())->getDef(); in PhyRegForNode() 480 SubRegNo = getQualifiedName(SR->getDef()); in collectPatterns()
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 88 i[5] = bld->mkOp3(OP_MAD, fTy, mul->getDef(0), a[1], b[1], r[2]); in expandIntegerMUL() 96 bld->mkMov(mul->getDef(0), t[3]); in expandIntegerMUL() 318 i->getDef(0)->reg.size = 2; // $aX are only 16 bit in handleAddrDef() 348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 357 Value *def = mul->getDef(0); in handleMUL() 366 Value *res = cloneShallow(func, mul->getDef(0)); in handleMUL() 369 add->setSrc(0, mul->getDef(0)); in handleMUL() 505 if (insn->defExists(0) && insn->getDef(0)->reg.file == FILE_ADDRESS) in visit() 570 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit() 662 bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0)); in handleTXB() [all …]
|
D | nv50_ir_peephole.cpp | 51 if (!getDef(0)->equals(getSrc(0))) in isNop() 70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead() 106 if (mov->getDef(0)->reg.data.id < 0 && si && si->op != OP_PHI) { in visit() 218 if (ld->getDef(0)->refCount() == 0) in visit() 577 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 583 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs() 595 insn = mul2->getDef(0)->uses.front()->getInsn(); in tryCollapseChainedMULs() 600 s2 = insn->getSrc(0) == mul1->getDef(0) ? 0 : 1; in tryCollapseChainedMULs() 712 tB = s ? bld.getSSA() : i->getDef(0); in opnd() [all …]
|
D | nv50_ir_ra.cpp | 373 mov->setDef(0, new_LValue(func, phi->getDef(0)->asLValue())); in visit() 374 phi->setSrc(j, mov->getDef(0)); in visit() 412 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 418 mov->setDef(0, cal->getDef(d)); in visit() 496 bb->liveSet.clr(i->getDef(d)->id); in buildLiveSets() 502 bb->liveSet.clr(i->getDef(0)->id); in buildLiveSets() 551 bb->liveSet.clr(i->getDef(0)->id); in visit() 572 bb->liveSet.clr(i->getDef(d)->id); in visit() 573 if (i->getDef(d)->reg.data.id >= 0) // add hazard for fixed regs in visit() 574 i->getDef(d)->livei.extend(i->serial, i->serial); in visit() [all …]
|
D | nv50_ir.cpp | 743 i->setDef(d, pol.get(getDef(d))); in clone() 768 if (getDef(i)->reg.file != getDef(d)->reg.file) in defCount() 842 if (getDef(d)->inFile(FILE_PREDICATE) || getDef(d)->inFile(FILE_FLAGS)) in writesPredicate() 852 if (a->getDef(d)->interfers(b->getSrc(s))) in insnCheckCommutationDefSrc() 862 if (a->getDef(d)->interfers(b->getDef(c))) in insnCheckCommutationDefDef()
|
D | nv50_ir_build_util.cpp | 188 insn->getDef(0)->reg.data.id = id; in mkMovToReg() 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit()
|
D | nv50_ir_ssa.cpp | 249 assigned.set(i->getDef(d)->id); in buildLiveSetsPreSSA() 281 bb->defSet.set(i->getDef(d)->id); in buildDefSetsPreSSA()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 88 i[5] = bld->mkOp3(OP_MAD, fTy, mul->getDef(0), a[1], b[1], r[2]); in expandIntegerMUL() 96 bld->mkMov(mul->getDef(0), t[3]); in expandIntegerMUL() 318 i->getDef(0)->reg.size = 2; // $aX are only 16 bit in handleAddrDef() 348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 357 Value *def = mul->getDef(0); in handleMUL() 366 Value *res = cloneShallow(func, mul->getDef(0)); in handleMUL() 369 add->setSrc(0, mul->getDef(0)); in handleMUL() 505 if (insn->defExists(0) && insn->getDef(0)->reg.file == FILE_ADDRESS) in visit() 570 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit() 662 bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0)); in handleTXB() [all …]
|
D | nv50_ir_peephole.cpp | 51 if (!getDef(0)->equals(getSrc(0))) in isNop() 70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead() 106 if (mov->getDef(0)->reg.data.id < 0 && si && si->op != OP_PHI) { in visit() 218 if (ld->getDef(0)->refCount() == 0) in visit() 577 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 583 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs() 595 insn = mul2->getDef(0)->uses.front()->getInsn(); in tryCollapseChainedMULs() 600 s2 = insn->getSrc(0) == mul1->getDef(0) ? 0 : 1; in tryCollapseChainedMULs() 712 tB = s ? bld.getSSA() : i->getDef(0); in opnd() [all …]
|
D | nv50_ir_ra.cpp | 373 mov->setDef(0, new_LValue(func, phi->getDef(0)->asLValue())); in visit() 374 phi->setSrc(j, mov->getDef(0)); in visit() 412 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 418 mov->setDef(0, cal->getDef(d)); in visit() 496 bb->liveSet.clr(i->getDef(d)->id); in buildLiveSets() 502 bb->liveSet.clr(i->getDef(0)->id); in buildLiveSets() 551 bb->liveSet.clr(i->getDef(0)->id); in visit() 572 bb->liveSet.clr(i->getDef(d)->id); in visit() 573 if (i->getDef(d)->reg.data.id >= 0) // add hazard for fixed regs in visit() 574 i->getDef(d)->livei.extend(i->serial, i->serial); in visit() [all …]
|
D | nv50_ir.cpp | 743 i->setDef(d, pol.get(getDef(d))); in clone() 768 if (getDef(i)->reg.file != getDef(d)->reg.file) in defCount() 842 if (getDef(d)->inFile(FILE_PREDICATE) || getDef(d)->inFile(FILE_FLAGS)) in writesPredicate() 852 if (a->getDef(d)->interfers(b->getSrc(s))) in insnCheckCommutationDefSrc() 862 if (a->getDef(d)->interfers(b->getDef(c))) in insnCheckCommutationDefDef()
|
D | nv50_ir_build_util.cpp | 188 insn->getDef(0)->reg.data.id = id; in mkMovToReg() 289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit()
|
/external/clang/utils/TableGen/ |
D | ClangSACheckersEmitter.cpp | 33 return isHidden(*DI->getDef()); in isHidden() 47 name = getPackageFullName(DI->getDef()); in getParentPackageFullName() 135 package = DI->getDef(); in EmitClangSACheckers() 156 Record *parentPackage = DI->getDef(); in EmitClangSACheckers() 162 recordGroupMap[DI->getDef()]->Checkers.insert(R); in EmitClangSACheckers() 169 addPackageToCheckerGroup(packages[i], DI->getDef(), recordGroupMap); in EmitClangSACheckers() 210 OS << groupToSortIndex[DI->getDef()] << ", "; in EmitClangSACheckers() 238 OS << groupToSortIndex[DI->getDef()] << ", "; in EmitClangSACheckers()
|
D | ClangDiagnosticsEmitter.cpp | 86 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory() 177 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics() 233 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics() 264 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics() 277 SrcMgr.PrintMessage(GroupInit->getDef()->getLoc().front(), in groupDiagnostics() 405 const Record *GroupRec = Group->getDef(); in compute() 424 if (groupInPedantic(Group->getDef())) in compute() 521 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs() 553 DiagsInGroup.find(DI->getDef()->getValueAsString("GroupName")); in EmitClangDiagsDefs()
|
/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() 73 bld.mkMov(i->getDef(0), def[(i->op == OP_DIV) ? 0 : 1]); in handleDIV() 204 while (insn->op == OP_MOV && insn->getDef(0)->equals(insn->getSrc(0))) in findOverwritingDefs() 236 Value *v = insn->getDef(d); in findFirstUses() 256 if (usei->op == OP_MOV && usei->getDef(0)->equals(usei->getSrc(0)) && in findFirstUses() 360 prev->setSrc(prev->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 366 bar->setSrc(bar->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 556 if (!i->getDef(0)->refCount()) in visit() 789 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD() [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() 73 bld.mkMov(i->getDef(0), def[(i->op == OP_DIV) ? 0 : 1]); in handleDIV() 204 while (insn->op == OP_MOV && insn->getDef(0)->equals(insn->getSrc(0))) in findOverwritingDefs() 236 Value *v = insn->getDef(d); in findFirstUses() 256 if (usei->op == OP_MOV && usei->getDef(0)->equals(usei->getSrc(0)) && in findFirstUses() 360 prev->setSrc(prev->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 366 bar->setSrc(bar->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 556 if (!i->getDef(0)->refCount()) in visit() 789 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD() [all …]
|
/external/llvm/lib/TableGen/ |
D | SetTheory.cpp | 204 cast<DefInit>(Expr->getOperator())->getDef()->getRecords(); in apply() 215 Record *Rec = Records.getDef(OS.str()); in apply() 275 if (const RecVec *Result = expand(Def->getDef())) in evaluate() 277 Elts.insert(Def->getDef()); in evaluate() 292 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); in evaluate()
|
D | Record.cpp | 344 if (!DI->getDef()->isSubClassOf(Rec)) in convertValue() 665 return DI->getDef(); in getElementAsRecord() 759 return StringInit::get(LHSd->getDef()->getName()); in Fold() 803 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold() 899 if (!LOp || !ROp || LOp->getDef() != ROp->getDef()) in Fold() 1163 Record *Val = RHSd->getDef(); in Fold() 1165 Val = MHSd->getDef(); in Fold() 1693 if (TrackedRecords.getDef(Name->getAsUnquotedString()) == this) { in setName() 1852 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() 1926 return DI->getDef(); in getValueAsDef()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 230 return MemDepResult::getDef(Inst); in getCallSiteDependencyFrom() 400 return MemDepResult::getDef(II); in getPointerDependencyFrom() 437 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 464 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 489 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 508 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.cpp | 418 static MachineInstr *getDef(unsigned Reg, in getDef() function 446 MachineInstr *RLL = getDef(SrcReg, MRI); in removeIPMBasedCompare() 449 RLL = getDef(LGFR->getOperand(1).getReg(), MRI); in removeIPMBasedCompare() 454 MachineInstr *SRL = getDef(RLL->getOperand(1).getReg(), MRI); in removeIPMBasedCompare() 458 MachineInstr *IPM = getDef(SRL->getOperand(1).getReg(), MRI); in removeIPMBasedCompare()
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryDependenceAnalysis.h | 104 static MemDepResult getDef(Instruction *Inst) { in getDef() function
|