LLVM API Documentation
| anonymous enum |
Definition at line 29 of file PPCSubtarget.h.
| enum llvm::PPC::Predicate |
Predicate - These are "(BI << 5) | BO" for various predicates.
Definition at line 22 of file PPCPredicates.h.
| reloc_vanilla | |
| reloc_pcrel_bx | |
| reloc_pcrel_bcx | |
| reloc_absolute_high | |
| reloc_absolute_low | |
| reloc_absolute_low_ix |
Definition at line 27 of file PPCRelocations.h.
| SDValue llvm::PPC::get_VSPLTI_elt | ( | SDNode * | N, | |
| unsigned | ByteSize, | |||
| SelectionDAG & | DAG | |||
| ) |
get_VSPLTI_elt - If this is a build_vector of constants which can be formed by using a vspltis[bhw] instruction of the specified element size, return the constant being splatted. The ByteSize field indicates the number of bytes of each element [124] -> [bhw].
get_VSPLTI_elt - If this is a build_vector of constants which can be formed by using a vspltis[bhw] instruction of the specified element size, return the constant being splatted. The ByteSize field indicates the number of bytes of each element [124] -> [bhw].
Definition at line 657 of file PPCISelLowering.cpp.
References llvm::MVT::f32, llvm::FloatToBits(), llvm::SDValue::getNode(), llvm::SDNode::getNumOperands(), llvm::SDValue::getOpcode(), llvm::SDNode::getOperand(), llvm::SelectionDAG::getTargetConstant(), llvm::MVT::i32, llvm::ISD::UNDEF, and Val.
getVSPLTImmediate - Return the appropriate VSPLT* immediate to splat the specified isSplatShuffleMask VECTOR_SHUFFLE mask.
getVSPLTImmediate - Return the appropriate VSPLT* immediate to splat the specified isSplatShuffleMask VECTOR_SHUFFLE mask.
Definition at line 647 of file PPCISelLowering.cpp.
References llvm::ShuffleVectorSDNode::getMaskElt(), and isSplatShuffleMask().
| PPC::Predicate llvm::PPC::InvertPredicate | ( | PPC::Predicate | Opcode | ) |
Invert the specified predicate. != -> ==, < -> >=.
Definition at line 19 of file PPCPredicates.cpp.
References llvm_unreachable, PRED_EQ, PRED_GE, PRED_GT, PRED_LE, PRED_LT, PRED_NE, PRED_NU, and PRED_UN.
Referenced by llvm::PPCInstrInfo::ReverseBranchCondition().
isAllNegativeZeroVector - Returns true if all elements of build_vector are -0.0.
isAllNegativeZeroVector - Returns true if all elements of build_vector are -0.0.
Definition at line 631 of file PPCISelLowering.cpp.
References llvm::SDNode::getOperand(), and llvm::BuildVectorSDNode::isConstantSplat().
| bool llvm::PPC::isSplatShuffleMask | ( | ShuffleVectorSDNode * | N, | |
| unsigned | EltSize | |||
| ) |
isSplatShuffleMask - Return true if the specified VECTOR_SHUFFLE operand specifies a splat of a single element that is suitable for input to VSPLTB/VSPLTH/VSPLTW.
isSplatShuffleMask - Return true if the specified VECTOR_SHUFFLE operand specifies a splat of a single element that is suitable for input to VSPLTB/VSPLTH/VSPLTW.
Definition at line 602 of file PPCISelLowering.cpp.
References llvm::ShuffleVectorSDNode::getMaskElt(), llvm::SDNode::getValueType(), and llvm::MVT::v16i8.
Referenced by getVSPLTImmediate().
| bool llvm::PPC::isVMRGHShuffleMask | ( | ShuffleVectorSDNode * | N, | |
| unsigned | UnitSize, | |||
| bool | isUnary | |||
| ) |
isVMRGHShuffleMask - Return true if this is a shuffle mask suitable for a VRGH* instruction with the specified unit size (1,2 or 4 bytes).
isVMRGHShuffleMask - Return true if this is a shuffle mask suitable for a VRGH* instruction with the specified unit size (1,2 or 4 bytes).
Definition at line 556 of file PPCISelLowering.cpp.
References isVMerge().
| bool llvm::PPC::isVMRGLShuffleMask | ( | ShuffleVectorSDNode * | N, | |
| unsigned | UnitSize, | |||
| bool | isUnary | |||
| ) |
isVMRGLShuffleMask - Return true if this is a shuffle mask suitable for a VRGL* instruction with the specified unit size (1,2 or 4 bytes).
isVMRGLShuffleMask - Return true if this is a shuffle mask suitable for a VRGL* instruction with the specified unit size (1,2 or 4 bytes).
Definition at line 547 of file PPCISelLowering.cpp.
References isVMerge().
| bool llvm::PPC::isVPKUHUMShuffleMask | ( | ShuffleVectorSDNode * | N, | |
| bool | isUnary | |||
| ) |
isVPKUHUMShuffleMask - Return true if this is the shuffle mask for a VPKUHUM instruction.
isVPKUHUMShuffleMask - Return true if this is the shuffle mask for a VPKUHUM instruction.
Definition at line 492 of file PPCISelLowering.cpp.
References llvm::ShuffleVectorSDNode::getMaskElt(), and isConstantOrUndef().
| bool llvm::PPC::isVPKUWUMShuffleMask | ( | ShuffleVectorSDNode * | N, | |
| bool | isUnary | |||
| ) |
isVPKUWUMShuffleMask - Return true if this is the shuffle mask for a VPKUWUM instruction.
isVPKUWUMShuffleMask - Return true if this is the shuffle mask for a VPKUWUM instruction.
Definition at line 508 of file PPCISelLowering.cpp.
References llvm::ShuffleVectorSDNode::getMaskElt(), and isConstantOrUndef().
isVSLDOIShuffleMask - If this is a vsldoi shuffle mask, return the shift amount, otherwise return -1.
isVSLDOIShuffleMask - If this is a vsldoi shuffle mask, return the shift amount, otherwise return -1.
Definition at line 566 of file PPCISelLowering.cpp.
References llvm::SDNode::getValueType(), isConstantOrUndef(), and llvm::MVT::v16i8.