mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +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:
parent
b4b9db2f92
commit
bf1aab1507
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user