#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(const Record *CC, raw_ostream &O) { … }
void CallingConvEmitter::EmitAction(const Record *Action, indent Indent,
raw_ostream &O) { … }
void CallingConvEmitter::EmitArgRegisterLists(raw_ostream &O) { … }
static TableGen::Emitter::OptClass<CallingConvEmitter>
X("gen-callingconv", "Generate calling convention descriptions");