Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/IR/
DDerivedTypes.h562 static FixedVectorType *get(Type *ElementType, const FixedVectorType *FVTy) { in get() argument
563 return get(ElementType, FVTy->getNumElements()); in get()
DPatternMatch.h282 auto *FVTy = dyn_cast<FixedVectorType>(VTy); in match() local
283 if (!FVTy) in match()
287 unsigned NumElts = FVTy->getNumElements(); in match()
/external/llvm-project/polly/lib/CodeGen/
DBlockGenerators.cpp1045 auto *FVTy = FixedVectorType::get(ScalarType, Width); in getVectorPtrTy() local
1047 return PointerType::get(FVTy, AddrSpace); in getVectorPtrTy()
1108 auto *FVTy = FixedVectorType::get( in generateUnknownStrideLoad() local
1111 Value *Vector = UndefValue::get(FVTy); in generateUnknownStrideLoad()
1280 auto *FVTy = FixedVectorType::get(Inst->getType(), VectorWidth); in copyInstScalarized() local
1281 Value *Vector = UndefValue::get(FVTy); in copyInstScalarized()
/external/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp2859 auto *FVTy = cast<FixedVectorType>(VTy); in ConstantFoldVectorCall() local
2861 SmallVector<Constant *, 4> Result(FVTy->getNumElements()); in ConstantFoldVectorCall()
2863 Type *Ty = FVTy->getElementType(); in ConstantFoldVectorCall()
2871 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, FVTy, DL); in ConstantFoldVectorCall()
2874 for (unsigned I = 0, E = FVTy->getNumElements(); I != E; ++I) { in ConstantFoldVectorCall()
2900 if (NewElements.size() != FVTy->getNumElements()) in ConstantFoldVectorCall()
2909 unsigned Lanes = FVTy->getNumElements(); in ConstantFoldVectorCall()
2931 for (unsigned I = 0, E = FVTy->getNumElements(); I != E; ++I) { in ConstantFoldVectorCall()
DVectorUtils.cpp273 if (auto *FVTy = dyn_cast<FixedVectorType>(VTy)) { in findScalarElement() local
274 unsigned Width = FVTy->getNumElements(); in findScalarElement()
276 return UndefValue::get(FVTy->getElementType()); in findScalarElement()
DValueTracking.cpp214 auto *FVTy = dyn_cast<FixedVectorType>(V->getType()); in computeKnownBits() local
216 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1); in computeKnownBits()
386 auto *FVTy = dyn_cast<FixedVectorType>(V->getType()); in ComputeNumSignBits() local
388 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1); in ComputeNumSignBits()
1809 if (auto *FVTy = dyn_cast<FixedVectorType>(Ty)) { in computeKnownBits() local
1811 FVTy->getNumElements() == DemandedElts.getBitWidth() && in computeKnownBits()
2483 auto *FVTy = dyn_cast<FixedVectorType>(V->getType()); in isKnownNonZero() local
2485 FVTy ? APInt::getAllOnesValue(FVTy->getNumElements()) : APInt(1, 1); in isKnownNonZero()
2683 if (auto *FVTy = dyn_cast<FixedVectorType>(Ty)) { in ComputeNumSignBitsImpl() local
2685 FVTy->getNumElements() == DemandedElts.getBitWidth() && in ComputeNumSignBitsImpl()
[all …]
/external/llvm-project/llvm/lib/IR/
DConstantFold.cpp1452 if (auto *FVTy = dyn_cast<FixedVectorType>(VTy)) { in ConstantFoldBinaryInstruction() local
1455 Type *Ty = IntegerType::get(FVTy->getContext(), 32); in ConstantFoldBinaryInstruction()
1456 for (unsigned i = 0, e = FVTy->getNumElements(); i != e; ++i) { in ConstantFoldBinaryInstruction()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10924 auto *FVTy = cast<FixedVectorType>(VTy); in lowerInterleavedLoad() local
10928 Type *EltTy = FVTy->getElementType(); in lowerInterleavedLoad()
10930 FVTy = in lowerInterleavedLoad()
10931 FixedVectorType::get(DL.getIntPtrType(EltTy), FVTy->getNumElements()); in lowerInterleavedLoad()
10941 FVTy = FixedVectorType::get(FVTy->getElementType(), in lowerInterleavedLoad()
10942 FVTy->getNumElements() / NumLoads); in lowerInterleavedLoad()
10949 FVTy->getElementType()->getPointerTo(LI->getPointerAddressSpace())); in lowerInterleavedLoad()
10952 Type *PtrTy = FVTy->getPointerTo(LI->getPointerAddressSpace()); in lowerInterleavedLoad()
10953 Type *Tys[2] = {FVTy, PtrTy}; in lowerInterleavedLoad()
10970 BaseAddr = Builder.CreateConstGEP1_32(FVTy->getElementType(), BaseAddr, in lowerInterleavedLoad()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5275 } else if (auto *FVTy = dyn_cast<FixedVectorType>(Type)) { in getFlippedStrictnessPredicateAndConstant() local
5276 unsigned NumElts = FVTy->getNumElements(); in getFlippedStrictnessPredicateAndConstant()