| /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/Hexagon/ |
| 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,
|
| 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...] |
| 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...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| MachineValueType.h | 446 MVT VecTy = MVT::getVectorVT(IntTy, getVectorElementCount()); 447 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && 449 return VecTy; 455 MVT VecTy = MVT::getVectorVT(EltVT, getVectorElementCount()); 456 assert(VecTy.SimpleTy != MVT::INVALID_SIMPLE_VALUE_TYPE && 458 return VecTy;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUAtomicOptimizer.cpp | 487 auto *const VecTy = FixedVectorType::get(B.getInt32Ty(), 2); 508 Value *const BitCast = B.CreateBitCast(Ballot, VecTy); 640 UndefValue::get(VecTy), ReadFirstLaneLo, B.getInt32(0));
|
| AMDGPUHSAMetadataStreamer.cpp | 169 auto VecTy = cast<FixedVectorType>(Ty); 170 auto ElTy = VecTy->getElementType(); 171 auto NumElements = VecTy->getNumElements(); 588 auto VecTy = cast<FixedVectorType>(Ty); 589 auto ElTy = VecTy->getElementType(); 590 auto NumElements = VecTy->getNumElements();
|
| AMDGPUInstructionSelector.cpp | 2695 LLT VecTy = MRI->getType(DstReg); 2697 unsigned VecSize = VecTy.getSizeInBits(); 2704 assert(VecTy.getElementType() == ValTy); 2711 const TargetRegisterClass *VecRC = TRI.getRegClassForTypeOnBank(VecTy, *VecRB,
|
| AMDGPURegisterBankInfo.cpp | 1910 LLT VecTy = MRI.getType(VecReg); 1911 unsigned EltSize = VecTy.getScalarSizeInBits(); 1912 unsigned NumElem = VecTy.getNumElements(); 1938 LLT EltTy = VecTy.getScalarType(); 1992 LLT VecTy = MRI.getType(VecReg); 1993 unsigned EltSize = VecTy.getScalarSizeInBits(); 1994 unsigned NumElem = VecTy.getNumElements(); 2023 LLT EltTy = VecTy.getScalarType(); 2714 LLT VecTy = MRI.getType(DstReg); 2720 MRI.setType(MI.getOperand(1).getReg(), VecTy); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| LoopVectorizationLegality.cpp | 770 auto *VecTy = FixedVectorType::get(T, /*NumElts=*/2); 771 assert(VecTy && "did not find vectorized version of stored type"); 772 if (!TTI->isLegalNTStore(VecTy, ST->getAlign())) { 785 auto *VecTy = FixedVectorType::get(I.getType(), /*NumElts=*/2); 786 assert(VecTy && "did not find vectorized version of load type"); 787 if (!TTI->isLegalNTLoad(VecTy, LD->getAlign())) {
|
| 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...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
| llvm-stress.cpp | 553 auto *VecTy = cast<FixedVectorType>(VTy); 554 DestTy = pickVectorType(VecTy->getNumElements());
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| Scalarizer.cpp | 170 VectorType *VecTy = nullptr; 449 Layout.VecTy = dyn_cast<VectorType>(Ty); 450 if (!Layout.VecTy) 453 Layout.ElemTy = Layout.VecTy->getElementType(); 876 unsigned NumElems = cast<FixedVectorType>(Layout->VecTy)->getNumElements(); 883 Res[I] = Builder.CreateAlignedLoad(Layout->VecTy->getElementType(), Ptr[I], 902 unsigned NumElems = cast<FixedVectorType>(Layout->VecTy)->getNumElements();
|
| LowerMatrixIntrinsics.cpp | 807 Type *VecTy = FixedVectorType::get(EltTy, Shape.getStride()); 814 VecTy, GEP, getAlignForIndex(I, Stride, EltTy, MAlign),
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| MipsSEISelLowering.cpp | 1427 static SDValue getBuildVectorSplat(EVT VecTy, SDValue SplatValue, 1429 EVT ViaVecTy = VecTy; 1434 if (VecTy == MVT::v2i64) { 1457 if (VecTy != ViaVecTy) 1458 Result = DAG.getNode(ISD::BITCAST, DL, VecTy, Result); 1466 EVT VecTy = Op->getValueType(0); 1472 if (VecTy == MVT::v2i64) { 1495 if (VecTy == MVT::v2i64) 1498 Exp2Imm = getBuildVectorSplat(VecTy, Imm, BigEndian, DAG); 1500 Exp2Imm = DAG.getNode(ISD::SHL, DL, VecTy, DAG.getConstant(1, DL, VecTy) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineSelect.cpp | 2429 auto *VecTy = dyn_cast<FixedVectorType>(Sel.getType()); 2430 if (!VecTy) 2433 unsigned NumElts = VecTy->getNumElements();
|
| InstCombineVectorOps.cpp | 1060 VectorType *VecTy = InsElt.getType(); 1063 if (isa<ScalableVectorType>(VecTy)) 1065 unsigned NumElements = cast<FixedVectorType>(VecTy)->getNumElements(); 1111 UndefValue *UndefVec = UndefValue::get(VecTy); 1362 Type *VecTy = VectorType::get(ScalarTy, IE.getType()->getElementCount()); 1363 UndefValue *NewUndef = UndefValue::get(VecTy); 1435 if (auto VecTy = dyn_cast<FixedVectorType>(VecOp->getType())) { 1436 unsigned VWidth = VecTy->getNumElements();
|
| InstCombineCalls.cpp | 607 auto *VecTy = cast<FixedVectorType>(II.getType()); 608 unsigned NumElts = VecTy->getNumElements(); 611 if (!VecTy->getElementType()->isIntegerTy(8) || NumElts != 8) 1855 auto *VecTy = dyn_cast<FixedVectorType>(Vec->getType()); 1860 if (DstTy && VecTy && SubVecTy) { 1862 unsigned VecNumElts = VecTy->getNumElements(); 1911 auto *VecTy = dyn_cast<FixedVectorType>(Vec->getType()); 1915 if (DstTy && VecTy) { 1917 unsigned VecNumElts = VecTy->getNumElements(); 1939 Builder.CreateShuffleVector(Vec, UndefValue::get(VecTy), Mask) [all...] |
| InstCombineCompares.cpp | 2880 auto *VecTy = cast<VectorType>(BCSrcOp->getType()); 2881 auto *EltTy = cast<IntegerType>(VecTy->getElementType()); 6315 if (auto *VecTy = dyn_cast<VectorType>(OpType)) 6316 IntType = VectorType::get(IntType, VecTy->getElementCount());
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| AutoUpgrade.cpp | 1046 Type *VecTy = FixedVectorType::get(Builder.getInt8Ty(), NumElts); 1047 Op = Builder.CreateBitCast(Op, VecTy, "cast"); 1050 Value *Res = Constant::getNullValue(VecTy); 1080 Type *VecTy = FixedVectorType::get(Builder.getInt8Ty(), NumElts); 1081 Op = Builder.CreateBitCast(Op, VecTy, "cast"); 1084 Value *Res = Constant::getNullValue(VecTy); 2408 auto *VecTy = cast<FixedVectorType>(CI->getType()); 2409 Type *EltTy = VecTy->getElementType(); 2410 unsigned EltNum = VecTy->getNumElements(); 2415 Rep = UndefValue::get(VecTy); [all...] |
| Instructions.cpp | 2091 Type *VecTy = VectorType::get(Int32Ty, Mask.size(), true); 2093 return Constant::getNullValue(VecTy); 2094 return UndefValue::get(VecTy);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| X86TargetTransformInfo.cpp | 1055 auto *VecTy = FixedVectorType::get(BaseTp->getElementType(), 1061 TTI::SK_ExtractSubvector, VecTy, None, ExtractIndex, SubTy); 4705 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor, 4710 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, 4717 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, 4721 // VecTy for interleave memop is <VF*Factor x Elt>. 4723 // VecTy = <12 x i32>. 4724 MVT LegalVT = getTLI()->getTypeLegalizationCost(DL, VecTy).second; 4726 // This function can be called with VecTy=<6xi128>, Factor=3, in which case 4730 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| ARMISelDAGToDAG.cpp | 2068 static bool isPerfectIncrement(SDValue Inc, EVT VecTy, unsigned NumVecs) { 2070 return C && C->getZExtValue() == VecTy.getSizeInBits() / 8 * NumVecs; 2723 EVT VecTy = N->getOperand(6).getValueType(); 2725 switch (VecTy.getVectorElementType().getSizeInBits()) {
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGExpr.cpp | 1835 auto *VecTy = dyn_cast<llvm::VectorType>(SrcTy); 1837 if (VecTy && cast<llvm::FixedVectorType>(VecTy)->getNumElements() == 3) { 1841 SrcTy = llvm::FixedVectorType::get(VecTy->getElementType(), 4);
|