Home
last modified time | relevance | path

Searched refs:ValVTy (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4350 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
4431 if (ValVTy->getElementType()->isIntegerTy(1)) { in getArithmeticReductionCost()
4458 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost()
4459 unsigned ScalarSize = ValVTy->getScalarSizeInBits(); in getArithmeticReductionCost()
4468 auto *Ty = ValVTy; in getArithmeticReductionCost()
4494 if (ValVTy->isFloatingPointTy()) in getArithmeticReductionCost()
4505 if (ValVTy->isFloatingPointTy()) in getArithmeticReductionCost()
4740 auto *ValVTy = cast<FixedVectorType>(ValTy); in getMinMaxReductionCost() local
4741 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost()
4743 auto *Ty = ValVTy; in getMinMaxReductionCost()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantFold.cpp612 auto *ValVTy = cast<VectorType>(Val->getType()); in ConstantFoldExtractElementInstruction() local
617 return PoisonValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
621 return UndefValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
648 return CE->getWithOperands(Ops, ValVTy->getElementType(), false, in ConstantFoldExtractElementInstruction()
666 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1130 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { variable
1134 unsigned Num = cast<FixedVectorType>(ValVTy)->getNumElements();
1138 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I);
1142 return getScalarizationOverhead(ValVTy, true, false) + Num * Cost;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2744 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
2745 if (!ValVTy->getElementType()->isIntegerTy(1) && in getArithmeticReductionCost()
2746 MTy.getVectorNumElements() <= ValVTy->getNumElements() && in getArithmeticReductionCost()
2747 isPowerOf2_32(ValVTy->getNumElements())) { in getArithmeticReductionCost()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp3707 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { in parseValID() local
3708 unsigned ValNumEl = cast<FixedVectorType>(ValVTy)->getNumElements(); in parseValID()
7608 if (auto *ValVTy = dyn_cast<VectorType>(Val->getType())) { in parseGetElementPtr() local
7609 ElementCount ValNumEl = ValVTy->getElementCount(); in parseGetElementPtr()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2275 auto *ValVTy = cast<VectorType>(Val->getType()); in getStepVector() local
2276 ElementCount VLen = ValVTy->getElementCount(); in getStepVector()
2286 VectorType *InitVecValVTy = ValVTy; in getStepVector()
2310 InitVec = Builder.CreateUIToFP(InitVec, ValVTy); in getStepVector()