Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp347 auto *ValVTy = cast<VectorType>(Val->getType()); in ConstantFoldExtractElementInstruction() local
352 return PoisonValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
356 return UndefValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
383 return CE->getWithOperands(Ops, ValVTy->getElementType(), false, in ConstantFoldExtractElementInstruction()
401 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5241 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
5245 auto *WideSclTy = IntegerType::get(ValVTy->getContext(), 16); in getArithmeticReductionCost()
5246 auto *WideVecTy = FixedVectorType::get(WideSclTy, ValVTy->getNumElements()); in getArithmeticReductionCost()
5255 MTy.getVectorNumElements() < ValVTy->getNumElements()) { in getArithmeticReductionCost()
5257 auto *SingleOpTy = FixedVectorType::get(ValVTy->getElementType(), in getArithmeticReductionCost()
5322 if (ValVTy->getElementType()->isIntegerTy(1)) { in getArithmeticReductionCost()
5325 MTy.getVectorNumElements() < ValVTy->getNumElements()) { in getArithmeticReductionCost()
5327 auto *SingleOpTy = FixedVectorType::get(ValVTy->getElementType(), in getArithmeticReductionCost()
5346 return BaseT::getArithmeticReductionCost(Opcode, ValVTy, FMF, CostKind); in getArithmeticReductionCost()
5349 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1258 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { variable
1262 unsigned Num = cast<FixedVectorType>(ValVTy)->getNumElements();
1266 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I);
1270 return getScalarizationOverhead(ValVTy, /*Insert*/ true,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1196 auto *ValVTy = cast<VectorType>(Val->getType()); in getStepVector() local
1197 ElementCount VLen = ValVTy->getElementCount(); in getStepVector()
1207 VectorType *InitVecValVTy = ValVTy; in getStepVector()
1231 InitVec = Builder.CreateUIToFP(InitVec, ValVTy); in getStepVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3954 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
3955 if (MTy.getVectorNumElements() <= ValVTy->getNumElements() && in getArithmeticReductionCost()
3956 isPowerOf2_32(ValVTy->getNumElements())) { in getArithmeticReductionCost()
3967 auto Cost = ValVTy->getElementType()->isIntegerTy(1) ? 2 : Entry->Cost; in getArithmeticReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4389 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { in parseValID() local
4390 unsigned ValNumEl = cast<FixedVectorType>(ValVTy)->getNumElements(); in parseValID()
8493 if (auto *ValVTy = dyn_cast<VectorType>(Val->getType())) { in parseGetElementPtr() local
8494 ElementCount ValNumEl = ValVTy->getElementCount(); in parseGetElementPtr()