9#ifndef LLVM_LIB_TARGET_ARM_ARMASMBACKENDDARWIN_H
10#define LLVM_LIB_TARGET_ARM_ARMASMBACKENDDARWIN_H
27 MRI(
MRI), TT(STI.getTargetTriple()),
31 std::unique_ptr<MCObjectTargetWriter>
unsigned const MachineRegisterInfo * MRI
static unsigned getCPUSubType(const MachOObjectFile &O)
uint64_t generateCompactUnwindEncoding(const MCDwarfFrameInfo *FI, const MCContext *Ctxt) const override
Generate compact unwind encoding for the function based on the CFI instructions.
std::unique_ptr< MCObjectTargetWriter > createObjectTargetWriter() const override
const MachO::CPUSubTypeARM Subtype
ARMAsmBackendDarwin(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI)
Context object for machine code objects.
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.
Triple - Helper class for working with autoconf configuration names.
Expected< uint32_t > getCPUType(const Triple &T)
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectTargetWriter > createARMMachObjectWriter(bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype)
Construct an ARM Mach-O object writer.
void cantFail(Error Err, const char *Msg=nullptr)
Report a fatal error if Err is a failure value.