LLVM: lib/Target/SPIRV/MCTargetDesc/SPIRVAsmBackend.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
14
15using namespace llvm;
16
17namespace {
18
20public:
21 SPIRVAsmBackend(llvm::endianness Endian) : MCAsmBackend(Endian) {}
22
23 void applyFixup(const MCFragment &, const MCFixup &, const MCValue &Target,
24 uint8_t *Data, uint64_t Value, bool IsResolved) override {}
25
26 std::unique_ptr
27 createObjectTargetWriter() const override {
28 return std::make_unique();
29 }
30
31 bool writeNopData(raw_ostream &OS, uint64_t Count,
32 const MCSubtargetInfo *STI) const override {
33 return false;
34 }
35};
36
37}
38
unsigned const MachineRegisterInfo * MRI
Generic interface to target specific assembler backends.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Generic base class for all target subtargets.
Target - Wrapper for Target specific information.
Error applyFixup(LinkGraph &G, Block &B, const Edge &E, const ArmConfig &ArmCfg)
Apply fixup expression for edge to block content.
This is an optimization pass for GlobalISel generic memory operations.
FunctionAddr VTableAddr Value
FunctionAddr VTableAddr Count
FunctionAddr VTableAddr uintptr_t uintptr_t Data
MCAsmBackend * createSPIRVAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
Definition SPIRVAsmBackend.cpp:39