/freebsd-10.1-release/contrib/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 88 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 93 return cast<VectorType>(LLVMTy)->getNumElements(); 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 199 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); 200 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); 201 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); 202 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16); 203 case MVT::v32i1: return VectorType [all...] |
H A D | Pass.cpp | 229 typedef AnalysisUsage::VectorType VectorType; typedef in struct:__anon2359::GetCFGOnlyPasses 230 VectorType &CFGOnlyList; 231 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
|
H A D | Type.cpp | 46 if (VectorType *VTy = dyn_cast<VectorType>(this)) 52 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 77 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) { 78 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 86 if (const VectorType *thatPTy = dyn_cast<VectorType>(T 701 VectorType::VectorType(Type *ElType, unsigned NumEl) function in class:VectorType [all...] |
H A D | Instructions.cpp | 66 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) { 70 VectorType *ET = dyn_cast<VectorType>(Op1->getType()); 1443 : Instruction(cast<VectorType>(Val->getType())->getElementType(), 1457 : Instruction(cast<VectorType>(Val->getType())->getElementType(), 1515 if (Elt->getType() != cast<VectorType>(Vec->getType())->getElementType()) 1531 : Instruction(VectorType::get(cast<VectorType>(V1->getType())->getElementType(), 1532 cast<VectorType>(Mas [all...] |
H A D | Constants.cpp | 157 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 174 VectorType *VTy = cast<VectorType>(Ty); 453 VectorType *VTy = dyn_cast<VectorType>(Ty); 465 VectorType *VTy = dyn_cast<VectorType>(Ty); 496 if (VectorType *VTy = dyn_cast<VectorType>(T [all...] |
H A D | Verifier.cpp | 1338 Assert1(cast<VectorType>(SrcTy)->getNumElements() == 1339 cast<VectorType>(DestTy)->getNumElements(), 1361 Assert1(cast<VectorType>(SrcTy)->getNumElements() == 1362 cast<VectorType>(DestTy)->getNumElements(), 1384 Assert1(cast<VectorType>(SrcTy)->getNumElements() == 1385 cast<VectorType>(DestTy)->getNumElements(), 1407 Assert1(cast<VectorType>(SrcTy)->getNumElements() == 1408 cast<VectorType>(DestTy)->getNumElements(), 1427 VectorType *VSrc = dyn_cast<VectorType>(SrcT [all...] |
H A D | LegacyPassManager.cpp | 526 const AnalysisUsage::VectorType &IDs = AnUsage->getRequiredTransitiveSet(); 529 for (AnalysisUsage::VectorType::const_iterator I = IDs.begin(), 619 const AnalysisUsage::VectorType &RequiredSet = AnUsage->getRequiredSet(); 620 for (AnalysisUsage::VectorType::const_iterator I = RequiredSet.begin(), 632 for (AnalysisUsage::VectorType::const_iterator I2 = RequiredSet.begin(), 844 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 865 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 868 for (AnalysisUsage::VectorType::const_iterator I = PreservedSet.begin(), 884 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 1065 const AnalysisUsage::VectorType [all...] |
H A D | DataLayout.cpp | 393 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 394 Align *= cast<VectorType>(Ty)->getNumElements(); 620 if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) 621 return VectorType::get(IntTy, VecTy->getNumElements());
|
H A D | Function.cpp | 630 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width); 645 return VectorType::getExtendedElementVectorType(cast<VectorType>( 649 return VectorType::getTruncatedElementVectorType(cast<VectorType>(
|
H A D | ConstantFold.cpp | 44 static Constant *BitCastConstantVector(Constant *CV, VectorType *DstTy) { 138 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) { 139 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 554 VectorType *DestVecTy = cast<VectorType>(DestTy); 794 return UndefValue::get(VectorType::get(EltTy, MaskNumElts)); 1138 } else if (VectorType *VTy = dyn_cast<VectorType>(C [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 143 /// and VectorType. 356 /// VectorType - Class to represent vector types. 358 class VectorType : public SequentialType { class in namespace:llvm 361 VectorType(const VectorType &) LLVM_DELETED_FUNCTION; 362 const VectorType &operator=(const VectorType &) LLVM_DELETED_FUNCTION; 363 VectorType(Type *ElType, unsigned NumEl); 365 /// VectorType::get - This static method is the primary way to construct an 366 /// VectorType [all...] |
H A D | DataLayout.h | 491 VectorType *VTy = cast<VectorType>(Ty);
|
H A D | Constants.h | 37 class VectorType; 438 friend struct ConstantArrayCreator<ConstantVector, VectorType>; 441 ConstantVector(VectorType *T, ArrayRef<Constant *> Val); 453 /// getType - Specialize the getType() method to always return a VectorType, 456 inline VectorType *getType() const { 457 return cast<VectorType>(Value::getType()); 730 /// getType - Specialize the getType() method to always return a VectorType, 733 inline VectorType *getType() const { 734 return cast<VectorType>(Value::getType());
|
/freebsd-10.1-release/contrib/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 32 typename VectorType = std::vector<std::pair<KeyT, ValueT> > > 34 typedef typename VectorType::size_type SizeType; 37 VectorType Vector; 40 typedef typename VectorType::iterator iterator; 41 typedef typename VectorType::const_iterator const_iterator;
|
/freebsd-10.1-release/contrib/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 39 typedef SmallVector<AnalysisID, 32> VectorType; typedef in class:llvm::AnalysisUsage 43 VectorType Required, RequiredTransitive, Preserved; 108 const VectorType &getRequiredSet() const { return Required; } 109 const VectorType &getRequiredTransitiveSet() const { 112 const VectorType &getPreservedSet() const { return Preserved; }
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 1610 static llvm::VectorType *GetNeonType(CodeGenFunction *CGF, 1617 return llvm::VectorType::get(CGF->Int8Ty, V1Ty ? 1 : (8 << IsQuad)); 1621 return llvm::VectorType::get(CGF->Int16Ty, V1Ty ? 1 : (4 << IsQuad)); 1623 return llvm::VectorType::get(CGF->Int32Ty, V1Ty ? 1 : (2 << IsQuad)); 1626 return llvm::VectorType::get(CGF->Int64Ty, V1Ty ? 1 : (1 << IsQuad)); 1628 return llvm::VectorType::get(CGF->FloatTy, V1Ty ? 1 : (2 << IsQuad)); 1630 return llvm::VectorType::get(CGF->DoubleTy, V1Ty ? 1 : (1 << IsQuad)); 1636 unsigned nElts = cast<llvm::VectorType>(V->getType())->getNumElements(); 1659 llvm::VectorType *VTy = cast<llvm::VectorType>(T [all...] |
H A D | CGExprScalar.cpp | 754 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements(); 759 if (isa<llvm::VectorType>(SrcTy) || 760 isa<llvm::VectorType>(DstTy)) 905 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType()); 925 llvm::VectorType *MTy = cast<llvm::VectorType>(Mask->getType()); 942 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), 995 QualType SrcEltType = SrcType->getAs<VectorType>() [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 65 VectorType *VTy = cast<VectorType>(V->getType()); 216 if (VectorType *VT = dyn_cast<VectorType>(BCI->getOperand(0)->getType())) 410 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 519 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); 665 VectorType::get(I->getType()->getScalarType(), 688 return UndefValue::get(VectorType::get(V->getType()->getScalarType(), 693 VectorType::get(V->getType()->getScalarType(), 770 VectorType [all...] |
H A D | InstCombineCasts.cpp | 979 if (VectorType *VTy = dyn_cast<VectorType>(CI.getType())) { 1366 Ty = VectorType::get(Ty, CI.getType()->getVectorNumElements()); 1450 PtrTy = VectorType::get(PtrTy, Ty->getVectorNumElements()); 1461 static Instruction *OptimizeVectorResize(Value *InVal, VectorType *DestTy, 1466 VectorType *SrcTy = cast<VectorType>(InVal->getType()); 1477 SrcTy = VectorType::get(DestTy->getElementType(), SrcTy->getNumElements()); 1644 VectorType *DestVecTy = cast<VectorType>(C [all...] |
H A D | InstCombineSimplifyDemanded.cpp | 414 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) { 415 if (VectorType *SrcVTy = 416 dyn_cast<VectorType>(I->getOperand(0)->getType())) { 919 unsigned VWidth = cast<VectorType>(V->getType())->getNumElements(); 943 Type *EltTy = cast<VectorType>(V->getType())->getElementType(); 1034 cast<VectorType>(Shuffle->getOperand(0)->getType())->getNumElements(); 1121 VectorType *VTy = dyn_cast<VectorType>(I->getOperand(0)->getType());
|
/freebsd-10.1-release/contrib/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 181 VectorType *VTp = cast<VectorType>(Tp); 243 return VectorType::get(Ty, width); 424 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), 437 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements(); 467 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), 484 VectorType *VecTy = cast<VectorType>(VTy); 573 unsigned NumElem = cast<VectorType>(Val0->getType())->getNumElements(); 574 CondTy = VectorType [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/ |
H A D | R600TextureIntrinsicsReplacer.cpp | 217 V4f32Type = VectorType::get(FloatType, 4); 218 V4i32Type = VectorType::get(Int32Type, 4);
|
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 441 Value *Gather(ArrayRef<Value *> VL, VectorType *Ty); 962 VectorType *VecTy = VectorType::get(ScalarTy, VL.size()); 1004 VectorType *SrcVecTy = VectorType::get(SrcTy, VL.size()); 1034 VectorType *MaskTy = VectorType::get(Builder.getInt1Ty(), VL.size()); 1120 VectorType *VecTy = VectorType::get(I->Scalar->getType(), BundleWidth); 1132 for (unsigned i = 0, e = cast<VectorType>(T [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | TypePrinter.cpp | 514 void TypePrinter::printVectorBefore(const VectorType *T, raw_ostream &OS) { 516 case VectorType::AltiVecPixel: 519 case VectorType::AltiVecBool: 523 case VectorType::AltiVecVector: 527 case VectorType::NeonVector: 532 case VectorType::NeonPolyVector: 537 case VectorType::GenericVector: { 550 void TypePrinter::printVectorAfter(const VectorType *T, raw_ostream &OS) { 1144 if (const VectorType *vector =T->getEquivalentType()->getAs<VectorType>()) { [all...] |
/freebsd-10.1-release/contrib/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 897 ResultTy = VectorType::get(ResultTy, Record[0]); 1246 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) { 1275 if (isa<VectorType>(CurTy)) 1281 if (isa<VectorType>(CurTy)) 1287 if (isa<VectorType>(CurTy)) 1293 if (isa<VectorType>(CurTy)) 1300 if (isa<VectorType>(CurTy)) 1308 if (isa<VectorType>(CurTy)) 1390 if (VectorType *VT [all...] |