llvm.org GIT mirror llvm / bf1aab1
Tidy up. Whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154531 91177308-0d34-0410-b5e6-96231b3b80d8 Jim Grosbach 8 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
372372
373373 // We must emit the PHI opcode first...
374374 std::string Namespace = Target.getInstNamespace();
375
375
376376 if (Namespace.empty()) {
377377 fprintf(stderr, "No instructions defined!\n");
378378 exit(1);
3030 RecordKeeper &Records;
3131 CodeGenDAGPatterns CDP;
3232 std::map ItinClassMap;
33
33
3434 public:
3535 InstrInfoEmitter(RecordKeeper &R) : Records(R), CDP(R) { }
3636
4040 private:
4141 void emitEnums(raw_ostream &OS);
4242
43 typedef std::map, unsigned> OperandInfoMapTy;
43 typedef std::map, unsigned> OperandInfoMapTy;
4444 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
45 Record *InstrInfo,
45 Record *InstrInfo,
4646 std::map, unsigned> &EL,
4747 const OperandInfoMapTy &OpInfo,
4848 raw_ostream &OS);
5050 // Itinerary information.
5151 void GatherItinClasses();
5252 unsigned getItinClassNumber(const Record *InstRec);
53
53
5454 // Operand information.
5555 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
5656 std::vector GetOperandInfo(const CodeGenInstruction &Inst);