Lines Matching defs:Instrs
2653 getInstructionsInTree(TreePatternNode *Tree, SmallVectorImpl<Record*> &Instrs) {
2657 Instrs.push_back(Tree->getOperator());
2659 getInstructionsInTree(Tree->getChild(i), Instrs);
2685 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction");
2687 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) {
2690 if (isa<ListInit>(Instrs[i]->getValueInit("Pattern")))
2691 LI = Instrs[i]->getValueAsListInit("Pattern");
2703 CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]);
2722 Instructions.insert(std::make_pair(Instrs[i],
2728 TreePattern *I = new TreePattern(Instrs[i], LI, true, *this);
2767 CodeGenInstruction &CGI = Target.getInstruction(Instrs[i]);
3073 SmallVector<Record*, 8> Instrs;
3074 getInstructionsInTree(PTM.getDstPattern(), Instrs);
3075 if (Instrs.empty())
3082 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) {
3083 const CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]);
3117 (Instrs.size() == 1 ?
3120 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) {
3121 if (Instrs[i] != PTM.getSrcRecord())
3122 PrintError(Instrs[i]->getLoc(), "defined here");
3123 const CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]);