|
LLVM 23.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 5053 of file AMDGPUInstructionSelector.cpp.
|
inline |
Definition at line 5060 of file AMDGPUInstructionSelector.cpp.
References llvm::cast(), llvm::MachineRegisterInfo::getVRegDef(), llvm::TargetInstrInfo::isGenericOpcode(), MI, and Opc.
Definition at line 5074 of file AMDGPUInstructionSelector.cpp.
References HALF_END, HALF_START, NEG_END, and NEG_START.
Referenced by getLastSameOrNeg(), and getSrcStats().