| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| TinyPtrVector.h | 32 using VecTy = SmallVector<EltTy, 4>; 33 using value_type = typename VecTy::value_type; 38 using PtrUnion = PointerUnion<EltTy, VecTy *>; 47 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 52 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 53 Val = new VecTy(*V); 70 Val = new VecTy(*RHS.Val.template get<VecTy*>()); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| LegalizeMutations.cpp | 69 const LLT VecTy = Query.Types[TypeIdx]; 71 std::max(1u << Log2_32_Ceil(VecTy.getNumElements()), Min); 73 LLT::vector(NewNumElements, VecTy.getElementType()));
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonISelLoweringHVX.cpp | 251 MVT VecTy = MVT::getVectorVT(ElemTy, N); 252 auto Action = getPreferredVectorAction(VecTy); 254 setOperationAction(ISD::LOAD, VecTy, Custom); 255 setOperationAction(ISD::STORE, VecTy, Custom); 256 setOperationAction(ISD::SETCC, VecTy, Custom); 257 setOperationAction(ISD::TRUNCATE, VecTy, Custom); 258 setOperationAction(ISD::ANY_EXTEND, VecTy, Custom); 259 setOperationAction(ISD::SIGN_EXTEND, VecTy, Custom); 260 setOperationAction(ISD::ZERO_EXTEND, VecTy, Custom); 274 HexagonTargetLowering::getPreferredHvxVectorAction(MVT VecTy) const [all...] |
| HexagonSubtarget.cpp | 139 bool HexagonSubtarget::isHVXVectorType(MVT VecTy, bool IncludeBool) const { 140 if (!VecTy.isVector() || !useHVXOps() || VecTy.isScalableVector()) 142 MVT ElemTy = VecTy.getVectorElementType(); 147 unsigned NumElems = VecTy.getVectorNumElements(); 159 unsigned VecWidth = VecTy.getSizeInBits(); 165 bool HexagonSubtarget::isTypeForHVX(Type *VecTy, bool IncludeBool) const { 166 if (!VecTy->isVectorTy() || isa<ScalableVectorType>(VecTy)) 169 if (!cast<VectorType>(VecTy)->getElementType()->isIntegerTy() [all...] |
| HexagonTargetTransformInfo.cpp | 174 VectorType *VecTy = cast<VectorType>(Src); 175 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedSize(); 176 if (useHVX() && ST.isTypeForHVX(VecTy)) { 197 VecTy->getElementType()->isFloatingPointTy() ? FloatFactor : 1; 237 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 241 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, 245 return getMemoryOpCost(Opcode, VecTy, MaybeAlign(Alignment), AddressSpace,
|
| HexagonISelLowering.cpp | 2055 Type *VecTy = I.getArgOperand(1)->getType(); 2056 Info.memVT = MVT::getVT(VecTy); 2060 MaybeAlign(M.getDataLayout().getTypeAllocSizeInBits(VecTy) / 8); 2143 MVT VecTy = ty(Op); 2144 assert(!Subtarget.isHVXVectorType(VecTy, true) && 2146 assert(VecTy.getSizeInBits() <= 64 && "Unexpected vector length"); 2155 if (ty(Op0) != VecTy || ty(Op1) != VecTy) 2163 return DAG.getUNDEF(VecTy); 2171 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8 [all...] |
| HexagonISelLowering.h | 342 unsigned getPreferredHvxVectorAction(MVT VecTy) const; 349 bool getBuildVectorConstInts(ArrayRef<SDValue> Values, MVT VecTy, 352 SDValue buildVector32(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy, 354 SDValue buildVector64(ArrayRef<SDValue> Elem, const SDLoc &dl, MVT VecTy, 408 MVT typeExtElem(MVT VecTy, unsigned Factor) const; 409 MVT typeTruncElem(MVT VecTy, unsigned Factor) const; 416 bool allowsHvxMemoryAccess(MVT VecTy, MachineMemOperand::Flags Flags, 418 bool allowsHvxMisalignedMemoryAccesses(MVT VecTy, 432 MVT VecTy, SelectionDAG &DAG) const; 434 MVT VecTy, SelectionDAG &DAG) const [all...] |
| HexagonSubtarget.h | 288 bool isHVXVectorType(MVT VecTy, bool IncludeBool = false) const; 289 bool isTypeForHVX(Type *VecTy, bool IncludeBool = false) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| VectorCombine.cpp | 247 Type *VecTy = Ext0->getVectorOperand()->getType(); 248 assert(VecTy == Ext1->getVectorOperand()->getType() && "Need matching types"); 250 TTI.getVectorInstrCost(Ext0->getOpcode(), VecTy, Index0); 252 TTI.getVectorInstrCost(Ext1->getOpcode(), VecTy, Index1); 291 auto *VecTy = cast<VectorType>(Ext0->getOperand(0)->getType()); 298 VectorOpCost = TTI.getArithmeticInstrCost(Opcode, VecTy); 304 VectorOpCost = TTI.getCmpSelInstrCost(Opcode, VecTy, 305 CmpInst::makeCmpResultType(VecTy)); 314 TTI.getVectorInstrCost(Instruction::ExtractElement, VecTy, Ext0Index); 316 TTI.getVectorInstrCost(Instruction::ExtractElement, VecTy, Ext1Index) [all...] |
| LoadStoreVectorizer.cpp | 830 VectorType *VecTy = dyn_cast<VectorType>(Ty); 834 (VecTy && TTI.getLoadVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) 877 VectorType *VecTy = dyn_cast<VectorType>(Ty); 881 (VecTy && TTI.getStoreVectorFactor(VF, TySize, TySize / 8, VecTy) == 0)) 1042 FixedVectorType *VecTy; 1045 VecTy = FixedVectorType::get(StoreTy->getScalarType(), 1048 VecTy = FixedVectorType::get(StoreTy, Chain.size()); 1052 unsigned TargetVF = TTI.getStoreVectorFactor(VF, Sz, SzInBytes, VecTy); [all...] |
| SLPVectorizer.cpp | 3508 getVectorCallCosts(CallInst *CI, FixedVectorType *VecTy, 3516 FixedVectorType::get(Arg->getType(), VecTy->getNumElements())); 3521 IntrinsicCostAttributes CostAttrs(ID, VecTy, Arguments, VecTys, FMF, 3527 VecTy->getNumElements())), 3534 LibCost = TTI->getCallInstrCost(nullptr, VecTy, VecTys, 3540 /// Compute the cost of creating a vector of type \p VecTy containing the 3543 computeExtractCost(ArrayRef<Value *> VL, FixedVectorType *VecTy, 3546 unsigned NumOfParts = TTI.getNumberOfParts(VecTy); 3549 VecTy->getNumElements() < NumOfParts) 3550 return TTI.getShuffleCost(ShuffleKind, VecTy, Mask) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| ASTImporter.h | 177 using VecTy = llvm::SmallVector<Decl *, 32>; 197 using Cycle = llvm::iterator_range<VecTy::const_reverse_iterator>; 206 VecTy copyCycleAtBack() const { 208 return VecTy(R.begin(), R.end()); 213 VecTy Nodes; 229 llvm::SmallVector<ImportPathTy::VecTy, 32>;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| TargetTransformInfoImpl.h | 516 VectorType *VecTy, 564 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 725 VectorType *VecTy) const { 731 VectorType *VecTy) const { 1071 auto *VecTy = cast<VectorType>(U->getType()); 1079 VecTy); 1085 return TargetTTI->getShuffleCost(TTI::SK_Reverse, VecTy, 1088 return TargetTTI->getShuffleCost(TTI::SK_Select, VecTy, 1091 return TargetTTI->getShuffleCost(TTI::SK_Transpose, VecTy, 1094 return TargetTTI->getShuffleCost(TTI::SK_Broadcast, VecTy, [all...] |
| TargetTransformInfo.h | 1112 VectorType *VecTy, 1166 /// \p VecTy is the vector type of the interleaved access. 1175 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 1331 VectorType *VecTy) const; 1337 VectorType *VecTy) const; 1625 VectorType *VecTy, 1653 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 1712 VectorType *VecTy) const = 0; 1715 VectorType *VecTy) const = 0; 2111 VectorType *VecTy, [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| LegalizerInfo.h | 994 LLT VecTy = Query.Types[TypeIdx]; 995 return VecTy.isVector() && VecTy.getElementType() == EltTy && 996 VecTy.getNumElements() < MinElements; 999 LLT VecTy = Query.Types[TypeIdx]; 1001 TypeIdx, LLT::vector(MinElements, VecTy.getElementType())); 1012 LLT VecTy = Query.Types[TypeIdx]; 1013 return VecTy.isVector() && VecTy.getElementType() == EltTy && 1014 VecTy.getNumElements() > MaxElements [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86TargetTransformInfo.h | 193 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 198 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor, 203 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| SROA.cpp | 1484 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) { 1486 DL.getTypeSizeInBits(VecTy->getScalarType()).getFixedSize(); 1493 if (NumSkippedElements.ugt(cast<FixedVectorType>(VecTy)->getNumElements())) 1497 return getNaturalGEPRecursively(IRB, DL, Ptr, VecTy->getElementType(), 2197 auto *VecTy = cast<FixedVectorType>(V->getType()); 2199 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); 2201 if (NumElements == VecTy->getNumElements()) 2222 VectorType *VecTy = cast<VectorType>(Old->getType()); 2223 assert(VecTy && "Can only insert a vector into a vector"); 2235 cast<FixedVectorType>(VecTy)->getNumElements() & [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUTargetTransformInfo.h | 129 VectorType *VecTy) const; 132 VectorType *VecTy) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| TargetTransformInfo.cpp | 785 unsigned Opcode, Type *Dst, VectorType *VecTy, unsigned Index) const { 787 TTIImpl->getExtractWithExtendCost(Opcode, Dst, VecTy, Index); 850 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 854 Opcode, VecTy, Factor, Indices, Alignment, AddressSpace, CostKind, 1008 VectorType *VecTy) const { 1009 return TTIImpl->getLoadVectorFactor(VF, LoadSize, ChainSizeInBytes, VecTy); 1015 VectorType *VecTy) const { 1016 return TTIImpl->getStoreVectorFactor(VF, StoreSize, ChainSizeInBytes, VecTy); 1204 auto *VecTy = cast<FixedVectorType>(RdxStart->getType()); 1205 unsigned NumVecElems = VecTy->getNumElements() [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
| AArch64LegalizerInfo.cpp | 608 const LLT &VecTy = Query.Types[1]; 609 return VecTy == v2s16 || VecTy == v4s16 || VecTy == v8s16 || 610 VecTy == v4s32 || VecTy == v2s64 || VecTy == v2s32 || 611 VecTy == v16s8 || VecTy == v2s32 || VecTy == v2p0 [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| ParsedAttr.h | 869 using VecTy = llvm::TinyPtrVector<ParsedAttr *>; 870 using SizeType = decltype(std::declval<VecTy>().size()); 891 struct iterator : llvm::iterator_adaptor_base<iterator, VecTy::iterator, 895 iterator(VecTy::iterator I) : iterator_adaptor_base(I) {} 900 : llvm::iterator_adaptor_base<const_iterator, VecTy::const_iterator, 904 const_iterator(VecTy::const_iterator I) : iterator_adaptor_base(I) {} 955 VecTy AttrList;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| SystemZTargetTransformInfo.cpp | 1138 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices, 1142 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, 1145 assert(isa<VectorType>(VecTy) && 1148 unsigned NumElts = cast<FixedVectorType>(VecTy)->getNumElements(); 1151 unsigned NumEltsPerVecReg = (128U / getScalarSizeInBits(VecTy)); 1152 unsigned NumVectorMemOps = getNumVectorRegs(VecTy); 1174 unsigned NumDstVecs = divideCeil(VF * getScalarSizeInBits(VecTy), 128U);
|
| SystemZTargetTransformInfo.h | 117 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| InterleavedAccessPass.cpp | 343 Type *VecTy = FirstSVI->getType(); 348 if (Shuffle->getType() != VecTy) 358 if (Shuffle->getType() != VecTy)
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| AArch64TargetTransformInfo.h | 152 VectorType *VecTy, unsigned Index); 278 unsigned Opcode, Type *VecTy, unsigned Factor, ArrayRef<unsigned> Indices,
|