Home
last modified time | relevance | path

Searched refs:SrcVecTy (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp803 auto *SrcVecTy = cast<FixedVectorType>(Src); in getCastInstrCost() local
809 unsigned VF = SrcVecTy->getNumElements(); in getCastInstrCost()
869 TotCost += getScalarizationOverhead(SrcVecTy, false, NeedsExtracts); in getCastInstrCost()
895 return VF + getScalarizationOverhead(SrcVecTy, false, true); in getCastInstrCost()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1380 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToUIInst() local
1386 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToUIInst()
1387 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1418 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToSIInst() local
1424 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToSIInst()
1425 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3412 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in isBitCastable() local
3414 if (SrcVecTy->getElementCount() == DestVecTy->getElementCount()) { in isBitCastable()
3416 SrcTy = SrcVecTy->getElementType(); in isBitCastable()
3478 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in getCastOpcode() local
3480 if (SrcVecTy->getElementCount() == DestVecTy->getElementCount()) { in getCastOpcode()
3483 SrcTy = SrcVecTy->getElementType(); in getCastOpcode()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DIRBuilderTest.cpp147 Type *SrcVecTy = VectorType::get(Builder.getHalfTy(), 8, true); in TEST_F() local
154 ArgTys.push_back(UndefValue::get(SrcVecTy)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2902 auto *SrcVecTy = cast<FixedVectorType>(V->getType()); in createBitOrPointerCast() local
2903 assert((VF == SrcVecTy->getNumElements()) && "Vector dimensions do not match"); in createBitOrPointerCast()
2904 Type *SrcElemTy = SrcVecTy->getElementType(); in createBitOrPointerCast()
7223 Type *SrcVecTy = in getInstructionCost() local
7233 SrcVecTy = smallestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
7237 SrcVecTy = largestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
7243 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
H A DSLPVectorizer.cpp6171 auto *SrcVecTy = cast<FixedVectorType>(VL0->getType()); in getEntryCost() local
6172 unsigned const NumElts = SrcVecTy->getNumElements(); in getEntryCost()
6175 unsigned NumOfParts = TTI->getNumberOfParts(SrcVecTy); in getEntryCost()
6230 Cost -= TTI->getScalarizationOverhead(SrcVecTy, DemandedElts, in getEntryCost()
6238 FixedVectorType::get(SrcVecTy->getElementType(), InsertVecSz); in getEntryCost()
6253 FixedVectorType::get(SrcVecTy->getElementType(), VecSz); in getEntryCost()
6293 auto *SrcVecTy = FixedVectorType::get(SrcTy, VL.size()); in getEntryCost() local
6296 if (!MinBWs.count(VL0) || VecTy != SrcVecTy) { in getEntryCost()
6298 E->getOpcode(), VecTy, SrcVecTy, in getEntryCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp1233 auto *SrcVecTy = dyn_cast<FixedVectorType>(SrcTy); in computeKnownBitsFromOperator() local
1234 if (!SrcVecTy || !SrcVecTy->getElementType()->isIntegerTy() || in computeKnownBitsFromOperator()
1240 unsigned SubBitWidth = SrcVecTy->getScalarSizeInBits(); in computeKnownBitsFromOperator()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3982 auto *SrcVecTy = FixedVectorType::get(EltTy, VF); in getReplicationShuffleCost() local
3990 MVT LegalSrcVecTy = TLI->getTypeLegalizationCost(DL, SrcVecTy).second; in getReplicationShuffleCost()
4005 Instruction::SExt, /*Dst=*/PromSrcVecTy, /*Src=*/SrcVecTy, in getReplicationShuffleCost()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2731 LLT SrcVecTy = MRI.getType(SrcVec); in bitcastExtractVectorElt() local
2734 LLT SrcEltTy = SrcVecTy.getElementType(); in bitcastExtractVectorElt()
2736 unsigned OldNumElts = SrcVecTy.getNumElements(); in bitcastExtractVectorElt()