| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1204 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in UpgradeX86VPERMT2Intrinsics() local 1208 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics() 1210 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in UpgradeX86VPERMT2Intrinsics() 1212 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics() 1214 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in UpgradeX86VPERMT2Intrinsics() 1216 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics() 1218 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in UpgradeX86VPERMT2Intrinsics() 1220 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics() 1222 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in UpgradeX86VPERMT2Intrinsics() 1224 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 175 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedSize(); in getMemoryOpCost() local 182 if (VecWidth % RegWidth == 0) in getMemoryOpCost() 183 return VecWidth / RegWidth; in getMemoryOpCost() 190 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost() 202 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
|
| H A D | HexagonISelLowering.cpp | 2507 unsigned VecWidth = VecTy.getSizeInBits(); in extractVector() local 2510 assert((VecWidth % ElemWidth) == 0); in extractVector() 2516 assert(VecWidth == VecTy.getVectorNumElements() && "Sanity failure"); in extractVector() 2517 assert(VecWidth == 8 || VecWidth == 4 || VecWidth == 2); in extractVector() 2530 SDValue M0 = DAG.getConstant(8 / VecWidth, dl, MVT::i32); in extractVector() 2539 unsigned Scale = VecWidth / ValWidth; in extractVector() 2544 unsigned VecRep = 8 / VecWidth; in extractVector() 2560 assert(VecWidth == 32 || VecWidth == 64); in extractVector() 2571 if (VecWidth == 64 && ValWidth == 32) { in extractVector() 2631 unsigned VecWidth = VecTy.getSizeInBits(); in insertVector() local [all …]
|
| H A D | HexagonSubtarget.cpp | 159 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() local 160 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
|
| H A D | HexagonISelLoweringHVX.cpp | 300 unsigned VecWidth = VecTy.getSizeInBits(); in getPreferredHvxVectorAction() local 302 if (HaveThreshold && 8*HvxWidenThreshold <= VecWidth) in getPreferredHvxVectorAction() 305 if (VecWidth >= HwWidth/2 && VecWidth < HwWidth) in getPreferredHvxVectorAction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 173 Type *VecWidth = VecInst->getType(); in decompose() local 174 (void)VecWidth; in decompose() 175 assert(VecWidth->isVectorTy() && in decompose() 176 DL.getTypeSizeInBits(VecWidth) >= in decompose() 202 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
|
| H A D | X86ISelDAGToDAG.cpp | 420 SDValue getExtractVEXTRACTImmediate(SDNode *N, unsigned VecWidth, in getExtractVEXTRACTImmediate() argument 422 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getExtractVEXTRACTImmediate() 425 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate() 428 SDValue getInsertVINSERTImmediate(SDNode *N, unsigned VecWidth, in getInsertVINSERTImmediate() argument 430 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getInsertVINSERTImmediate() 433 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate()
|
| H A D | X86ISelLowering.cpp | 48790 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local 48791 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 1101 unsigned VecWidth = VecStoreTy->getNumElements(); in vectorizeStoreChain() local 1105 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain() 1261 unsigned VecWidth = VecLoadTy->getNumElements(); in vectorizeLoadChain() local 1268 unsigned NewIdx = Idx + I * VecWidth; in vectorizeLoadChain()
|
| H A D | LoopVectorize.cpp | 460 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument 465 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 126 int VecWidth = 1; 143 let VecWidth = _VecWidth; 158 let VecWidth = _Ty.VecWidth; 170 let VecWidth = _Ty.VecWidth; 182 let VecWidth = _Ty.VecWidth; 193 let VecWidth = 0; 248 // The VecWidth field is ignored for GenericTypes. Use VectorList instead. 249 let VecWidth = 0;
|
| H A D | SemaDeclAttr.cpp | 3179 uint32_t VecWidth; in handleMinVectorWidthAttr() local 3180 if (!checkUInt32Argument(S, AL, E, VecWidth)) { in handleMinVectorWidthAttr() 3186 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr() 3191 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 496 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local 500 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt() 505 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 1031 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local 1032 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1184 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local 1185 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
|
| H A D | CGBuiltin.cpp | 12137 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local 12140 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog() 12142 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog() 12144 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog() 12146 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog() 12148 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog() 12150 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 10209 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local 10210 if (MinSplatBits > VecWidth) in isConstantSplat() 10215 SplatValue = APInt(VecWidth, 0); in isConstantSplat() 10216 SplatUndef = APInt(VecWidth, 0); in isConstantSplat() 10246 while (VecWidth > 8) { in isConstantSplat() 10247 unsigned HalfSize = VecWidth / 2; in isConstantSplat() 10261 VecWidth = HalfSize; in isConstantSplat() 10264 SplatBitSize = VecWidth; in isConstantSplat()
|
| H A D | SelectionDAGBuilder.cpp | 7085 unsigned VecWidth = VT.getVectorNumElements(); in visitIntrinsicCall() local 7090 for (unsigned i = 0; i < VecWidth; i++) { in visitIntrinsicCall() 7097 EVT CCVT = EVT::getVectorVT(I.getContext(), MVT::i1, VecWidth); in visitIntrinsicCall() 7099 auto VecTy = EVT::getEVT(FixedVectorType::get(ElementTy, VecWidth)); in visitIntrinsicCall()
|