Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp342 auto *ValVTy = cast<VectorType>(Val->getType()); in ConstantFoldExtractElementInstruction() local
347 return PoisonValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
351 return UndefValue::get(ValVTy->getElementType()); in ConstantFoldExtractElementInstruction()
378 return CE->getWithOperands(Ops, ValVTy->getElementType(), false, in ConstantFoldExtractElementInstruction()
396 if (CIdx->getValue().ult(ValVTy->getElementCount().getKnownMinValue())) { in ConstantFoldExtractElementInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp5576 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
5580 auto *WideSclTy = IntegerType::get(ValVTy->getContext(), 16); in getArithmeticReductionCost()
5581 auto *WideVecTy = FixedVectorType::get(WideSclTy, ValVTy->getNumElements()); in getArithmeticReductionCost()
5590 MTy.getVectorNumElements() < ValVTy->getNumElements()) { in getArithmeticReductionCost()
5592 auto *SingleOpTy = FixedVectorType::get(ValVTy->getElementType(), in getArithmeticReductionCost()
5657 if (ValVTy->getElementType()->isIntegerTy(1)) { in getArithmeticReductionCost()
5660 MTy.getVectorNumElements() < ValVTy->getNumElements()) { in getArithmeticReductionCost()
5662 auto *SingleOpTy = FixedVectorType::get(ValVTy->getElementType(), in getArithmeticReductionCost()
5681 return BaseT::getArithmeticReductionCost(Opcode, ValVTy, FMF, CostKind); in getArithmeticReductionCost()
5684 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1395 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { variable
1399 unsigned Num = cast<FixedVectorType>(ValVTy)->getNumElements();
1401 Opcode, ValVTy->getScalarType(), CondTy->getScalarType(), VecPred,
1406 return getScalarizationOverhead(ValVTy, /*Insert*/ true,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp4340 auto *ValVTy = cast<FixedVectorType>(ValTy); in getCmpSelInstrCost() local
4344 VectorType::get(Type::getFloatTy(ValTy->getContext()), ValVTy); in getCmpSelInstrCost()
4355 getCastInstrCost(Instruction::Trunc, VectorType::getInteger(ValVTy), in getCmpSelInstrCost()
5276 auto *ValVTy = cast<FixedVectorType>(ValTy); in getArithmeticReductionCost() local
5277 if (MTy.getVectorNumElements() <= ValVTy->getNumElements() && in getArithmeticReductionCost()
5278 isPowerOf2_32(ValVTy->getNumElements())) { in getArithmeticReductionCost()
5289 auto Cost = ValVTy->getElementType()->isIntegerTy(1) ? 2 : Entry->Cost; in getArithmeticReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4490 if (auto *ValVTy = dyn_cast<VectorType>(ValTy)) { in parseValID() local
4491 unsigned ValNumEl = cast<FixedVectorType>(ValVTy)->getNumElements(); in parseValID()
8818 if (auto *ValVTy = dyn_cast<VectorType>(Val->getType())) { in parseGetElementPtr() local
8819 ElementCount ValNumEl = ValVTy->getElementCount(); in parseGetElementPtr()