13#ifndef LLVM_LIB_TARGET_RISCV_RISCVMACHINELEGALIZER_H
14#define LLVM_LIB_TARGET_RISCV_RISCVMACHINELEGALIZER_H
22class GISelChangeObserver;
23class MachineIRBuilder;
41 bool shouldBeInConstantPool(
const APInt &APImm,
bool ShouldOptForSize)
const;
Interface for Targets to specify which operations they can successfully select and how the others sho...
Class for arbitrary precision integers.
Abstract class that contains various methods for clients to notify about changes.
Helper class to build MachineInstr.
Representation of each machine instruction.
bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI, LostDebugLocObserver &LocObserver) const override
Called for instructions with the Custom LegalizationAction.
bool legalizeIntrinsic(LegalizerHelper &Helper, MachineInstr &MI) const override
This is an optimization pass for GlobalISel generic memory operations.