Home
last modified time | relevance | path

Searched refs:MaskTy (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp300 Type *MaskTy = C->getType(); in DecodePSHUFBMask() local
311 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask()
317 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask()
318 int NumElements = MaskTy->getVectorNumElements(); in DecodePSHUFBMask()
392 Type *MaskTy = C->getType(); in DecodeVPERMILPMask() local
393 assert(MaskTy->isVectorTy() && "Expected a vector constant mask!"); in DecodeVPERMILPMask()
394 assert(MaskTy->getVectorElementType()->isIntegerTy() && in DecodeVPERMILPMask()
396 int ElementBits = MaskTy->getScalarSizeInBits(); in DecodeVPERMILPMask()
397 int NumElements = MaskTy->getVectorNumElements(); in DecodeVPERMILPMask()
555 Type *MaskTy = C->getType(); in DecodeVPERMVMask() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp755 EVT MaskTy = VT.changeVectorElementTypeToInteger(); in ExpandSELECT() local
758 EVT BitTy = MaskTy.getScalarType(); in ExpandSELECT()
767 Mask = DAG.getNode(ISD::BUILD_VECTOR, DL, MaskTy, Ops); in ExpandSELECT()
772 Op1 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op1); in ExpandSELECT()
773 Op2 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op2); in ExpandSELECT()
776 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT()
777 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT()
779 Op1 = DAG.getNode(ISD::AND, DL, MaskTy, Op1, Mask); in ExpandSELECT()
780 Op2 = DAG.getNode(ISD::AND, DL, MaskTy, Op2, NotMask); in ExpandSELECT()
781 SDValue Val = DAG.getNode(ISD::OR, DL, MaskTy, Op1, Op2); in ExpandSELECT()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1003 VectorType *MaskTy = in getMaskedMemoryOpCost() local
1009 int MaskSplitCost = getScalarizationOverhead(MaskTy, false, true); in getMaskedMemoryOpCost()
1031 getShuffleCost(TTI::SK_Alternate, MaskTy, 0, nullptr); in getMaskedMemoryOpCost()
1034 VectorType *NewMaskTy = VectorType::get(MaskTy->getVectorElementType(), in getMaskedMemoryOpCost()
1037 Cost += getShuffleCost(TTI::SK_InsertSubvector, NewMaskTy, 0, MaskTy); in getMaskedMemoryOpCost()
/external/llvm/lib/IR/
DAutoUpgrade.cpp517 Type *MaskTy = VectorType::get(Type::getInt32Ty(C), NumElts); in UpgradeIntrinsicCall() local
519 Constant::getNullValue(MaskTy)); in UpgradeIntrinsicCall()
DInstructions.cpp1747 VectorType *MaskTy = dyn_cast<VectorType>(Mask->getType()); in isValidOperands() local
1748 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands()
1771 for (unsigned i = 0, e = MaskTy->getNumElements(); i != e; ++i) in isValidOperands()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1554 VectorType *MaskTy = VectorType::get(Builder.getInt1Ty(), VL.size()); in getEntryCost() local
1557 VecCost = TTI->getCmpSelInstrCost(Opcode, VecTy, MaskTy); in getEntryCost()