llvm.org GIT mirror llvm / fb1aab0
Add opcode to TargetInstrDescriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31804 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 14 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
196196 else
197197 MinOperands = 0;
198198
199 OS << " { \"";
199 OS << " { ";
200 OS << Num << ",\t" << MinOperands << ",\t\"";
201
200202 if (Inst.Name.empty())
201203 OS << Inst.TheDef->getName();
202204 else
205207 unsigned ItinClass = !IsItineraries ? 0 :
206208 ItinClassNumber(Inst.TheDef->getValueAsDef("Itinerary")->getName());
207209
208 OS << "\",\t" << MinOperands << ", " << ItinClass
209 << ", 0";
210 OS << "\",\t" << ItinClass << ", 0";
210211
211212 // Try to determine (from the pattern), if the instruction is a store.
212213 bool isStore = false;