/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 28 typedef llvm::SmallVector<EltTy, 4> VecTy; typedef in class:llvm::TinyPtrVector 29 typedef typename VecTy::value_type value_type; 31 llvm::PointerUnion<EltTy, VecTy*> Val; 35 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 40 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 41 Val = new VecTy(*V); 57 Val = new VecTy(*RHS.Val.template get<VecTy*>()); [all...] |
/external/llvm/lib/Analysis/ |
H A D | CostModel.cpp | 258 Type *VecTy = ReduxRoot->getOperand(0)->getType(); 259 unsigned NumVecElems = VecTy->getVectorNumElements(); 285 Ty = VecTy; 322 Type *VecTy = ReduxRoot->getOperand(0)->getType(); local 323 unsigned NumVecElems = VecTy->getVectorNumElements(); 376 Ty = VecTy;
|
H A D | Lint.cpp | 512 VectorType *VecTy = dyn_cast<VectorType>(V->getType()); 513 if (!VecTy) { 530 unsigned BitWidth = VecTy->getElementType()->getIntegerBitWidth(); 531 for (unsigned I = 0, N = VecTy->getNumElements(); I != N; ++I) {
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 87 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); local 88 assert(VecTy.SimpleTy >= 0 && 90 return VecTy;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1344 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) { 1345 unsigned ElementSizeInBits = DL.getTypeSizeInBits(VecTy->getScalarType()); 1352 if (NumSkippedElements.ugt(VecTy->getNumElements())) 1356 return getNaturalGEPRecursively(IRB, DL, Ptr, VecTy->getElementType(), 1908 VectorType *VecTy = cast<VectorType>(V->getType()); local 1910 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); 1912 if (NumElements == VecTy->getNumElements()) 1935 VectorType *VecTy = cast<VectorType>(Old->getType()); local 1936 assert(VecTy && "Can only insert a vector into a vector"); 1947 assert(Ty->getNumElements() <= VecTy 2009 VectorType *VecTy; member in class:__anon26329::AllocaSliceRewriter [all...] |
H A D | Scalarizer.cpp | 105 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {} 113 VectorType *VecTy; member in struct:__anon26337::VectorLayout 342 Layout.VecTy = dyn_cast<VectorType>(Ty); 343 if (!Layout.VecTy) 347 Layout.ElemTy = Layout.VecTy->getElementType(); 355 Layout.VecAlign = DL->getABITypeAlignment(Layout.VecTy); 590 unsigned NumElems = Layout.VecTy->getNumElements(); 614 unsigned NumElems = Layout.VecTy->getNumElements();
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1147 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); local 1153 return TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0); 1172 TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, i); 1176 return getGatherCost(VecTy); 1197 int VecCost = TTI->getCastInstrCost(VL0->getOpcode(), VecTy, SrcVecTy); 1227 ScalarCost = VecTy->getNumElements() * 1229 VecCost = TTI->getCmpSelInstrCost(Opcode, VecTy, MaskTy); 1260 VecTy->getNumElements() * 1262 VecCost = TTI->getArithmeticInstrCost(Opcode, VecTy, Op1VK, Op2VK); 1273 VecTy 1397 VectorType *VecTy = VectorType::get(I->Scalar->getType(), BundleWidth); local 1418 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); local 1600 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); local 1617 VectorType *VecTy = VectorType::get(ScalarTy, E->Scalars.size()); local 2780 Type *VecTy = VectorType::get(ScalarTy, ReduxWidth); local [all...] |
H A D | LoopVectorize.cpp | 2658 Type *VecTy = VectorExit[0]->getType(); local 2678 VecTy->getScalarType()); 2726 PHINode *NewPhi = Builder.CreatePHI(VecTy, 2, "rdx.vec.exit.phi"); 2910 Type *VecTy = (VF == 1) ? PN->getType() : local 2912 Entry[part] = PHINode::Create(VecTy, 2, "vec.phi",
|
H A D | BBVectorize.cpp | 2422 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) 2423 return VecTy->getNumElements();
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 1402 static SDValue getBuildVectorSplat(EVT VecTy, SDValue SplatValue, argument 1404 EVT ViaVecTy = VecTy; 1409 if (VecTy == MVT::v2i64) { 1432 if (VecTy != ViaVecTy) 1433 Result = DAG.getNode(ISD::BITCAST, DL, VecTy, Result); 1441 EVT VecTy = Op->getValueType(0); local 1447 if (VecTy == MVT::v2i64) { 1469 if (VecTy == MVT::v2i64) 1472 Exp2Imm = getBuildVectorSplat(VecTy, Imm, BigEndian, DAG); 1475 DAG.getNode(ISD::SHL, DL, VecTy, DA 1573 EVT VecTy = Op->getValueType(0); local 1586 EVT VecTy = Op->getValueType(0); local 1612 EVT VecTy = Op->getValueType(0); local 1648 EVT VecTy = Op->getValueType(0); local 2273 EVT VecTy = Op0->getValueType(0); local [all...] |
/external/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 343 Type *VecTy = CI->getType(); local 344 Type *EltTy = VecTy->getVectorElementType(); 345 unsigned EltNum = VecTy->getVectorNumElements(); 350 Rep = UndefValue::get(VecTy);
|
H A D | DataLayout.cpp | 713 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) 714 return VectorType::get(IntTy, VecTy->getNumElements());
|
H A D | Constants.cpp | 1919 if (VectorType *VecTy = dyn_cast<VectorType>(C->getType())) 1920 ReqTy = VectorType::get(ReqTy, VecTy->getNumElements());
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1738 VectorType *VecTy = cast<VectorType>(VecInput->getType()); local 1741 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { 1744 if (VecTy->getElementType() != DestTy) { 1745 VecTy = VectorType::get(DestTy, 1746 VecTy->getPrimitiveSizeInBits() / DestWidth); 1747 VecInput = IC.Builder->CreateBitCast(VecInput, VecTy); 1752 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1; 1762 VectorType *VecTy = cast<VectorType>(VecInput->getType()); local 1764 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && 1768 if (VecTy [all...] |
H A D | InstCombineSelect.cpp | 1083 if (VectorType* VecTy = dyn_cast<VectorType>(SI.getType())) { 1084 unsigned VWidth = VecTy->getNumElements();
|
/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 485 VectorType *VecTy = cast<VectorType>(VTy); variable 486 DestTy = pickVectorType(VecTy->getNumElements());
|
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 1190 auto *VecTy = cast<llvm::VectorType>(SrcTy); local 1192 if (VecTy->getNumElements() == 3) { 1207 llvm::UndefValue::get(VecTy), 1209 SrcTy = llvm::VectorType::get(VecTy->getElementType(), 4);
|
H A D | CGBuiltin.cpp | 5685 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); local 5688 Ops[1] = Builder.CreateBitCast(Ops[1], VecTy, "cast"); 5717 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 1); local 5719 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); 5720 Ops[1] = llvm::ConstantInt::get(VecTy, (shiftVal-8) * 8); 5747 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); local 5749 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); 5785 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 4); local 5787 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast");
|
H A D | TargetInfo.cpp | 1847 if (const VectorType *VecTy = Ty->getAs<VectorType>()) { 1848 uint64_t Size = getContext().getTypeSize(VecTy);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 2688 // VecTy: Resulting Vector type 2691 static SDValue BuildVectorFromScalar(SelectionDAG& DAG, EVT VecTy, argument 2697 unsigned Width = VecTy.getSizeInBits(); 2717 return DAG.getNode(ISD::BITCAST, dl, VecTy, VecOp);
|
H A D | SelectionDAGBuilder.cpp | 1141 VectorType *VecTy = cast<VectorType>(V->getType()); 1142 unsigned NumElements = VecTy->getNumElements(); 1152 EVT EltVT = TLI->getValueType(VecTy->getElementType());
|
/external/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 7189 QualType VecTy = *Vec; local 7190 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet); 7229 QualType VecTy = *Vec; local 7230 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 7527 EVT VecTy; local 7529 VecTy = N->getOperand(2).getValueType(); 7531 VecTy = N->getValueType(0); 7537 unsigned NumBytes = NumVecs * VecTy.getSizeInBits() / 8; 7539 NumBytes /= VecTy.getVectorNumElements(); 7558 Tys[n] = VecTy;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 8896 EVT VecTy; local 8898 VecTy = N->getValueType(0); 8900 VecTy = N->getOperand(AddrOpIdx+1).getValueType(); 8901 unsigned NumBytes = NumVecs * VecTy.getSizeInBits() / 8; 8903 NumBytes /= VecTy.getVectorNumElements(); 8922 Tys[n] = VecTy;
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1569 QualType VecTy = E->getType(); local 1570 unsigned VecSize = Info.Ctx.getTypeSize(VecTy); 1571 QualType EltTy = VecTy->castAs<VectorType>()->getElementType();
|