LLVM API Documentation
Enumerations | |
| enum | { PROC_NONE, DEFAULT_PROC } |
Functions | |
| SDValue | get_vec_u18imm (SDNode *N, SelectionDAG &DAG, EVT ValueType) |
| SDValue | get_vec_i16imm (SDNode *N, SelectionDAG &DAG, EVT ValueType) |
| SDValue | get_vec_i10imm (SDNode *N, SelectionDAG &DAG, EVT ValueType) |
| SDValue | get_vec_i8imm (SDNode *N, SelectionDAG &DAG, EVT ValueType) |
| SDValue | get_ILHUvec_imm (SDNode *N, SelectionDAG &DAG, EVT ValueType) |
| SDValue | get_v4i32_imm (SDNode *N, SelectionDAG &DAG) |
| get_v4i32_imm - Catch-all for general 32-bit constant vectors | |
| SDValue | get_v2i64_imm (SDNode *N, SelectionDAG &DAG) |
| get_v4i32_imm - Catch-all for general 64-bit constant vectors | |
| SDValue | LowerConstantPool (SDValue Op, SelectionDAG &DAG, const SPUTargetMachine &TM) |
| Alternate entry point for generating the address of a constant pool entry. | |
| SDValue | LowerV2I64Splat (EVT OpVT, SelectionDAG &DAG, uint64_t splat, DebugLoc dl) |
| Simplify a EVT::v2i64 constant splat to CellSPU-ready form. | |
| anonymous enum |
| SDValue llvm::SPU::get_ILHUvec_imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| EVT | 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 1527 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 1550 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 1541 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i32.
| SDValue llvm::SPU::get_vec_i10imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| EVT | 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 1482 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, | |||
| EVT | 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 1459 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i64.
| SDValue llvm::SPU::get_vec_i8imm | ( | SDNode * | N, | |
| SelectionDAG & | DAG, | |||
| EVT | 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 1508 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, | |||
| EVT | 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 1437 of file SPUISelLowering.cpp.
References llvm::SelectionDAG::getTargetConstant(), getVecImm(), and llvm::MVT::i64.
| 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 936 of file SPUISelLowering.cpp.
References llvm::SPUTargetMachine::getSubtargetImpl(), and LowerConstantPool().
| SDValue llvm::SPU::LowerV2I64Splat | ( | EVT | OpVT, | |
| SelectionDAG & | DAG, | |||
| uint64_t | splat, | |||
| DebugLoc | dl | |||
| ) |
Simplify a EVT::v2i64 constant splat to CellSPU-ready form.
Definition at line 1647 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::MVT::i64, llvm::SmallVectorImpl< T >::push_back(), llvm::SPUISD::SHUFB, llvm::SmallVectorImpl< T >::size(), V, llvm::MVT::v2i64, llvm::MVT::v4i32, and Val.
Referenced by LowerBUILD_VECTOR().