LLVM 22.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 860 of file SystemZISelLowering.h.
SystemZVectorConstantInfo::SystemZVectorConstantInfo | ( | APInt | IntImm | ) |
Definition at line 950 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.
Referenced by SystemZVectorConstantInfo().
|
inline |
Definition at line 872 of file SystemZISelLowering.h.
References llvm::APFloat::getSemantics(), llvm::APFloatBase::IEEEquad(), and SystemZVectorConstantInfo().
SystemZVectorConstantInfo::SystemZVectorConstantInfo | ( | BuildVectorSDNode * | BVN | ) |
Definition at line 977 of file SystemZISelLowering.cpp.
References assert(), llvm::BuildVectorSDNode::isConstant(), and llvm::BuildVectorSDNode::isConstantSplat().
bool SystemZVectorConstantInfo::isVectorConstantLegal | ( | const SystemZSubtarget & | Subtarget | ) |
Definition at line 875 of file SystemZISelLowering.cpp.
References llvm::SystemZISD::BYTE_MASK, llvm::countl_zero(), llvm::countr_zero(), llvm::SystemZSubtarget::getInstrInfo(), llvm::MVT::getIntegerVT(), llvm::MVT::getVectorVT(), I, llvm::isInt(), llvm::Lower, llvm::maskLeadingOnes(), llvm::maskTrailingOnes(), Opcode, OpVals, llvm::SystemZISD::REPLICATE, llvm::SystemZISD::ROTATE_MASK, llvm::SignExtend64(), TII, llvm::Upper, llvm::SystemZ::VectorBits, llvm::SystemZ::VectorBytes, and VecVT.
Referenced by llvm::SystemZTargetLowering::isFPImmLegal().
unsigned llvm::SystemZVectorConstantInfo::Opcode = 0 |
Definition at line 868 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().
SmallVector<unsigned, 2> llvm::SystemZVectorConstantInfo::OpVals |
Definition at line 869 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().
MVT llvm::SystemZVectorConstantInfo::VecVT |
Definition at line 870 of file SystemZISelLowering.h.
Referenced by isVectorConstantLegal().