1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// SPDX-License-Identifier: GPL-3.0-or-later
#include "rcc/CodeGen/TargetMCInstLowering.h"
namespace rcc {
Expected<void> TargetMCInstLowering::emitTerminalInstruction(const MachineInstr &,
MachineMCContext &,
mc::MCStreamer &) const {
return makeUnexpected(ErrorCode::Unsupported,
"target does not support this terminal emission instruction");
}
Expected<void> TargetMCInstLowering::emitFileHeader(MachineMCContext &, mc::MCStreamer &) const {
return {};
}
Expected<void> TargetMCInstLowering::emitFileTrailer(MachineMCContext &, mc::MCStreamer &) const {
return {};
}
Expected<void> TargetMCInstLowering::emitGenericConstant(const GenericConstantData &, std::uint64_t,
MachineMCContext &,
mc::MCStreamer &) const {
return makeUnexpected(ErrorCode::Unsupported,
"target does not support assembly emission for generic constants");
}
Expected<void> TargetMCInstLowering::emitGlobalInitializer(const GlobalInitializer &,
MachineMCContext &,
mc::MCStreamer &) const {
return makeUnexpected(ErrorCode::Unsupported,
"target does not support assembly emission for global initializers");
}
Expected<void> TargetMCInstLowering::emitTargetConstant(const TargetConstant &, MachineMCContext &,
mc::MCStreamer &) const {
return makeUnexpected(ErrorCode::Unsupported,
"target does not support assembly emission for this target constant");
}
Expected<void> TargetMCInstLowering::emitTargetJumpTable(const MachineFunction &,
const MachineJumpTableEntry &,
MachineMCContext &,
mc::MCStreamer &) const {
return makeUnexpected(ErrorCode::Unsupported, "target does not support this jump-table encoding");
}
} // namespace rcc
|