diff options
| author | Jim Grosbach <grosbach@apple.com> | 2012-04-11 21:02:30 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2012-04-11 21:02:30 +0000 |
| commit | dac4a95b354fbe28bba4ccf0fc7f05997cc9efba (patch) | |
| tree | 7f30107a5c28b7a9d17c260b28676507a2d4c48e | |
| parent | b8caac8e321d28ec5aa45eccf199e40659c09493 (diff) | |
| download | bcm5719-llvm-dac4a95b354fbe28bba4ccf0fc7f05997cc9efba.tar.gz bcm5719-llvm-dac4a95b354fbe28bba4ccf0fc7f05997cc9efba.zip | |
Tidy up. Whitespace.
llvm-svn: 154531
| -rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 2 | ||||
| -rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index 0941d2e8818..8b3efd33f4d 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -373,7 +373,7 @@ void InstrInfoEmitter::emitEnums(raw_ostream &OS) { // We must emit the PHI opcode first... std::string Namespace = Target.getInstNamespace(); - + if (Namespace.empty()) { fprintf(stderr, "No instructions defined!\n"); exit(1); diff --git a/llvm/utils/TableGen/InstrInfoEmitter.h b/llvm/utils/TableGen/InstrInfoEmitter.h index 1461e2c5f7c..ba4048efd03 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.h +++ b/llvm/utils/TableGen/InstrInfoEmitter.h @@ -31,7 +31,7 @@ class InstrInfoEmitter : public TableGenBackend { RecordKeeper &Records; CodeGenDAGPatterns CDP; std::map<std::string, unsigned> ItinClassMap; - + public: InstrInfoEmitter(RecordKeeper &R) : Records(R), CDP(R) { } @@ -41,9 +41,9 @@ public: private: void emitEnums(raw_ostream &OS); - typedef std::map<std::vector<std::string>, unsigned> OperandInfoMapTy; + typedef std::map<std::vector<std::string>, unsigned> OperandInfoMapTy; void emitRecord(const CodeGenInstruction &Inst, unsigned Num, - Record *InstrInfo, + Record *InstrInfo, std::map<std::vector<Record*>, unsigned> &EL, const OperandInfoMapTy &OpInfo, raw_ostream &OS); @@ -51,7 +51,7 @@ private: // Itinerary information. void GatherItinClasses(); unsigned getItinClassNumber(const Record *InstRec); - + // Operand information. void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs); std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst); |

