14 #ifndef LLVM_LIB_TARGET_X86_X86MACHINELEGALIZER_H 15 #define LLVM_LIB_TARGET_X86_X86MACHINELEGALIZER_H 22 class X86TargetMachine;
39 void setLegalizerInfo32bit();
40 void setLegalizerInfo64bit();
41 void setLegalizerInfoSSE1();
42 void setLegalizerInfoSSE2();
43 void setLegalizerInfoSSE41();
44 void setLegalizerInfoAVX();
45 void setLegalizerInfoAVX2();
46 void setLegalizerInfoAVX512();
47 void setLegalizerInfoAVX512DQ();
48 void setLegalizerInfoAVX512BW();
This class represents lattice values for constants.
X86LegalizerInfo(const X86Subtarget &STI, const X86TargetMachine &TM)
bool legalizeIntrinsic(MachineInstr &MI, MachineRegisterInfo &MRI, MachineIRBuilder &MIRBuilder) const override
Return true if MI is either legal or has been legalized and false if not legal.
unsigned const MachineRegisterInfo * MRI
Helper class to build MachineInstr.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
Representation of each machine instruction.
This class provides the information for the target register banks.