blob: 4b7961e59d863a77d9efc70507d51a2235e08a24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "AMDGPUAsmPrinter.h"
#include "AMDGPU.h"
#include "llvm/Support/TargetRegistry.h"
using namespace llvm;
static AsmPrinter *createAMDGPUAsmPrinterPass(TargetMachine &tm,
MCStreamer &Streamer) {
return new AMDGPUAsmPrinter(tm, Streamer);
}
extern "C" void LLVMInitializeAMDGPUAsmPrinter() {
TargetRegistry::RegisterAsmPrinter(TheAMDGPUTarget, createAMDGPUAsmPrinterPass);
}
|