#include "Common/CodeGenTarget.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
#include <deque>
#include <set>
usingnamespacellvm;
namespace {
class CallingConvEmitter { … };
}
void CallingConvEmitter::run(raw_ostream &O) { … }
void CallingConvEmitter::EmitCallingConv(Record *CC, raw_ostream &O) { … }
void CallingConvEmitter::EmitAction(Record *Action, unsigned Indent,
raw_ostream &O) { … }
void CallingConvEmitter::EmitArgRegisterLists(raw_ostream &O) { … }
static TableGen::Emitter::OptClass<CallingConvEmitter>
X("gen-callingconv", "Generate calling convention descriptions");