Home
last modified time | relevance | path

Searched refs:FixedVectorType (Results 1 – 25 of 121) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp122 return isExtendedVector() && isa<FixedVectorType>(LLVMTy); in isExtendedFixedLengthVector()
232 return FixedVectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT()
234 return FixedVectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT()
236 return FixedVectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT()
238 return FixedVectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT()
264 return FixedVectorType::get(Type::getInt8Ty(Context), 1); in getTypeForEVT()
266 return FixedVectorType::get(Type::getInt8Ty(Context), 2); in getTypeForEVT()
268 return FixedVectorType::get(Type::getInt8Ty(Context), 4); in getTypeForEVT()
270 return FixedVectorType::get(Type::getInt8Ty(Context), 8); in getTypeForEVT()
370 return FixedVectorType::get(Type::getHalfTy(Context), 1); in getTypeForEVT()
[all …]
H A DExpandReductions.cpp127 cast<FixedVectorType>(Vec->getType())->getNumElements())) in expandReductions()
146 auto *FTy = cast<FixedVectorType>(Vec->getType()); in expandReductions()
175 cast<FixedVectorType>(Vec->getType())->getNumElements())) in expandReductions()
187 cast<FixedVectorType>(Vec->getType())->getNumElements()) || in expandReductions()
H A DInterleavedLoadCombinePass.cpp676 FixedVectorType *const VTy;
678 VectorInfo(FixedVectorType *VTy) : VTy(VTy) { in VectorInfo()
739 FixedVectorType *VTy = dyn_cast<FixedVectorType>(Op->getType()); in computeFromBCI()
789 FixedVectorType *ArgTy = in computeFromSVI()
790 cast<FixedVectorType>(SVI->getOperand(0)->getType()); in computeFromSVI()
1209 cast<FixedVectorType>(InterleavedLoad.front().SVI->getType()) in combine()
1211 FixedVectorType *ILTy = FixedVectorType::get(ETy, Factor * ElementsPerSVI); in combine()
1272 Candidates.emplace_back(cast<FixedVectorType>(SVI->getType())); in run()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h539 class FixedVectorType : public VectorType {
541 FixedVectorType(Type *ElTy, unsigned NumElts) in FixedVectorType() function
547 static FixedVectorType *get(Type *ElementType, const FixedVectorType *FVTy) { in get()
551 static FixedVectorType *getInteger(FixedVectorType *VTy) { in getInteger()
555 static FixedVectorType *getExtendedElementVectorType(FixedVectorType *VTy) { in getExtendedElementVectorType()
559 static FixedVectorType *getTruncatedElementVectorType(FixedVectorType *VTy) { in getTruncatedElementVectorType()
560 return cast<FixedVectorType>( in getTruncatedElementVectorType()
564 static FixedVectorType *getSubdividedVectorType(FixedVectorType *VTy, in getSubdividedVectorType()
566 return cast<FixedVectorType>( in getSubdividedVectorType()
570 static FixedVectorType *getHalfElementsVectorType(FixedVectorType *VTy) { in getHalfElementsVectorType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp243 FixedVectorType *PtrTy = cast<FixedVectorType>(Ptr->getType()); in decomposePtr()
268 !isa<FixedVectorType>(Offsets->getType())) in decomposeGEP()
285 FixedVectorType *OffsetType = cast<FixedVectorType>(Offsets->getType()); in decomposeGEP()
409 auto *Ty = cast<FixedVectorType>(I->getType()); in lowerGather()
457 auto *Ty = cast<FixedVectorType>(I->getType()); in tryCreateMaskedGatherBase()
477 auto *Ty = cast<FixedVectorType>(I->getType()); in tryCreateMaskedGatherBaseWB()
729 FixedVectorType *Ty; in tryCreateIncrementingGatScat()
731 Ty = cast<FixedVectorType>(I->getType()); in tryCreateIncrementingGatScat()
1128 FixedVectorType *XElType = dyn_cast<FixedVectorType>(X->getType()); in CheckAndCreateOffsetAdd()
1129 FixedVectorType *YElType = dyn_cast<FixedVectorType>(Y->getType()); in CheckAndCreateOffsetAdd()
[all …]
H A DARMTargetTransformInfo.cpp182 cast<FixedVectorType>(II.getType())->getNumElements(), in instCombineIntrinsic()
1018 cast<FixedVectorType>(ValTy)->getNumElements() > 1) { in getCmpSelInstrCost()
1019 FixedVectorType *VecValTy = cast<FixedVectorType>(ValTy); in getCmpSelInstrCost()
1020 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost()
1107 if (auto *VecTy = dyn_cast<FixedVectorType>(DataTy)) { in isLegalMaskedLoad()
1445 if (auto *VTy = dyn_cast<FixedVectorType>(Ty)) { in getArithmeticInstrCost()
1485 if (ST->hasMVEFloatOps() && isa<FixedVectorType>(Src) && I && in getMemoryOpCost()
1489 FixedVectorType *SrcVTy = cast<FixedVectorType>(Src); in getMemoryOpCost()
1516 if (!isa<FixedVectorType>(Src)) in getMaskedMemoryOpCost()
1521 return cast<FixedVectorType>(Src)->getNumElements() * 8; in getMaskedMemoryOpCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp690 auto *InsVecType = cast<FixedVectorType>(InsElt->getType()); in replaceExtractElements()
1552 auto *VTy = dyn_cast<FixedVectorType>(InsElt.getType()); in foldTruncInsEltPair()
1663 if (isa<FixedVectorType>(IE.getType()) && in visitInsertElementInst()
1667 isa<FixedVectorType>(ExtVecOp->getType()) && in visitInsertElementInst()
2215 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in canonicalizeInsertSplat()
2376 cast<FixedVectorType>(SrcType)->getNumElements() != in foldTruncShuffle()
2377 cast<FixedVectorType>(DestType)->getNumElements() || in foldTruncShuffle()
2421 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in narrowVectorSelect()
2516 assert(isa<FixedVectorType>(CastSrcTy) && isa<FixedVectorType>(ShufOpTy) && in foldCastShuffle()
2818 auto *XType = cast<FixedVectorType>(X->getType()); in visitShuffleVectorInst()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp49 if (auto *FVT = dyn_cast<FixedVectorType>(Ty)) in isV256I32Ty()
177 FixedVectorType *V256I32Ty = FixedVectorType::get(EltTy, 256); in createTileLoadStoreLoops()
300 FixedVectorType *V256I32Ty = FixedVectorType::get(B.getInt32Ty(), 256); in createTileDPLoops()
376 FixedVectorType *V4I8Ty = FixedVectorType::get(B.getInt8Ty(), 4); in createTileDPLoops()
377 FixedVectorType *V4I32Ty = FixedVectorType::get(B.getInt32Ty(), 4); in createTileDPLoops()
431 FixedVectorType *V2I16Ty = FixedVectorType::get(B.getInt16Ty(), 2); in createTileDPLoops()
432 FixedVectorType *V2F32Ty = FixedVectorType::get(B.getFloatTy(), 2); in createTileDPLoops()
559 FixedVectorType *V256I32Ty = FixedVectorType::get(Builder.getInt32Ty(), 256); in lowerTileZero()
H A DX86PartialReduction.cpp110 if (cast<FixedVectorType>(Op->getType())->getNumElements() < 8) in tryMAddReplacement()
185 auto *MulTy = cast<FixedVectorType>(Op->getType()); in tryMAddReplacement()
265 auto *OpTy = cast<FixedVectorType>(Op->getType()); in trySADReplacement()
299 FixedVectorType::get(Builder.getInt32Ty(), IntrinsicNumElts / 4); in trySADReplacement()
319 cast<FixedVectorType>(Ops[0]->getType())->getNumElements() * 2; in trySADReplacement()
329 NumElts = cast<FixedVectorType>(OpTy)->getNumElements(); in trySADReplacement()
336 cast<FixedVectorType>(Ops[0]->getType())->getNumElements(); in trySADReplacement()
368 unsigned NumElems = cast<FixedVectorType>(BO->getType())->getNumElements(); in matchAddReduction()
H A DX86InterleavedAccess.cpp72 void decompose(Instruction *Inst, unsigned NumSubVectors, FixedVectorType *T,
168 Instruction *VecInst, unsigned NumSubVectors, FixedVectorType *SubVecTy, in decompose()
204 VecBaseTy = FixedVectorType::get(Type::getInt8Ty(LI->getContext()), 16); in decompose()
720 auto *ShuffleTy = cast<FixedVectorType>(Shuffles[0]->getType()); in lowerIntoOptimizedSequence()
723 auto *ShuffleEltTy = cast<FixedVectorType>(Inst->getType()); in lowerIntoOptimizedSequence()
766 FixedVectorType::get(ShuffleEltTy, NumSubVecElems), in lowerIntoOptimizedSequence()
829 assert(cast<FixedVectorType>(SVI->getType())->getNumElements() % Factor == in lowerInterleavedStore()
H A DX86InstCombineIntrinsic.cpp203 auto *VT = cast<FixedVectorType>(Vec->getType()); in simplifyX86immShift()
351 auto *VT = cast<FixedVectorType>(II.getType()); in simplifyX86varShift()
448 auto *ArgTy = cast<FixedVectorType>(Arg0->getType()); in simplifyX86pack()
513 auto *ArgTy = dyn_cast<FixedVectorType>(Arg->getType()); in simplifyX86movmsk()
1634 auto *VecTy = cast<FixedVectorType>(II.getType()); in simplifyX86insertps()
1735 auto *ShufTy = FixedVectorType::get(IntTy8, 16); in simplifyX86extrq()
1812 auto *ShufTy = FixedVectorType::get(IntTy8, 16); in simplifyX86insertq()
1877 auto *VecTy = cast<FixedVectorType>(II.getType()); in simplifyX86pshufb()
1922 auto *VecTy = cast<FixedVectorType>(II.getType()); in simplifyX86vpermilvar()
1969 auto *VecTy = cast<FixedVectorType>(II.getType()); in simplifyX86vpermv()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h134 assert((!isa<FixedVectorType>(VTy) || in getExtractSubvectorOverhead()
162 assert((!isa<FixedVectorType>(VTy) || in getInsertSubvectorOverhead()
216 auto *VT = cast<FixedVectorType>(DataTy); in getCommonMaskedMemoryOpCost()
224 FixedVectorType::get( in getCommonMaskedMemoryOpCost()
763 auto *Ty = cast<FixedVectorType>(InTy); in getScalarizationOverhead()
790 auto *Ty = cast<FixedVectorType>(InTy); in getScalarizationOverhead()
947 if (auto *VTy = dyn_cast<FixedVectorType>(Ty)) {
1017 if (auto *FVT = dyn_cast<FixedVectorType>(Tp))
1293 auto *SrcVT = FixedVectorType::get(EltTy, VF); in getReplicationShuffleCost()
1387 auto *VT = cast<FixedVectorType>(VecTy);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp249 auto *Ty = cast<FixedVectorType>(I.getType()); in vectorizeLoadInsert()
298 auto *Ty = cast<FixedVectorType>(I.getType()); in widenSubvectorLoad()
486 auto *VecTy = cast<FixedVectorType>(Vec->getType()); in createShiftShuffle()
638 auto *VecTy = cast<FixedVectorType>(I.getType()); in foldInsExtFNeg()
1362 auto *VecTy = cast<FixedVectorType>(I.getType()); in foldShuffleOfBinops()
1481 FixedVectorType *VecType = in foldShuffleFromReductions()
1485 FixedVectorType *ShuffleInputType = in foldShuffleFromReductions()
1503 FixedVectorType *VecTyForCost = in foldShuffleFromReductions()
1541 auto *VT = cast<FixedVectorType>(I.getType()); in foldSelectShuffle()
1782 FixedVectorType *Op0SmallVT = in foldSelectShuffle()
[all …]
H A DSLPVectorizer.cpp6335 auto *VT = cast<FixedVectorType>(EltTy); in canMapToVector()
7406 *R.DL, FixedVectorType::get( in createShuffle()
8972 if (isa<FixedVectorType>(EU.Scalar->getType())) in getTreeCost()
9040 FixedVectorType::get( in getTreeCost()
10025 FixedVectorType *VecTy = FixedVectorType::get(Val0->getType(), VL.size()); in gather()
10374 if (!isa<FixedVectorType>(V1->getType())) { in add()
10387 !isa<FixedVectorType>(V1->getType())) { in add()
11213 FixedVectorType::get( in vectorizeTree()
11436 VecTy = cast<FixedVectorType>(V->getType()); in vectorizeTree()
12034 FixedVectorType::get( in vectorizeTree()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp324 if (isa<FixedVectorType>(Tp)) { in getShuffleCost()
395 cast<FixedVectorType>(Tp)->getNumElements() && in getShuffleCost()
397 cast<FixedVectorType>(Tp)->getNumElements()) == in getShuffleCost()
400 unsigned VF = cast<FixedVectorType>(Tp)->getNumElements(); in getShuffleCost()
562 auto *FVTy = cast<FixedVectorType>(VecTy); in getInterleavedMemoryOpCost()
576 auto *LegalFVTy = FixedVectorType::get(FVTy->getElementType(), in getInterleavedMemoryOpCost()
599 FixedVectorType *SubVecTy = in getInterleavedMemoryOpCost()
600 FixedVectorType::get(FVTy->getElementType(), VF * Factor); in getInterleavedMemoryOpCost()
923 return cast<FixedVectorType>(Ty)->getNumElements(); in getEstimatedVLFor()
930 if (isa<FixedVectorType>(Ty) && !ST->useRVVForFixedLengthVectors()) in getMinMaxReductionCost()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp129 if (((isa<FixedVectorType>(this)) && Ty->isX86_MMXTy()) && in canLosslesslyBitCastTo()
132 if ((isX86_MMXTy() && isa<FixedVectorType>(Ty)) && in canLosslesslyBitCastTo()
137 if (((isa<FixedVectorType>(this)) && Ty->isX86_AMXTy()) && in canLosslesslyBitCastTo()
140 if ((isX86_AMXTy() && isa<FixedVectorType>(Ty)) && in canLosslesslyBitCastTo()
680 return FixedVectorType::get(ElementType, EC.getKnownMinValue()); in get()
692 FixedVectorType *FixedVectorType::get(Type *ElementType, unsigned NumElts) { in get()
705 Entry = new (pImpl->Alloc) FixedVectorType(ElementType, NumElts); in get()
706 return cast<FixedVectorType>(Entry); in get()
H A DAutoUpgrade.cpp1448 auto *ResultTy = cast<FixedVectorType>(Op->getType()); in upgradeX86PSLLDQIntrinsics()
1482 auto *ResultTy = cast<FixedVectorType>(Op->getType()); in upgradeX86PSRLDQIntrinsics()
1515 llvm::VectorType *MaskTy = FixedVectorType::get( in getX86MaskVec()
2770 auto *DstTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
2802 auto *DstTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
2935 auto *VecTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
2950 auto *DstTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
2981 auto *VT = FixedVectorType::get(EltTy, NumSrcElts); in UpgradeIntrinsicCall()
3104 auto *VecTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
3189 auto *VecTy = cast<FixedVectorType>(CI->getType()); in UpgradeIntrinsicCall()
[all …]
H A DConstants.cpp137 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNotOneValue()
182 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNotMinSignedValue()
204 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isFiniteNonZeroFP()
225 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNormalFP()
246 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in hasExactInverseFP()
267 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNaN()
347 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in containsConstantExpression()
762 auto *VTy = dyn_cast<FixedVectorType>(Ty); in replaceUndefsWith()
786 auto *VTy = dyn_cast<FixedVectorType>(Ty); in mergeUndefsWith()
792 assert(isa<FixedVectorType>(Other->getType()) && in mergeUndefsWith()
[all …]
H A DConstantFold.cpp224 cast<FixedVectorType>(DestTy)->getNumElements() == in ConstantFoldCastInstruction()
225 cast<FixedVectorType>(V->getType())->getNumElements()) { in ConstantFoldCastInstruction()
239 e = cast<FixedVectorType>(V->getType())->getNumElements(); in ConstantFoldCastInstruction()
430 if (auto *ValFVTy = dyn_cast<FixedVectorType>(Val->getType())) { in ConstantFoldExtractElementInstruction()
496 auto *ValTy = cast<FixedVectorType>(Val->getType()); in ConstantFoldInsertElementInstruction()
650 } else if (auto *VTy = dyn_cast<FixedVectorType>(C->getType())) { in ConstantFoldUnaryInstruction()
994 if (auto *FVTy = dyn_cast<FixedVectorType>(VTy)) { in ConstantFoldBinaryInstruction()
1679 ? cast<FixedVectorType>(PrevIdx->getType())->getNumElements() in ConstantFoldGetElementPtr()
1680 : cast<FixedVectorType>(CurrIdx->getType())->getNumElements(), in ConstantFoldGetElementPtr()
1702 ExtendedTy = FixedVectorType::get( in ConstantFoldGetElementPtr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp415 auto *VTy = cast<FixedVectorType>(Ty); in getNumVectorRegs()
527 auto *VTy = cast<FixedVectorType>(Ty); in getArithmeticInstrCost()
662 assert(cast<FixedVectorType>(SrcTy)->getNumElements() == in getVectorTruncCost()
663 cast<FixedVectorType>(DstTy)->getNumElements() && in getVectorTruncCost()
679 unsigned VF = cast<FixedVectorType>(SrcTy)->getNumElements(); in getVectorTruncCost()
741 return FixedVectorType::get(ElTy, VF); in getCmpOpsType()
752 auto *DstVTy = cast<FixedVectorType>(Dst); in getBoolVecToIntConversionCost()
845 auto *SrcVecTy = cast<FixedVectorType>(Src); in getCastInstrCost()
846 auto *DstVecTy = dyn_cast<FixedVectorType>(Dst); in getCastInstrCost()
993 unsigned VF = cast<FixedVectorType>(ValTy)->getNumElements(); in getCmpSelInstrCost()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp339 (end - begin) / cast<llvm::FixedVectorType>(vecTy)->getNumElements(); in addEntry()
342 e = cast<llvm::FixedVectorType>(vecTy)->getNumElements(); in addEntry()
692 cast<llvm::FixedVectorType>(vectorTy)->getNumElements()); in isLegalVectorType()
704 auto numElts = cast<llvm::FixedVectorType>(vectorTy)->getNumElements(); in splitLegalVectorType()
710 return {llvm::FixedVectorType::get(eltTy, numElts / 2), 2}; in splitLegalVectorType()
726 auto numElts = cast<llvm::FixedVectorType>(origVectorTy)->getNumElements(); in legalizeVectorType()
764 llvm::FixedVectorType::get(eltTy, candidateNumElts)); in legalizeVectorType()
774 components.push_back(llvm::FixedVectorType::get(eltTy, numElts)); in legalizeVectorType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp102 FixedVectorType *VecTy = nullptr;
247 if (auto *RemVecTy = dyn_cast<FixedVectorType>(VS.RemainderTy)) in concatenate()
378 if (auto *VecTy = dyn_cast<FixedVectorType>(FragmentTy)) { in operator []()
541 Split.VecTy = dyn_cast<FixedVectorType>(Ty); in getVectorSplit()
559 Split.SplitTy = FixedVectorType::get(ElemTy, Split.NumPacked); in getVectorSplit()
563 Split.RemainderTy = FixedVectorType::get(ElemTy, RemainderElems); in getVectorSplit()
689 dyn_cast<FixedVectorType>(OpI->getType())) { in splitCall()
756 if (isa<FixedVectorType>(SI.getCondition()->getType())) { in visitSelectInst()
912 MidVS.VecTy = FixedVectorType::get(DstVS->VecTy->getElementType(), in visitBitCastInst()
939 MidVS.VecTy = FixedVectorType::get(SrcVS->VecTy->getElementType(), in visitBitCastInst()
[all …]
H A DScalarizeMaskedMemIntrin.cpp96 unsigned NumElts = cast<FixedVectorType>(Mask->getType())->getNumElements(); in isConstantIntVector()
151 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad()
173 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedLoad()
308 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedStore()
412 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather()
542 auto *SrcFVTy = cast<FixedVectorType>(Src->getType()); in scalarizeMaskedScatter()
631 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedExpandLoad()
759 auto *VecType = cast<FixedVectorType>(Src->getType()); in scalarizeMaskedCompressStore()
H A DLowerMatrixIntrinsics.cpp268 addVector(PoisonValue::get(FixedVectorType::get( in MatrixTy()
468 cast<FixedVectorType>(VT)->getNumElements()); in getNumOps()
494 assert(cast<FixedVectorType>(VType)->getNumElements() == in getMatrix()
516 MaskStart < cast<FixedVectorType>(VType)->getNumElements(); in getMatrix()
1109 Type *VecTy = FixedVectorType::get(EltTy, Shape.getStride()); in loadMatrix()
1137 auto *TileTy = FixedVectorType::get(EltTy, ResultShape.NumRows * in loadMatrix()
1238 cast<FixedVectorType>(Block->getType())->getNumElements(); in insertVector()
1253 cast<FixedVectorType>(Col->getType())->getNumElements(); in insertVector()
1352 FixedVectorType *VecTy = cast<FixedVectorType>(Op->getType()); in lowerDotProduct()
1621 auto *VT = cast<FixedVectorType>(Load->getType()); in getNonAliasingPointer()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp349 Instruction *Inst, const DataLayout &DL, FixedVectorType *VectorTy, in promoteAllocaUserToVector()
379 const unsigned NumPtrElts = cast<FixedVectorType>(PtrTy)->getNumElements(); in promoteAllocaUserToVector()
385 Val, FixedVectorType::get(EltTy, NumPtrElts)); in promoteAllocaUserToVector()
415 if (isa<FixedVectorType>(AccessTy)) { in promoteAllocaUserToVector()
418 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumLoadedElts); in promoteAllocaUserToVector()
468 if (isa<FixedVectorType>(AccessTy)) { in promoteAllocaUserToVector()
473 auto *SubVecTy = FixedVectorType::get(VecEltTy, NumWrittenElts); in promoteAllocaUserToVector()
560 static bool isSupportedAccessType(FixedVectorType *VecTy, Type *AccessTy, in isSupportedAccessType()
573 if (isa<FixedVectorType>(AccessTy)) { in isSupportedAccessType()
632 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector()
[all …]

12345