Home | History | Annotate | Download | only in TableGen

Lines Matching defs:DI

1105       if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator()))
1106 Op = DI->getDef();
1186 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) {
1188 return ((DI->getDef() == NDI->getDef())
1462 DefInit *DI = dyn_cast<DefInit>(getLeafValue());
1463 if (!DI)
1465 Rec = DI->getDef();
1481 DefInit *DI = dyn_cast<DefInit>(getLeafValue());
1482 if (DI && DI->getDef()->isSubClassOf("Operand")) {
1483 DagInit *MIOps = DI->getDef()->getValueAsDag("MIOperandInfo");
1542 if (DefInit *DI = dyn_cast<DefInit>(getLeafValue())) {
1546 MadeChange |= UpdateNodeType(i, getImplicitType(DI->getDef(), i,
1897 if (DefInit *DI = dyn_cast<DefInit>(TheInit)) {
1898 Record *R = DI->getDef();
1905 DagInit::get(DI, "",
1910 TreePatternNode *Res = new TreePatternNode(DI, 1);
2139 DefInit *DI = dyn_cast<DefInit>(Nodes[i]->getLeafValue());
2140 if (DI && (DI->getDef()->isSubClassOf("RegisterClass") ||
2141 DI->getDef()->isSubClassOf("RegisterOperand")))
2387 DagInit *DI = DagInit::get(SomeSDNode, "", Ops);
2390 TreePattern P(DefaultOps[i], DI, false, *this);
2422 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue());
2423 if (DI && (DI->getDef()->isSubClassOf("RegisterClass") ||
2424 DI->getDef()->isSubClassOf("RegisterOperand")))
2425 I->error("Input " + DI->getDef()->getName() + " must be named!");
2432 DefInit *DI = dyn_cast<DefInit>(Pat->getLeafValue());
2433 if (!DI) I->error("Input $" + Pat->getName() + " must be an identifier!");
2434 Rec = DI->getDef();
2604 if (DefInit *DI = dyn_cast<DefInit>(N->getLeafValue())) {
2605 Record *LeafRec = DI->getDef();
2705 static bool hasNullFragReference(DagInit *DI) {
2706 DefInit *OpDef = dyn_cast<DefInit>(DI->getOperator());
2713 for (unsigned i = 0, e = DI->getNumArgs(); i != e; ++i) {
2714 DagInit *Arg = dyn_cast<DagInit>(DI->getArg(i));
2726 DagInit *DI = dyn_cast<DagInit>(LI->getElement(i));
2727 assert(DI && "non-dag in an instruction Pattern list?!");
2728 if (hasNullFragReference(DI))
2968 const DAGInstruction &DI = parseInstructionPattern(CGI, LI, Instructions);
2970 (void)DI;
2971 DEBUG(DI.getPattern()->dump());
3585 if (DefInit *DI = dyn_cast<DefInit>(Child->getLeafValue())) {
3586 Record *RR = DI->getDef();