LLVM API Documentation

llvm::SPU Namespace Reference

Predicates that are used for node matching:. More...


Enumerations

enum  { PROC_NONE, DEFAULT_PROC }

Functions

SDValue get_vec_u18imm (SDNode *N, SelectionDAG &DAG, MVT ValueType)
SDValue get_vec_i16imm (SDNode *N, SelectionDAG &DAG, MVT ValueType)
SDValue get_vec_i10imm (SDNode *N, SelectionDAG &DAG, MVT ValueType)
SDValue get_vec_i8imm (SDNode *N, SelectionDAG &DAG, MVT ValueType)
SDValue get_ILHUvec_imm (SDNode *N, SelectionDAG &DAG, MVT 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


Detailed Description

Predicates that are used for node matching:.

Enumeration Type Documentation

anonymous enum

Enumerator:
PROC_NONE 
DEFAULT_PROC 

Definition at line 28 of file SPUSubtarget.h.


Function Documentation

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 1460 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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 1483 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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 1474 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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 1415 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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 1392 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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.

Note:
: The incoming vector is v16i8 because that's the only way we can load constant vectors. Thus, we test to see if the upper and lower bytes are the same value.

Definition at line 1441 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), 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 1370 of file SPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), getVecImm(), and llvm::MVT::i64.




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.