/external/llvm/utils/TableGen/ |
D | CodeGenInstruction.cpp | 36 if (Init->getDef()->getName() != "outs") in CGIOperandList() 45 if (Init->getDef()->getName() != "ins") in CGIOperandList() 69 Record *Rec = Arg->getDef(); in CGIOperandList() 90 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList() 446 Record *ResultRecord = ADI ? ADI->getDef() : nullptr; in tryAliasOpMatch() 448 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch() 463 if (ADI && ADI->getDef()->isSubClassOf("RegisterOperand")) in tryAliasOpMatch() 464 ADI = ADI->getDef()->getValueAsDef("RegClass")->getDefInit(); in tryAliasOpMatch() 466 if (ADI && ADI->getDef()->isSubClassOf("RegisterClass")) { in tryAliasOpMatch() 470 .hasSubClass(&T.getRegisterClass(ADI->getDef()))) in tryAliasOpMatch() [all …]
|
D | OptParserEmitter.cpp | 181 OS << getOptionName(*DI->getDef()); in EmitOptParser() 226 GroupFlags = DI->getDef()->getValueAsListInit("Flags"); in EmitOptParser() 227 OS << getOptionName(*DI->getDef()); in EmitOptParser() 234 OS << getOptionName(*DI->getDef()); in EmitOptParser() 259 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser() 263 << cast<DefInit>(I)->getDef()->getName(); in EmitOptParser()
|
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 | 875 Record *Def = Pred->getDef(); in getPredicateCheck() 1024 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 1030 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint() 1237 Op = DI->getDef(); in GetNumNodeResults() 1326 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo() 1385 cast<DefInit>(Val)->getDef()->getName() == "node")) { in SubstituteFormalArguments() 1603 Rec = DI->getDef(); in getComplexPatternInfo() 1620 if (DI && DI->getDef()->isSubClassOf("Operand")) { in getNumMIResults() 1621 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo"); in getNumMIResults() 1675 if (DI && DI->getDef()->isSubClassOf(Class)) in isOperandClass() [all …]
|
/external/swiftshader/third_party/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() 85 ->getDef()->getName() != "ops") in CGIOperandList() 416 if (ADI && ADI->getDef() == InstOpRec) { in tryAliasOpMatch() 422 ResOp = ResultOperand(Result->getArgName(AliasOpNo), ADI->getDef()); in tryAliasOpMatch() 427 if (ADI && ADI->getDef()->isSubClassOf("Register")) { in tryAliasOpMatch() 432 InstOpRec = dynamic_cast<DefInit*>(DI->getArg(0))->getDef(); in tryAliasOpMatch() 442 .contains(T.getRegBank().getReg(ADI->getDef()))) in tryAliasOpMatch() 443 throw TGError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch() [all …]
|
D | PseudoLoweringEmitter.cpp | 34 if (DI->getDef()->isSubClassOf("Register") || in addDagOperandMapping() 35 DI->getDef()->getName() == "zero_reg") { in addDagOperandMapping() 37 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); in addDagOperandMapping() 46 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) in addDagOperandMapping() 48 "Pseudo operand type '" + DI->getDef()->getName() + in addDagOperandMapping() 88 Record *Operator = OpDef->getDef(); in evaluateExpansion()
|
D | SetTheory.cpp | 170 dynamic_cast<DefInit&>(*Expr->getOperator()).getDef()->getRecords(); in apply() 177 Record *Rec = Records.getDef(OS.str()); in apply() 228 if (const RecVec *Result = expand(Def->getDef())) in evaluate() 230 Elts.insert(Def->getDef()); in evaluate() 245 Operator *Op = Operators.lookup(OpInit->getDef()->getName()); in evaluate()
|
D | CodeGenDAGPatterns.cpp | 746 Record *Def = Pred->getDef(); in getPredicateCheck() 870 !static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef() in ApplyTypeConstraint() 874 getValueType(static_cast<DefInit*>(NodeToApply->getLeafValue())->getDef()); in ApplyTypeConstraint() 1027 Op = dynamic_cast<DefInit*>(Tree->getOperator())->getDef(); in GetNumNodeResults() 1103 return ((DI->getDef() == NDI->getDef()) in isIsomorphicTo() 1160 static_cast<DefInit*>(Val)->getDef()->getName() == "node") { in SubstituteFormalArguments() 1333 if (DI && DI->getDef()->isSubClassOf("ComplexPattern")) in getComplexPatternInfo() 1334 return &CGP.getComplexPattern(DI->getDef()); in getComplexPatternInfo() 1389 MadeChange |= UpdateNodeType(i, getImplicitType(DI->getDef(), i, in ApplyTypeConstraints() 1744 Record *R = DI->getDef(); in ParseTreePattern() [all …]
|
D | CodeGenRegisters.cpp | 103 if (!BaseIdxInit || !BaseIdxInit->getDef()->isSubClassOf("SubRegIndex")) in getSubRegs() 112 if (!IdxInit || !IdxInit->getDef()->isSubClassOf("SubRegIndex")) in getSubRegs() 116 SubRegMap::const_iterator ni = R2Subs.find(IdxInit->getDef()); in getSubRegs() 124 SubRegs[BaseIdxInit->getDef()] = R2; in getSubRegs() 309 if (!DAGOp || !(RCRec = DAGOp->getDef())->isSubClassOf("RegisterClass")) in CodeGenRegisterClass() 317 if (!Idx || !(IdxRec = Idx->getDef())->isSubClassOf("SubRegIndex")) in CodeGenRegisterClass() 352 assert(!getDef() && "Only synthesized classes can inherit properties"); in inheritProperties() 503 if (!RegClasses[rci]->getDef()) in computeSubClasses() 576 if (Record *Def = RC->getDef()) in addToMaps()
|
D | DAGISelMatcherGen.cpp | 224 Record *LeafRec = DI->getDef(); in EmitLeafMatchCode() 499 CGP.getComplexPattern(((DefInit*)N->getLeafValue())->getDef()); in EmitMatcherCode() 583 Record *Def = DI->getDef(); in EmitResultLeafAsOperand()
|
D | CodeGenRegisters.h | 121 Record *getDef() const { return TheDef; } in getDef() function
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 51 def[0] = bld.mkMovToReg(0, i->getSrc(0))->getDef(0); in handleDIV() 52 def[1] = bld.mkMovToReg(1, i->getSrc(1))->getDef(0); in handleDIV() 60 bld.mkMov(i->getDef(0), def[(i->op == OP_DIV) ? 0 : 1]); in handleDIV() 80 Value *src[2], *dst[2], *def = i->getDef(0); in handleRCPRSQ() 401 prev->setSrc(prev->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 407 bar->setSrc(bar->srcCount(), useVec[i].tex->getDef(0)); in insertTextureBarriers() 592 if (!i->getDef(0)->refCount()) in visit() 1009 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD() 1017 Instruction *u = bld.mkOp(OP_UNION, TYPE_U32, i->getDef(c)); in handleManualTXD() 1151 bld.mkCvt(OP_CVT, TYPE_F32, i->getDef(def), type, i->getDef(def)); in handleTXLQ() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 180 bld->mkOp2(OP_UNION, mul->sType, mul->getDef(0), rr[5], rr[6]); in expandIntegerMUL() 182 bld->mkMov(mul->getDef(0), r[4]); in expandIntegerMUL() 185 bld->mkMov(mul->getDef(0), t[3]); in expandIntegerMUL() 415 i->getDef(0)->reg.size = 2; // $aX are only 16 bit in handleAddrDef() 448 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef() 457 Value *def = mul->getDef(0); in handleMUL() 466 Value *res = cloneShallow(func, mul->getDef(0)); in handleMUL() 469 add->setSrc(0, mul->getDef(0)); in handleMUL() 586 if (insn->defExists(0) && insn->getDef(0)->reg.file == FILE_ADDRESS) in visit() 676 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() 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() 273 if (ld->getDef(0)->refCount() == 0) in visit() 713 i->setSrc(1, bld.mkMov(bld.getSSA(type), i->getSrc(0), type)->getDef(0)); in expr() 862 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 869 mul2->def(0).replace(mul1->getDef(0), false); in tryCollapseChainedMULs() 877 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs() 881 insn = (*mul2->getDef(0)->uses.begin())->getInsn(); in tryCollapseChainedMULs() 886 s2 = insn->getSrc(0) == mul1->getDef(0) ? 0 : 1; in tryCollapseChainedMULs() [all …]
|
D | nv50_ir_ra.cpp | 471 LValue *tmp = new_LValue(func, phi->getDef(0)->asLValue()); in visit() 517 LValue *tmp = new_LValue(func, cal->getDef(d)->asLValue()); in visit() 523 mov->setDef(0, cal->getDef(d)); in visit() 601 bb->liveSet.clr(i->getDef(d)->id); in buildLiveSets() 607 bb->liveSet.clr(i->getDef(0)->id); in buildLiveSets() 656 bb->liveSet.clr(i->getDef(0)->id); in visit() 677 bb->liveSet.clr(i->getDef(d)->id); in visit() 678 if (i->getDef(d)->reg.data.id >= 0) // add hazard for fixed regs in visit() 679 i->getDef(d)->livei.extend(i->serial, i->serial); in visit() 1023 LValue *rep = (split ? insn->getSrc(0) : insn->getDef(0))->asLValue(); in makeCompound() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 170 mov = bld.mkMov(def[c][l], tex->getDef(c)); in handleManualTXD() 177 Instruction *u = bld.mkOp(OP_UNION, TYPE_U32, i->getDef(c)); in handleManualTXD() 213 insn->setSrc(0, shfl->getDef(0)); in handleDFDX()
|
D | nv50_ir.cpp | 769 i->setDef(d, pol.get(getDef(d))); in clone() 794 if (getDef(i)->reg.file != getDef(d)->reg.file) in defCount() 868 if (getDef(d)->inFile(FILE_PREDICATE) || getDef(d)->inFile(FILE_FLAGS)) in writesPredicate() 878 if (getDef(d)->interfers(i->getSrc(s))) in canCommuteDefSrc() 888 if (getDef(d)->interfers(i->getDef(c))) in canCommuteDefDef()
|
D | nv50_ir_build_util.cpp | 188 insn->getDef(0)->reg.data.id = id; in mkMovToReg() 292 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 595 i->setDef(0, cloneShallow(fn, i->getDef(0))); in split64BitOpPostRA() 596 i->getDef(0)->reg.size = 4; in split64BitOpPostRA() 601 hi->getDef(0)->reg.data.id++; in split64BitOpPostRA()
|
/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() 176 std::string GroupName = DI->getDef()->getValueAsString("GroupName"); in groupDiagnostics() 232 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics() 263 const Record *NextDiagGroup = GroupInit->getDef(); in groupDiagnostics() 276 SrcMgr.PrintMessage(GroupInit->getDef()->getLoc().front(), in groupDiagnostics() 404 const Record *GroupRec = Group->getDef(); in compute() 423 if (groupInPedantic(Group->getDef())) in compute() 520 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs() 552 DiagsInGroup.find(DI->getDef()->getValueAsString("GroupName")); in EmitClangDiagsDefs()
|
/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 auto I = Operators.find(OpInit->getDef()->getName()); in evaluate()
|
D | Record.cpp | 553 return DI->getDef(); in getElementAsRecord() 704 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold() 807 if (!LOp || !ROp || LOp->getDef() != ROp->getDef()) in Fold() 1058 Record *Val = RHSd->getDef(); in Fold() 1060 Val = MHSd->getDef(); in Fold() 1434 if (getDef()->isSubClassOf(RRT->getRecord())) in convertInitializerTo() 1786 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() 1841 return DI->getDef(); in getValueAsDef()
|
/external/llvm/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 200 return MemDepResult::getDef(Inst); in getCallSiteDependencyFrom() 389 return MemDepResult::getDef(U); in getInvariantGroupPointerDependency() 490 return MemDepResult::getDef(II); in getSimplePointerDependencyFrom() 551 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 578 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 618 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom() 633 return MemDepResult::getDef(Inst); in getSimplePointerDependencyFrom()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | MemoryDependenceAnalysis.cpp | 226 return MemDepResult::getDef(Inst); in getCallSiteDependencyFrom() 370 return MemDepResult::getDef(II); in getPointerDependencyFrom() 407 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 434 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 459 return MemDepResult::getDef(Inst); in getPointerDependencyFrom() 476 return MemDepResult::getDef(Inst); in getPointerDependencyFrom()
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | Record.cpp | 363 if (!DI->getDef()->isSubClassOf(Rec)) in convertValue() 640 return DI->getDef(); in getElementAsRecord() 748 return StringInit::get(LHSd->getDef()->getName()); in Fold() 788 if (Record *D = (CurRec->getRecords()).getDef(Name)) in Fold() 895 if (LOp == 0 || ROp == 0 || LOp->getDef() != ROp->getDef()) in Fold() 1155 Record *Val = RHSd->getDef(); in Fold() 1157 Val = MHSd->getDef(); in Fold() 1696 if (TrackedRecords.getDef(Name->getAsUnquotedString()) == this) { in setName() 1846 Defs.push_back(DI->getDef()); in getValueAsListOfDefs() 1920 return DI->getDef(); in getValueAsDef()
|