74 LoongArchELFStreamer(
MCContext &
C, std::unique_ptr<MCAsmBackend> MAB,
75 std::unique_ptr<MCObjectWriter> MOW,
76 std::unique_ptr<MCCodeEmitter> MCE)
83 std::unique_ptr<MCAsmBackend> MAB,
84 std::unique_ptr<MCObjectWriter> MOW,
85 std::unique_ptr<MCCodeEmitter> MCE,
87 LoongArchELFStreamer *S =
new LoongArchELFStreamer(
88 C, std::move(MAB), std::move(MOW), std::move(MCE));
89 S->getAssembler().setRelaxAll(RelaxAll);
MCELFStreamer & getStreamer()
LoongArchTargetELFStreamer(MCStreamer &S, const MCSubtargetInfo &STI)
LoongArchABI::ABI getTargetABI() const
void setTargetABI(LoongArchABI::ABI ABI)
unsigned getELFHeaderEFlags() const
ELF e_header flags.
MCAsmBackend & getBackend() const
void setELFHeaderEFlags(unsigned Flags)
Context object for machine code objects.
MCAssembler & getAssembler()
Streaming machine code generation interface.
Generic base class for all target subtargets.
const Triple & getTargetTriple() const
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
@ C
The default llvm calling convention, compatible with C.
@ EF_LOONGARCH_ABI_SINGLE_FLOAT
@ EF_LOONGARCH_ABI_DOUBLE_FLOAT
@ EF_LOONGARCH_ABI_SOFT_FLOAT
ABI computeTargetABI(const Triple &TT, StringRef ABIName)
This is an optimization pass for GlobalISel generic memory operations.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
MCELFStreamer * createLoongArchELFStreamer(MCContext &C, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > MOW, std::unique_ptr< MCCodeEmitter > MCE, bool RelaxAll)