LLVM 22.0.0git
|
This is used to control valid status that current MI supports. More...
Public Member Functions | |
SearchOptions (Register Reg, const MachineRegisterInfo &MRI) | |
bool | checkOptions (SrcStatus Stat) const |
This is used to control valid status that current MI supports.
For example, non floating point intrinsic such as @llvm.amdgcn.sdot2 does not support NEG bit on VOP3P. The class can be further extended to recognize support on SEL, NEG, ABS bit for different MI on different arch
Definition at line 4710 of file AMDGPUInstructionSelector.cpp.
|
inline |
Definition at line 4717 of file AMDGPUInstructionSelector.cpp.
References llvm::cast(), MI, MRI, and Opc.
Definition at line 4731 of file AMDGPUInstructionSelector.cpp.
References HALF_END, HALF_START, NEG_END, and NEG_START.
Referenced by getLastSameOrNeg(), and getSrcStats().