diff options
Diffstat (limited to 'backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h')
| -rw-r--r-- | backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h index 4c69606..4bea4e7 100644 --- a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h +++ b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelector.h @@ -3,6 +3,7 @@ #ifndef RCC_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H #define RCC_CODEGEN_GLOBALISEL_INSTRUCTIONSELECTOR_H +#include "rcc/CodeGen/MachineIRTypes.h" #include "rcc/Support/Error.h" namespace rcc { @@ -28,6 +29,15 @@ public: constrainSelectedInstruction(MachineInstr &, MachineFunction &, const TargetDescription &) const { return {}; } + + [[nodiscard]] Expected<void> propagateSelectionFlags(MachineInstr &Output, + MachineInstrFlags InputFlags, + bool InputMayRaiseFPException, + const TargetDescription &Target) const; + + [[nodiscard]] Expected<void> propagateSelectionFlags(MachineInstr &Output, + const MachineInstr &Input, + const TargetDescription &Target) const; }; } // namespace rcc |
