mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 18:24:34 +00:00
Tidy up. Whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -373,7 +373,7 @@ void InstrInfoEmitter::emitEnums(raw_ostream &OS) {
|
|||||||
|
|
||||||
// We must emit the PHI opcode first...
|
// We must emit the PHI opcode first...
|
||||||
std::string Namespace = Target.getInstNamespace();
|
std::string Namespace = Target.getInstNamespace();
|
||||||
|
|
||||||
if (Namespace.empty()) {
|
if (Namespace.empty()) {
|
||||||
fprintf(stderr, "No instructions defined!\n");
|
fprintf(stderr, "No instructions defined!\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
@@ -31,7 +31,7 @@ class InstrInfoEmitter : public TableGenBackend {
|
|||||||
RecordKeeper &Records;
|
RecordKeeper &Records;
|
||||||
CodeGenDAGPatterns CDP;
|
CodeGenDAGPatterns CDP;
|
||||||
std::map<std::string, unsigned> ItinClassMap;
|
std::map<std::string, unsigned> ItinClassMap;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
InstrInfoEmitter(RecordKeeper &R) : Records(R), CDP(R) { }
|
InstrInfoEmitter(RecordKeeper &R) : Records(R), CDP(R) { }
|
||||||
|
|
||||||
@@ -41,9 +41,9 @@ public:
|
|||||||
private:
|
private:
|
||||||
void emitEnums(raw_ostream &OS);
|
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,
|
void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||||
Record *InstrInfo,
|
Record *InstrInfo,
|
||||||
std::map<std::vector<Record*>, unsigned> &EL,
|
std::map<std::vector<Record*>, unsigned> &EL,
|
||||||
const OperandInfoMapTy &OpInfo,
|
const OperandInfoMapTy &OpInfo,
|
||||||
raw_ostream &OS);
|
raw_ostream &OS);
|
||||||
@@ -51,7 +51,7 @@ private:
|
|||||||
// Itinerary information.
|
// Itinerary information.
|
||||||
void GatherItinClasses();
|
void GatherItinClasses();
|
||||||
unsigned getItinClassNumber(const Record *InstRec);
|
unsigned getItinClassNumber(const Record *InstRec);
|
||||||
|
|
||||||
// Operand information.
|
// Operand information.
|
||||||
void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
|
void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
|
||||||
std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
|
std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
|
||||||
|
Reference in New Issue
Block a user