/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 30 typedef llvm::SmallVector<EltTy, 4> VecTy; typedef in class:llvm::TinyPtrVector 31 typedef typename VecTy::value_type value_type; 33 llvm::PointerUnion<EltTy, VecTy*> Val; 37 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 42 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 43 Val = new VecTy(*V); 59 Val = new VecTy(*RHS.Val.template get<VecTy*>()); [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | VecUtils.cpp | 186 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); local 188 return getScalarizationCost(VecTy); 391 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); 393 if (Depth == RecursionMaxDepth) return getScalarizationCost(VecTy); 407 return getScalarizationCost(VecTy); 423 return TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0); 429 return getScalarizationCost(VecTy); 431 if (!VL0) return getScalarizationCost(VecTy); 438 if (!I || Opcode != I->getOpcode()) return getScalarizationCost(VecTy); 480 return getScalarizationCost(VecTy); 602 VectorType *VecTy = VectorType::get(ScalarTy, VF); local [all...] |
H A D | LoopVectorize.cpp | 1761 Type *VecTy = VectorExit[0]->getType(); local 1775 VecTy->getScalarType()); 1814 PHINode *NewPhi = Builder.CreatePHI(VecTy, 2, "rdx.vec.exit.phi"); 1981 Type *VecTy = VectorType::get(it->getType(), VF); local 1982 Entry[part] = PHINode::Create(VecTy, 2, "vec.phi",
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1792 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) { 1793 unsigned ElementSizeInBits = TD.getTypeSizeInBits(VecTy->getScalarType()); 1798 if (NumSkippedElements.ugt(VecTy->getNumElements())) 1802 return getNaturalGEPRecursively(IRB, TD, Ptr, VecTy->getElementType(), 2264 VectorType *VecTy = cast<VectorType>(V->getType()); 2266 assert(NumElements <= VecTy->getNumElements() && "Too many elements!"); 2268 if (NumElements == VecTy->getNumElements()) 2291 VectorType *VecTy = cast<VectorType>(Old->getType()); 2292 assert(VecTy && "Can only insert a vector into a vector"); 2303 assert(Ty->getNumElements() <= VecTy [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1625 VectorType *VecTy = cast<VectorType>(VecInput->getType()); local 1628 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { 1631 if (VecTy->getElementType() != DestTy) { 1632 VecTy = VectorType::get(DestTy, 1633 VecTy->getPrimitiveSizeInBits() / DestWidth); 1634 VecInput = IC.Builder->CreateBitCast(VecInput, VecTy); 1639 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1; 1649 VectorType *VecTy = cast<VectorType>(VecInput->getType()); local 1651 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && 1655 if (VecTy [all...] |
H A D | InstCombineSelect.cpp | 977 if (VectorType* VecTy = dyn_cast<VectorType>(SI.getType())) { 978 unsigned VWidth = VecTy->getNumElements();
|
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 605 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); local 606 assert(VecTy.SimpleTy >= 0 && 608 return VecTy;
|
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | DataLayout.cpp | 619 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) 620 return VectorType::get(IntTy, VecTy->getNumElements());
|
H A D | Constants.cpp | 1834 if (VectorType *VecTy = dyn_cast<VectorType>(C->getType())) 1835 ReqTy = VectorType::get(ReqTy, VecTy->getNumElements());
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 2581 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); local 2584 Ops[1] = Builder.CreateBitCast(Ops[1], VecTy, "cast"); 2613 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 1); local 2615 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); 2616 Ops[1] = llvm::ConstantInt::get(VecTy, (shiftVal-8) * 8); 2643 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 2); local 2645 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast"); 2681 llvm::Type *VecTy = llvm::VectorType::get(Int64Ty, 4); local 2683 Ops[0] = Builder.CreateBitCast(Ops[0], VecTy, "cast");
|
H A D | CGExpr.cpp | 1254 llvm::VectorType *VecTy = cast<llvm::VectorType>(SrcTy); local 1256 if (VecTy->getNumElements() == 3) { 1274 llvm::UndefValue::get(VecTy), 1276 SrcTy = llvm::VectorType::get(VecTy->getElementType(), 4);
|
H A D | TargetInfo.cpp | 1659 if (const VectorType *VecTy = Ty->getAs<VectorType>()) { 1660 uint64_t Size = getContext().getTypeSize(VecTy);
|
/freebsd-10.0-release/contrib/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 483 VectorType *VecTy = cast<VectorType>(VTy); local 484 DestTy = pickVectorType(VecTy->getNumElements());
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 2464 // VecTy: Resulting Vector type 2467 static SDValue BuildVectorFromScalar(SelectionDAG& DAG, EVT VecTy, argument 2472 unsigned Width = VecTy.getSizeInBits(); 2492 return DAG.getNode(ISD::BITCAST, dl, VecTy, VecOp);
|
H A D | SelectionDAGBuilder.cpp | 1140 VectorType *VecTy = cast<VectorType>(V->getType()); 1141 unsigned NumElements = VecTy->getNumElements(); 1151 EVT EltVT = TLI.getValueType(VecTy->getElementType());
|
H A D | DAGCombiner.cpp | 5381 EVT VecTy = N0.getOperand(0).getValueType(); local 5385 unsigned NumElem = VecTy.getVectorNumElements(); 5389 assert(NVT.getSizeInBits() == VecTy.getSizeInBits() && "Invalid Size");
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 6801 QualType VecTy = *Vec; local 6802 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet); 6841 QualType VecTy = *Vec; local 6842 S.AddBuiltinCandidate(VecTy, &VecTy, Args, CandidateSet);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1269 QualType VecTy = E->getType(); local 1270 unsigned VecSize = Info.Ctx.getTypeSize(VecTy); 1271 QualType EltTy = VecTy->castAs<VectorType>()->getElementType();
|
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 8830 EVT VecTy; local 8832 VecTy = N->getValueType(0); 8834 VecTy = N->getOperand(AddrOpIdx+1).getValueType(); 8835 unsigned NumBytes = NumVecs * VecTy.getSizeInBits() / 8; 8837 NumBytes /= VecTy.getVectorNumElements(); 8856 Tys[n] = VecTy;
|