| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 845 auto *SrcVecTy = cast<FixedVectorType>(Src); in getCastInstrCost() local 851 unsigned VF = SrcVecTy->getNumElements(); in getCastInstrCost() 911 TotCost += getScalarizationOverhead(SrcVecTy, /*Insert*/ false, in getCastInstrCost() 940 return VF + getScalarizationOverhead(SrcVecTy, /*Insert*/ false, in getCastInstrCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 1380 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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3560 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in isBitCastable() local 3562 if (SrcVecTy->getElementCount() == DestVecTy->getElementCount()) { in isBitCastable() 3564 SrcTy = SrcVecTy->getElementType(); in isBitCastable() 3626 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in getCastOpcode() local 3628 if (SrcVecTy->getElementCount() == DestVecTy->getElementCount()) { in getCastOpcode() 3631 SrcTy = SrcVecTy->getElementType(); in getCastOpcode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 7865 auto *SrcVecTy = in getEntryCost() local 7994 VectorType *SrcVecTy; in getEntryCost() local 7997 SrcVecTy = EE->getVectorOperandType(); in getEntryCost() 8006 SrcVecTy = FixedVectorType::get(ScalarTy, NumElts); in getEntryCost() 8024 return TTI->getVectorInstrCost(Instruction::ExtractElement, SrcVecTy, in getEntryCost() 8033 auto *SrcVecTy = cast<FixedVectorType>(VL0->getType()); in getEntryCost() local 8034 unsigned const NumElts = SrcVecTy->getNumElements(); in getEntryCost() 8037 unsigned NumOfParts = TTI->getNumberOfParts(SrcVecTy); in getEntryCost() 8093 Cost -= TTI->getScalarizationOverhead(SrcVecTy, DemandedElts, in getEntryCost() 8151 auto *SrcVecTy = FixedVectorType::get(SrcScalarTy, VL.size()); in getEntryCost() local [all …]
|
| H A D | LoopVectorize.cpp | 2858 auto *SrcVecTy = cast<VectorType>(V->getType()); in createBitOrPointerCast() local 2859 assert(VF == SrcVecTy->getElementCount() && "Vector dimensions do not match"); in createBitOrPointerCast() 2860 Type *SrcElemTy = SrcVecTy->getElementType(); in createBitOrPointerCast() 7160 Type *SrcVecTy = in getInstructionCost() local 7170 SrcVecTy = smallestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost() 7181 return TTI.getCastInstrCost(Opcode, VectorTy, SrcVecTy, CCH, CostKind, I); in getInstructionCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 1037 auto *SrcVecTy = dyn_cast<FixedVectorType>(SrcTy); in computeKnownBitsFromOperator() local 1038 if (!SrcVecTy || !SrcVecTy->getElementType()->isIntegerTy() || in computeKnownBitsFromOperator() 1045 unsigned SubBitWidth = SrcVecTy->getScalarSizeInBits(); in computeKnownBitsFromOperator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3107 auto [Dst, DstTy, SrcVec, SrcVecTy, Idx, IdxTy] = MI.getFirst3RegLLTs(); in bitcastExtractVectorElt() 3109 LLT SrcEltTy = SrcVecTy.getElementType(); in bitcastExtractVectorElt() 3111 unsigned OldNumElts = SrcVecTy.getNumElements(); in bitcastExtractVectorElt() 3243 auto [Dst, DstTy, SrcVec, SrcVecTy, Val, ValTy, Idx, IdxTy] = in bitcastInsertVectorElt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 4707 auto *SrcVecTy = FixedVectorType::get(EltTy, VF); in getReplicationShuffleCost() local 4715 MVT LegalSrcVecTy = getTypeLegalizationCost(SrcVecTy).second; in getReplicationShuffleCost() 4730 Instruction::SExt, /*Dst=*/PromSrcVecTy, /*Src=*/SrcVecTy, in getReplicationShuffleCost()
|