LLVM API Documentation
| anonymous enum |
| SDValue llvm::SPU::get_ILHUvec_imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| MVT | ValueType | |||
| ) |
get_ILHUvec_imm - Test if this vector is a vector filled with the same value and the value fits into a signed 16-bit constant, and if so, return the constant
Definition at line 1432 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), llvm::MVT::i32, and llvm::MVT::i64.
| SDValue llvm::SPU::get_v2i64_imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG | |||
| ) |
get_v4i32_imm - Catch-all for general 64-bit constant vectors
Definition at line 1455 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i64.
| SDValue llvm::SPU::get_v4i32_imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG | |||
| ) |
get_v4i32_imm - Catch-all for general 32-bit constant vectors
Definition at line 1446 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i32.
| SDValue llvm::SPU::get_vec_i10imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| MVT | ValueType | |||
| ) |
get_vec_i10imm - Test if this vector is a vector filled with the same value and the value fits into a signed 10-bit constant, and if so, return the constant
Definition at line 1387 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), llvm::MVT::i64, and llvm::isS10Constant().
| SDValue llvm::SPU::get_vec_i16imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| MVT | ValueType | |||
| ) |
get_vec_i16imm - Test if this vector is a vector filled with the same value and the value fits into a signed 16-bit constant, and if so, return the constant
Definition at line 1364 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i64.
| SDValue llvm::SPU::get_vec_i8imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| MVT | ValueType | |||
| ) |
get_vec_i8imm - Test if this vector is a vector filled with the same value and the value fits into a signed 8-bit constant, and if so, return the constant.
Definition at line 1413 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), llvm::MVT::i16, and llvm::MVT::i8.
| SDValue llvm::SPU::get_vec_u18imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| MVT | ValueType | |||
| ) |
get_vec_i18imm - Test if this vector is a vector filled with the same value and the value fits into an unsigned 18-bit constant, and if so, return the constant
Definition at line 1342 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i64.
| SDValue llvm::SPU::getBorrowGenerateShufMask | ( | SelectionDAG & | DAG | ) |
Generate the borrow-generate shuffle mask.
Definition at line 2228 of file SPUISelLowering.cpp.
References llvm::ISD::BUILD_VECTOR, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::MVT::i32, llvm::SmallVectorImpl< T >::push_back(), llvm::SmallVectorImpl< T >::size(), and llvm::MVT::v4i32.
| SDValue llvm::SPU::getCarryGenerateShufMask | ( | SelectionDAG & | DAG | ) |
Generate the carry-generate shuffle mask.
Definition at line 2213 of file SPUISelLowering.cpp.
References llvm::ISD::BUILD_VECTOR, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::MVT::i32, llvm::SmallVectorImpl< T >::push_back(), llvm::SmallVectorImpl< T >::size(), and llvm::MVT::v4i32.
| SDValue llvm::SPU::LowerConstantPool | ( | SDValue | Op, | |
| SelectionDAG & | DAG, | |||
| const SPUTargetMachine & | TM | |||
| ) |
Alternate entry point for generating the address of a constant pool entry.
Definition at line 845 of file SPUISelLowering.cpp.
References llvm::SPUTargetMachine::getSubtargetImpl(), and LowerConstantPool().
| SDValue llvm::SPU::LowerSplat_v2i64 | ( | MVT | OpVT, | |
| SelectionDAG & | DAG, | |||
| uint64_t | splat | |||
| ) |
Definition at line 1654 of file SPUISelLowering.cpp.
References llvm::ISD::BIT_CONVERT, llvm::ISD::BUILD_VECTOR, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getTargetConstant(), llvm::MVT::i32, llvm::SmallVectorImpl< T >::push_back(), llvm::SPUISD::SHUFB, llvm::SmallVectorImpl< T >::size(), V, llvm::MVT::v4i32, val, and Val.
Referenced by LowerBUILD_VECTOR().