/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 31 using VecTy = SmallVector<EltTy, 4>; 32 using value_type = typename VecTy::value_type; 37 using PtrUnion = PointerUnion<EltTy, VecTy *>; 46 if (VecTy *V = dyn_cast_if_present<VecTy *>(Val)) in ~TinyPtrVector() 51 if (VecTy *V = dyn_cast_if_present<VecTy *>(Val)) in TinyPtrVector() 52 Val = new VecTy(*V); in TinyPtrVector() 69 Val = new VecTy(*cast<VecTy *>(RHS.Val)); 75 cast<VecTy *>(Val)->clear(); 76 cast<VecTy *>(Val)->push_back(RHS.front()); 78 *cast<VecTy *>(Val) = *cast<VecTy *>(RHS.Val); [all …]
|
H A D | PostOrderIterator.h | 298 using VecTy = SmallVector<NodeRef, 8>; 299 VecTy Blocks; // Block list in normal PO order variable 306 using rpo_iterator = typename VecTy::reverse_iterator; 307 using const_rpo_iterator = typename VecTy::const_reverse_iterator;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 415 MVT VecTy = MVT::getVectorVT(ElemTy, N); in initializeHVXLowering() local 416 auto Action = getPreferredVectorAction(VecTy); in initializeHVXLowering() 418 setOperationAction(ISD::LOAD, VecTy, Custom); in initializeHVXLowering() 419 setOperationAction(ISD::STORE, VecTy, Custom); in initializeHVXLowering() 420 setOperationAction(ISD::SETCC, VecTy, Custom); in initializeHVXLowering() 421 setOperationAction(ISD::TRUNCATE, VecTy, Custom); in initializeHVXLowering() 422 setOperationAction(ISD::ANY_EXTEND, VecTy, Custom); in initializeHVXLowering() 423 setOperationAction(ISD::SIGN_EXTEND, VecTy, Custom); in initializeHVXLowering() 424 setOperationAction(ISD::ZERO_EXTEND, VecTy, Custom); in initializeHVXLowering() 426 setOperationAction(ISD::FP_TO_SINT, VecTy, Custo in initializeHVXLowering() 525 typeExtElem(MVT VecTy,unsigned Factor) const typeExtElem() argument 532 typeTruncElem(MVT VecTy,unsigned Factor) const typeTruncElem() argument 582 allowsHvxMemoryAccess(MVT VecTy,MachineMemOperand::Flags Flags,unsigned * Fast) const allowsHvxMemoryAccess() argument 597 allowsHvxMisalignedMemoryAccesses(MVT VecTy,MachineMemOperand::Flags Flags,unsigned * Fast) const allowsHvxMisalignedMemoryAccesses() argument 781 buildHvxVectorReg(ArrayRef<SDValue> Values,const SDLoc & dl,MVT VecTy,SelectionDAG & DAG) const buildHvxVectorReg() argument 1080 buildHvxVectorPred(ArrayRef<SDValue> Values,const SDLoc & dl,MVT VecTy,SelectionDAG & DAG) const buildHvxVectorPred() argument 1205 MVT VecTy = ty(VecV); insertHvxElementReg() local 1258 MVT VecTy = ty(VecV); extractHvxSubvectorReg() local 1298 MVT VecTy = ty(VecV); extractHvxSubvectorPred() local 1362 MVT VecTy = ty(VecV); insertHvxSubvectorReg() local 1449 MVT VecTy = ty(VecV); insertHvxSubvectorPred() local 1523 MVT VecTy = MVT::getVectorVT(MVT::getIntegerVT(8*HwLen/PredLen), PredLen); compressHvxPred() local 1609 MVT VecTy = ty(Op); LowerHvxBuildVector() local 1650 MVT VecTy = ty(Op); LowerHvxSplatVector() local 1670 MVT VecTy = ty(Op); LowerHvxConcatVectors() local 1779 MVT VecTy = ty(Op); LowerHvxInsertElement() local 1826 MVT VecTy = ty(VecV); LowerHvxInsertSubvector() local 2057 MVT VecTy = MVT::getVectorVT(MVT::getIntegerVT(ElemSize * 8), VecLen); LowerHvxSelect() local 2245 MVT VecTy = ty(Op); LowerHvxFpExtend() local 2480 MVT VecTy = ty(A); emitHvxMulHsV60() local 2538 MVT VecTy = ty(A); emitHvxMulLoHiV60() local 2615 MVT VecTy = ty(A); emitHvxMulLoHiV62() local [all...] |
H A D | HexagonTargetTransformInfo.cpp | 55 auto *VecTy = dyn_cast<VectorType>(Ty); in isHVXVectorType() local 56 if (!VecTy) in isHVXVectorType() 58 if (!ST.isTypeForHVX(VecTy)) in isHVXVectorType() 60 if (ST.useHVXV69Ops() || !VecTy->getElementType()->isFloatingPointTy()) in isHVXVectorType() 180 VectorType *VecTy = cast<VectorType>(Src); in getMemoryOpCost() local 181 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost() 182 if (isHVXVectorType(VecTy)) { in getMemoryOpCost() 203 VecTy->getElementType()->isFloatingPointTy() ? FloatFactor : 1; in getMemoryOpCost() 246 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument 250 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost() [all …]
|
H A D | HexagonISelLowering.cpp | 2138 Type *VecTy = I.getArgOperand(1)->getType(); in getTgtMemIntrinsic() local 2139 Info.memVT = MVT::getVT(VecTy); in getTgtMemIntrinsic() 2143 MaybeAlign(M.getDataLayout().getTypeAllocSizeInBits(VecTy) / 8); in getTgtMemIntrinsic() 2260 MVT VecTy = ty(Op); in LowerVECTOR_SHUFFLE() local 2261 assert(!Subtarget.isHVXVectorType(VecTy, true) && in LowerVECTOR_SHUFFLE() 2263 assert(VecTy.getSizeInBits() <= 64 && "Unexpected vector length"); in LowerVECTOR_SHUFFLE() 2272 if (ty(Op0) != VecTy || ty(Op1) != VecTy) in LowerVECTOR_SHUFFLE() 2280 return DAG.getUNDEF(VecTy); in LowerVECTOR_SHUFFLE() 2288 unsigned ElemBytes = VecTy in LowerVECTOR_SHUFFLE() 2491 getBuildVectorConstInts(ArrayRef<SDValue> Values,MVT VecTy,SelectionDAG & DAG,MutableArrayRef<ConstantInt * > Consts) const getBuildVectorConstInts() argument 2521 buildVector32(ArrayRef<SDValue> Elem,const SDLoc & dl,MVT VecTy,SelectionDAG & DAG) const buildVector32() argument 2612 buildVector64(ArrayRef<SDValue> Elem,const SDLoc & dl,MVT VecTy,SelectionDAG & DAG) const buildVector64() argument 2675 MVT VecTy = ty(VecV); extractVector() local 2729 MVT VecTy = ty(VecV); extractVectorPred() local 2781 MVT VecTy = ty(VecV); insertVector() local 2823 MVT VecTy = ty(VecV); insertVectorPred() local 2945 MVT VecTy = ty(Op); LowerBUILD_VECTOR() local 3000 MVT VecTy = ty(Op); LowerCONCAT_VECTORS() local [all...] |
H A D | HexagonSubtarget.cpp | 183 bool HexagonSubtarget::isHVXVectorType(EVT VecTy, bool IncludeBool) const { in isHVXVectorType() argument 184 if (!VecTy.isSimple()) in isHVXVectorType() 186 if (!VecTy.isVector() || !useHVXOps() || VecTy.isScalableVector()) in isHVXVectorType() 188 MVT ElemTy = VecTy.getSimpleVT().getVectorElementType(); in isHVXVectorType() 193 unsigned NumElems = VecTy.getVectorNumElements(); in isHVXVectorType() 205 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() 211 bool HexagonSubtarget::isTypeForHVX(Type *VecTy, bool IncludeBool) const { in isTypeForHVX() argument 212 if (!VecTy->isVectorTy() || isa<ScalableVectorType>(VecTy)) in isTypeForHVX() 215 Type *ScalTy = VecTy->getScalarType(); in isTypeForHVX() 221 EVT Ty = EVT::getEVT(VecTy, /*HandleUnknown*/false); in isTypeForHVX()
|
H A D | HexagonISelLowering.h | 368 unsigned getPreferredHvxVectorAction(MVT VecTy) const; 377 bool getBuildVectorConstInts(ArrayRef<SDValue> Values, MVT VecTy, 380 SDValue buildVector32(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy, 382 SDValue buildVector64(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy, 443 MVT typeExtElem(MVT VecTy, unsigned Factor) const; 444 MVT typeTruncElem(MVT VecTy, unsigned Factor) const; 478 bool allowsHvxMemoryAccess(MVT VecTy, MachineMemOperand::Flags Flags, 480 bool allowsHvxMisalignedMemoryAccesses(MVT VecTy, 495 MVT VecTy, SelectionDAG &DAG) const; 497 MVT VecTy, SelectionDAG &DAG) const;
|
H A D | HexagonVectorCombine.cpp | 670 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) in getMask() local 671 return HVC.getFullValue(HVC.getBoolTy(HVC.length(VecTy))); in getMask() 1325 auto *VecTy = VectorType::get(Ty, 1, /*Scalable=*/false); in realignStoreGroup() local 1326 return Builder.CreateBitCast(Val, VecTy, "cst"); in realignStoreGroup() 1718 auto *VecTy = dyn_cast<VectorType>(Op.X.Val->getType()); in processFxpMul() local 1719 if (VecTy == nullptr) in processFxpMul() 1721 auto *ElemTy = cast<IntegerType>(VecTy->getElementType()); in processFxpMul() 1725 if ((HVC.length(VecTy) * ElemWidth) % (8 * HVC.HST.getVectorLength()) != 0) in processFxpMul() 1768 auto *ResizeTy = VectorType::get(HVC.getIntTy(Width), VecTy); in processFxpMul() 1801 ? Builder.CreateSExt(Cat, VecTy, "sxt") in processFxpMul() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 972 const LLT VecTy = Query.Types[TypeIdx]; in widenVectorEltsToVectorMinSize() 973 return VecTy.isVector() && !VecTy.isScalable() && in widenVectorEltsToVectorMinSize() 974 VecTy.getSizeInBits() < VectorSize; in widenVectorEltsToVectorMinSize() 977 const LLT VecTy = Query.Types[TypeIdx]; in widenVectorEltsToVectorMinSize() 978 unsigned NumElts = VecTy.getNumElements(); in widenVectorEltsToVectorMinSize() 1141 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 1142 return VecTy.isVector() && VecTy.getElementType() == EltTy && in clampMinNumElements() 1143 VecTy.getNumElements() < MinElements; in clampMinNumElements() 1146 LLT VecTy = Query.Types[TypeIdx]; in clampMinNumElements() 1148 TypeIdx, LLT::fixed_vector(MinElements, VecTy.getElementType())); in clampMinNumElements() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 364 Type *VecTy = Ext0->getVectorOperand()->getType(); in getShuffleExtract() local 366 assert(VecTy == Ext1->getVectorOperand()->getType() && "Need matching types"); in getShuffleExtract() 368 TTI.getVectorInstrCost(*Ext0, VecTy, CostKind, Index0); in getShuffleExtract() 370 TTI.getVectorInstrCost(*Ext1, VecTy, CostKind, Index1); in getShuffleExtract() 411 auto *VecTy = cast<VectorType>(Ext0->getOperand(0)->getType()); in isExtractExtractCheap() local 418 VectorOpCost = TTI.getArithmeticInstrCost(Opcode, VecTy); in isExtractExtractCheap() 426 Opcode, VecTy, CmpInst::makeCmpResultType(VecTy), Pred); in isExtractExtractCheap() 436 TTI.getVectorInstrCost(*Ext0, VecTy, CostKind, Ext0Index); in isExtractExtractCheap() 438 TTI.getVectorInstrCost(*Ext1, VecTy, CostKind, Ext1Index); in isExtractExtractCheap() 483 TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, VecTy); in isExtractExtractCheap() [all …]
|
H A D | LoadStoreVectorizer.cpp | 691 unsigned ChainSizeBytes, VectorType *VecTy) { in splitChainByAlignment() argument 693 ChainSizeBytes, VecTy) in splitChainByAlignment() 695 ChainSizeBytes, VecTy); in splitChainByAlignment() 743 FixedVectorType *VecTy = FixedVectorType::get(VecElemTy, NumVecElems); in splitChainByAlignment() local 748 VecElemBits * NumVecElems / 8, VecTy); in splitChainByAlignment() 870 Type *VecTy = FixedVectorType::get( in vectorizeChain() local 901 VecInst = Builder.CreateAlignedLoad(VecTy, in vectorizeChain() 952 Value *Vec = PoisonValue::get(VecTy); in vectorizeChain() 1358 VectorType *VecTy = dyn_cast<VectorType>(Ty); in collectEquivalenceClasses() local 1361 if ((!VecTy && !isPowerOf2_32(DL.getTypeSizeInBits(Ty))) || in collectEquivalenceClasses() [all …]
|
H A D | SLPVectorizer.cpp | 245 if (auto *VecTy = dyn_cast<FixedVectorType>(Ty)) in getNumElements() local 246 return VecTy->getNumElements(); in getNumElements() 487 auto *VecTy = dyn_cast<FixedVectorType>(V->getType()); local 488 if (!VecTy) 518 for (unsigned I = 0, E = VecTy->getNumElements(); I != E; ++I) { 4231 auto *VecTy = getWidenedType(ScalarTy, NumScalars); in findReusedOrderedScalars() local 4232 int NumParts = TTI->getNumberOfParts(VecTy); in findReusedOrderedScalars() 4544 Type *ScalarTy, VectorType *VecTy); 4575 auto *VecTy = getWidenedType(ScalarTy, Sz); in canVectorizeLoads() local 4586 if (!IsSorted && Sz > MinProfitableStridedLoads && TTI->isTypeLegal(VecTy) in canVectorizeLoads() 5271 VectorType *VecTy = reorderTopToBottom() local 7598 getVectorCallCosts(CallInst * CI,FixedVectorType * VecTy,TargetTransformInfo * TTI,TargetLibraryInfo * TLI,ArrayRef<Type * > ArgTys) getVectorCallCosts() argument 7733 isIdentityMask(ArrayRef<int> Mask,const FixedVectorType * VecTy,bool IsStrict) isIdentityMask() argument 8070 getGEPCosts(const TargetTransformInfo & TTI,ArrayRef<Value * > Ptrs,Value * BasePtr,unsigned Opcode,TTI::TargetCostKind CostKind,Type * ScalarTy,VectorType * VecTy) getGEPCosts() argument 8159 auto *VecTy = getWidenedType(ScalarTy, E.Scalars.size()); transformNodes() local 8186 auto *VecTy = getWidenedType(ScalarTy, E.Scalars.size()); transformNodes() local 8256 auto *VecTy = getWidenedType(ScalarTy, VL.size()); getBuildVectorCost() local 8392 auto *VecTy = getWidenedType(ScalarTy, VF); getBuildVectorCost() local 8466 auto *VecTy = dyn_cast<FixedVectorType>(EE->getVectorOperandType()); computeExtractCost() local 8716 auto *VecTy = cast<VectorType>(V->getType()); createShuffle() local 9272 auto *VecTy = getWidenedType(ScalarTy, VL.size()); getEntryCost() local 10624 auto *VecTy = getWidenedType(EU.Scalar->getType(), BundleWidth); getTreeCost() local 10816 auto *VecTy = dyn_cast<FixedVectorType>(EI->getVectorOperandType()); tryToGatherSingleRegisterExtractElements() local 11356 auto *VecTy = getWidenedType(ScalarTy, VL.size()); getGatherCost() local 11661 auto *VecTy = getWidenedType(ScalarTy, VL.size()); gather() local 11855 auto *VecTy = cast<VectorType>(V->getType()); castToScalarTyElem() local 12381 auto *VecTy = getWidenedType(ScalarTy, GatheredScalars.size()); processBuildVector() local 12777 auto *VecTy = getWidenedType(ScalarTy, E->Scalars.size()); vectorizeTree() local 12788 __anon07b2d774fc02(Value *V, const TreeEntry *E, VectorType *VecTy) vectorizeTree() argument 16503 auto *VecTy = getWidenedType(ScalarTy, VF); tryToVectorizeList() local [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 313 bool isLegalAltInstr(VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, in isLegalAltInstr() argument 589 InstructionCost getAltInstrCost(VectorType *VecTy, unsigned Opcode0, in getAltInstrCost() argument 644 VectorType *VecTy, in getExtractWithExtendCost() argument 722 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, in getInterleavedMemoryOpCost() argument 915 VectorType *VecTy) const { in getLoadVectorFactor() argument 921 VectorType *VecTy) const { in getStoreVectorFactor() argument 1356 auto *VecTy = cast<VectorType>(U->getType()); in getInstructionCost() local 1369 Mask, CostKind, SubIndex, VecTy, in getInstructionCost() 1374 TTI::SK_InsertSubvector, VecTy, Mask, CostKind, SubIndex, in getInstructionCost() 1375 FixedVectorType::get(VecTy->getScalarType(), NumSubElts), in getInstructionCost() [all …]
|
H A D | TargetTransformInfo.h | 821 bool isLegalAltInstr(VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, 1300 VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, 1366 VectorType *VecTy, 1476 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 1670 VectorType *VecTy) const; 1676 VectorType *VecTy) const; 1919 virtual bool isLegalAltInstr(VectorType *VecTy, unsigned Opcode0, 2040 VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, 2053 VectorType *VecTy, 2101 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTImporter.h | 149 using VecTy = llvm::SmallVector<Decl *, 32>; 169 using Cycle = llvm::iterator_range<VecTy::const_reverse_iterator>; 178 VecTy copyCycleAtBack() const { in copyCycleAtBack() 180 return VecTy(R.begin(), R.end()); in copyCycleAtBack() 185 VecTy Nodes; 201 llvm::SmallVector<ImportPathTy::VecTy, 32>;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 102 FixedVectorType *VecTy = nullptr; member 225 unsigned NumElements = VS.VecTy->getNumElements(); in concatenate() 241 Value *Res = PoisonValue::get(VS.VecTy); in concatenate() 378 if (auto *VecTy = dyn_cast<FixedVectorType>(FragmentTy)) { in operator []() local 380 for (unsigned J = 0; J < VecTy->getNumElements(); ++J) in operator []() 541 Split.VecTy = dyn_cast<FixedVectorType>(Ty); in getVectorSplit() 542 if (!Split.VecTy) in getVectorSplit() 545 unsigned NumElems = Split.VecTy->getNumElements(); in getVectorSplit() 546 Type *ElemTy = Split.VecTy->getElementType(); in getVectorSplit() 690 assert(OpVecTy->getNumElements() == VS->VecTy->getNumElements()); in splitCall() [all …]
|
H A D | SROA.cpp | 2530 auto *VecTy = cast<FixedVectorType>(V->getType()); in extractVector() local 2532 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); in extractVector() 2534 if (NumElements == VecTy->getNumElements()) in extractVector() 2552 VectorType *VecTy = cast<VectorType>(Old->getType()); in insertVector() local 2553 assert(VecTy && "Can only insert a vector into a vector"); in insertVector() 2565 cast<FixedVectorType>(VecTy)->getNumElements() && in insertVector() 2568 cast<FixedVectorType>(VecTy)->getNumElements()) { in insertVector() 2569 assert(V->getType() == VecTy && "Vector type mismatch"); in insertVector() 2579 Mask.reserve(cast<FixedVectorType>(VecTy)->getNumElements()); in insertVector() 2580 for (unsigned i = 0; i != cast<FixedVectorType>(VecTy)->getNumElements(); ++i) in insertVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 41 } else if (VectorType *VecTy = dyn_cast<VectorType>(T)) { in makeConstantsWithType() local 43 Type *EltTy = VecTy->getElementType(); in makeConstantsWithType() 45 ElementCount EC = VecTy->getElementCount(); in makeConstantsWithType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 657 static LLT getMaskTypeFor(LLT VecTy) { in getMaskTypeFor() argument 658 assert(VecTy.isVector()); in getMaskTypeFor() 659 ElementCount EC = VecTy.getElementCount(); in getMaskTypeFor() 665 static MachineInstrBuilder buildAllOnesMask(LLT VecTy, const SrcOp &VL, in buildAllOnesMask() argument 668 LLT MaskTy = getMaskTypeFor(VecTy); in buildAllOnesMask() 677 LLT VecTy = Dst.getLLTTy(MRI); in buildDefaultVLOps() local 678 assert(VecTy.isScalableVector() && "Expecting scalable container type"); in buildDefaultVLOps() 680 MachineInstrBuilder Mask = buildAllOnesMask(VecTy, VL, MIB, MRI); in buildDefaultVLOps() 723 LLT VecTy = MRI.getType(Dst); in legalizeSplatVector() local 728 VecTy.getElementType().getSizeInBits() == 64) { in legalizeSplatVector() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 489 VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, in isLegalAltInstr() argument 491 return TTIImpl->isLegalAltInstr(VecTy, Opcode0, Opcode1, OpcodeMask); in isLegalAltInstr() 907 VectorType *VecTy = dyn_cast<VectorType>(Ty); in getArithmeticInstrCost() local 909 if (VecTy && in getArithmeticInstrCost() 912 VecTy->getElementCount())) in getArithmeticInstrCost() 913 return getCallInstrCost(nullptr, VecTy, {VecTy, VecTy}, CostKind); in getArithmeticInstrCost() 925 VectorType *VecTy, unsigned Opcode0, unsigned Opcode1, in getAltInstrCost() argument 928 TTIImpl->getAltInstrCost(VecTy, Opcode0, Opcode1, OpcodeMask, CostKind); in getAltInstrCost() 999 unsigned Opcode, Type *Dst, VectorType *VecTy, unsigned Index) const { in getExtractWithExtendCost() argument 1001 TTIImpl->getExtractWithExtendCost(Opcode, Dst, VecTy, Index); in getExtractWithExtendCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/ |
H A D | MachineValueType.h | 190 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); in changeVectorElementTypeToInteger() local 191 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && in changeVectorElementTypeToInteger() 193 return VecTy; in changeVectorElementTypeToInteger() 199 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); in changeVectorElementType() local 200 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && in changeVectorElementType() 202 return VecTy; in changeVectorElementType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizeMutations.cpp | 100 const LLT VecTy = Query.Types[TypeIdx]; in moreElementsToNextPow2() local 102 std::max(1u << Log2_32_Ceil(VecTy.getNumElements()), Min); in moreElementsToNextPow2() 104 TypeIdx, LLT::fixed_vector(NewNumElements, VecTy.getElementType())); in moreElementsToNextPow2()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVCodeGenPrepare.cpp | 149 Type *VecTy = I.getOperand(1)->getType(); in visitIntrinsicInst() local 151 auto *VecPHI = Builder.CreatePHI(VecTy, PHI->getNumIncomingValues()); in visitIntrinsicInst() 156 VecTy, PHI->getIncomingValueForBlock(BB), (uint64_t)0); in visitIntrinsicInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 145 InstructionCost getAltInstrCost(VectorType *VecTy, unsigned Opcode0, 227 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 231 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor, 277 bool isLegalAltInstr(VectorType *VecTy, unsigned Opcode0, unsigned Opcode1,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.h | 173 } else if (auto *VecTy = dyn_cast<VectorType>(Ty)) { in applyWrappers() local 174 Type *ElemTy = VecTy->getElementType(); in applyWrappers() 177 return VectorType::get(NewElemTy, VecTy->getElementCount()); in applyWrappers()
|