/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 27 Type *MaskTy = C->getType(); in DecodePSHUFBMask() local 39 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask() 43 if (!MaskTy->isVectorTy()) in DecodePSHUFBMask() 45 int NumElts = MaskTy->getVectorNumElements(); in DecodePSHUFBMask() 47 Type *EltTy = MaskTy->getVectorElementType(); in DecodePSHUFBMask() 96 Type *MaskTy = C->getType(); in DecodeVPERMILPMask() local 110 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMILPMask() 115 if (!MaskTy->isVectorTy()) in DecodeVPERMILPMask() 119 Type *VecEltTy = MaskTy->getVectorElementType(); in DecodeVPERMILPMask() 161 Type *MaskTy = C->getType(); in DecodeVPERMIL2PMask() local [all …]
|
D | X86TargetTransformInfo.cpp | 1137 VectorType *MaskTy = in getMaskedMemoryOpCost() local 1143 int MaskSplitCost = getScalarizationOverhead(MaskTy, false, true); in getMaskedMemoryOpCost() 1165 getShuffleCost(TTI::SK_Alternate, MaskTy, 0, nullptr); in getMaskedMemoryOpCost() 1168 VectorType *NewMaskTy = VectorType::get(MaskTy->getVectorElementType(), in getMaskedMemoryOpCost() 1171 Cost += getShuffleCost(TTI::SK_InsertSubvector, NewMaskTy, 0, MaskTy); in getMaskedMemoryOpCost() 1510 VectorType *MaskTy = in getGSScalarCost() local 1512 MaskUnpackCost = getScalarizationOverhead(MaskTy, false, true); in getGSScalarCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 116 Type *MaskTy = C->getType(); in DecodePSHUFBMask() local 117 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodePSHUFBMask() 156 Type *MaskTy = C->getType(); in DecodeVPERMILPMask() local 157 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMILPMask() 193 Type *MaskTy = C->getType(); in DecodeVPERMIL2PMask() local 194 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMIL2PMask() 296 Type *MaskTy = C->getType(); in DecodeVPERMVMask() local 297 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMVMask() 324 Type *MaskTy = C->getType(); in DecodeVPERMV3Mask() local 325 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMV3Mask()
|
D | X86TargetTransformInfo.cpp | 1959 VectorType *MaskTy = in getMaskedMemoryOpCost() local 1965 int MaskSplitCost = getScalarizationOverhead(MaskTy, false, true); in getMaskedMemoryOpCost() 1987 getShuffleCost(TTI::SK_Select, MaskTy, 0, nullptr); in getMaskedMemoryOpCost() 1990 VectorType *NewMaskTy = VectorType::get(MaskTy->getVectorElementType(), in getMaskedMemoryOpCost() 1993 Cost += getShuffleCost(TTI::SK_InsertSubvector, NewMaskTy, 0, MaskTy); in getMaskedMemoryOpCost() 2514 VectorType *MaskTy = in getGSScalarCost() local 2516 MaskUnpackCost = getScalarizationOverhead(MaskTy, false, true); in getGSScalarCost()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 737 EVT MaskTy = VT.changeVectorElementTypeToInteger(); in ExpandSELECT() local 740 EVT BitTy = MaskTy.getScalarType(); in ExpandSELECT() 749 Mask = DAG.getNode(ISD::BUILD_VECTOR, DL, MaskTy, Ops); in ExpandSELECT() 754 Op1 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op1); in ExpandSELECT() 755 Op2 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op2); in ExpandSELECT() 758 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT() 759 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT() 761 Op1 = DAG.getNode(ISD::AND, DL, MaskTy, Op1, Mask); in ExpandSELECT() 762 Op2 = DAG.getNode(ISD::AND, DL, MaskTy, Op2, NotMask); in ExpandSELECT() 763 SDValue Val = DAG.getNode(ISD::OR, DL, MaskTy, Op1, Op2); in ExpandSELECT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 787 EVT MaskTy = VT.changeVectorElementTypeToInteger(); in ExpandSELECT() local 790 EVT BitTy = MaskTy.getScalarType(); in ExpandSELECT() 798 Mask = DAG.getSplatBuildVector(MaskTy, DL, Mask); in ExpandSELECT() 803 Op1 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op1); in ExpandSELECT() 804 Op2 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op2); in ExpandSELECT() 807 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); in ExpandSELECT() 808 SDValue NotMask = DAG.getNode(ISD::XOR, DL, MaskTy, Mask, AllOnes); in ExpandSELECT() 810 Op1 = DAG.getNode(ISD::AND, DL, MaskTy, Op1, Mask); in ExpandSELECT() 811 Op2 = DAG.getNode(ISD::AND, DL, MaskTy, Op2, NotMask); in ExpandSELECT() 812 SDValue Val = DAG.getNode(ISD::OR, DL, MaskTy, Op1, Op2); in ExpandSELECT()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 493 llvm::VectorType *MaskTy = llvm::VectorType::get(Builder.getInt1Ty(), in getX86MaskVec() local 495 Mask = Builder.CreateBitCast(Mask, MaskTy); in getX86MaskVec() 945 Type *MaskTy = VectorType::get(Type::getInt32Ty(C), NumElts); in UpgradeIntrinsicCall() local 947 Constant::getNullValue(MaskTy)); in UpgradeIntrinsicCall()
|
D | Instructions.cpp | 1878 VectorType *MaskTy = dyn_cast<VectorType>(Mask->getType()); in isValidOperands() local 1879 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1902 for (unsigned i = 0, e = MaskTy->getNumElements(); i != e; ++i) in isValidOperands()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 809 llvm::VectorType *MaskTy = llvm::VectorType::get(Builder.getInt1Ty(), in getX86MaskVec() local 811 Mask = Builder.CreateBitCast(Mask, MaskTy); in getX86MaskVec() 845 llvm::VectorType *MaskTy = in EmitX86ScalarSelect() local 848 Mask = Builder.CreateBitCast(Mask, MaskTy); in EmitX86ScalarSelect() 2055 Type *MaskTy = VectorType::get(Type::getInt32Ty(C), NumElts); in UpgradeIntrinsicCall() local 2057 Constant::getNullValue(MaskTy)); in UpgradeIntrinsicCall()
|
D | Instructions.cpp | 1637 auto *MaskTy = dyn_cast<VectorType>(Mask->getType()); in isValidOperands() local 1638 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1660 for (unsigned i = 0, e = MaskTy->getNumElements(); i != e; ++i) in isValidOperands()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 656 auto *MaskTy = VectorType::get( in simplifyX86round() local 658 Mask = Builder.CreateBitCast(Mask, MaskTy); in simplifyX86round() 660 if (MaskTy->getVectorNumElements() > Width) { in simplifyX86round() 2553 auto *MaskTy = VectorType::get(Builder.getInt1Ty(), in visitCallInst() local 2555 Mask = Builder.CreateBitCast(Mask, MaskTy); in visitCallInst()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 1564 VectorType *MaskTy = dyn_cast<VectorType>(Mask->getType()); in isValidOperands() local 1565 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1598 VectorType *MaskTy = VectorType::get(Builder.getInt1Ty(), VL.size()); in getEntryCost() local 1601 int VecCost = TTI->getCmpSelInstrCost(Opcode, VecTy, MaskTy); in getEntryCost()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 6570 llvm::VectorType *MaskTy = llvm::VectorType::get(CGF.Builder.getInt1Ty(), in getMaskVecValue() local 6572 Value *MaskVec = CGF.Builder.CreateBitCast(Mask, MaskTy); in getMaskVecValue()
|