LLVM 20.0.0git
|
#include "Target/SystemZ/SystemZISelLowering.h"
Public Member Functions | |
SystemZVectorConstantInfo (APInt IntImm) | |
SystemZVectorConstantInfo (APFloat FPImm) | |
SystemZVectorConstantInfo (BuildVectorSDNode *BVN) | |
bool | isVectorConstantLegal (const SystemZSubtarget &Subtarget) |
Public Attributes | |
unsigned | Opcode = 0 |
SmallVector< unsigned, 2 > | OpVals |
MVT | VecVT |
Definition at line 821 of file SystemZISelLowering.h.
SystemZVectorConstantInfo::SystemZVectorConstantInfo | ( | APInt | IntImm | ) |
Definition at line 899 of file SystemZISelLowering.cpp.
References assert(), llvm::APInt::getBitWidth(), llvm::APInt::getZExtValue(), llvm::APInt::isSingleWord(), llvm::APInt::lshr(), llvm::APInt::trunc(), and llvm::SystemZ::VectorBits.
|
inline |
Definition at line 833 of file SystemZISelLowering.h.
References llvm::APFloat::getSemantics(), and llvm::APFloatBase::IEEEquad().
SystemZVectorConstantInfo::SystemZVectorConstantInfo | ( | BuildVectorSDNode * | BVN | ) |
Definition at line 926 of file SystemZISelLowering.cpp.
References assert(), llvm::BuildVectorSDNode::isConstant(), and llvm::BuildVectorSDNode::isConstantSplat().
bool SystemZVectorConstantInfo::isVectorConstantLegal | ( | const SystemZSubtarget & | Subtarget | ) |
Definition at line 824 of file SystemZISelLowering.cpp.
References llvm::SystemZISD::BYTE_MASK, llvm::countl_zero(), llvm::countr_zero(), End, llvm::SystemZSubtarget::getInstrInfo(), llvm::MVT::getIntegerVT(), llvm::MVT::getVectorVT(), llvm::APInt::getZExtValue(), I, llvm::Lower, llvm::APInt::lshr(), Opcode, OpVals, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SystemZISD::REPLICATE, llvm::SystemZISD::ROTATE_MASK, llvm::SignExtend64(), TII, llvm::APInt::trunc(), llvm::Upper, llvm::SystemZ::VectorBits, llvm::SystemZ::VectorBytes, and VecVT.
Referenced by llvm::SystemZTargetLowering::isFPImmLegal().
unsigned llvm::SystemZVectorConstantInfo::Opcode = 0 |
Definition at line 829 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().
SmallVector<unsigned, 2> llvm::SystemZVectorConstantInfo::OpVals |
Definition at line 830 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().
MVT llvm::SystemZVectorConstantInfo::VecVT |
Definition at line 831 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().