/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 374 static VectorType *getInteger(VectorType *VTy) { argument 375 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 377 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); 378 return VectorType::get(EltTy, VTy->getNumElements()); 385 static VectorType *getExtendedElementVectorType(VectorType *VTy) { argument 386 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 387 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); 388 return VectorType::get(EltTy, VTy->getNumElements()); 395 static VectorType *getTruncatedElementVectorType(VectorType *VTy) { argument 396 unsigned EltBits = VTy [all...] |
H A D | DataLayout.h | 467 VectorType *VTy = cast<VectorType>(Ty); local 468 return VTy->getNumElements() * getTypeSizeInBits(VTy->getElementType());
|
H A D | Value.h | 79 Type *VTy; member in class:llvm::Value 108 Type *getType() const { return VTy; } 324 VTy = Ty;
|
H A D | IRBuilder.h | 1061 Type *VTy = V->getType(); local 1062 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1064 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits()) 1075 Type *VTy = V->getType(); local 1076 if (VTy->getScalarSizeInBits() < DestTy->getScalarSizeInBits()) 1078 if (VTy->getScalarSizeInBits() > DestTy->getScalarSizeInBits())
|
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 101 return VTy->getBitWidth(); 255 VectorType *VTy = cast<VectorType>(Ty); local 257 getVT(VTy->getElementType(), false), VTy->getNumElements()); 272 VectorType *VTy = cast<VectorType>(Ty); local 273 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 274 VTy->getNumElements());
|
H A D | Value.cpp | 46 SubclassOptionalData(0), SubclassData(0), VTy((Type*)checkType(ty)), 52 assert((VTy->isFirstClassType() || VTy->isVoidTy() || VTy->isStructTy()) && 56 assert((VTy->isFirstClassType() || VTy->isVoidTy()) && 73 dbgs() << "While deleting: " << *VTy << " %" << getName() << "\n"; 481 LLVMContext &Value::getContext() const { return VTy->getContext(); }
|
H A D | Type.cpp | 46 if (VectorType *VTy = dyn_cast<VectorType>(this)) 47 return VTy->getElementType(); 52 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 53 return VTy->getElementType(); 143 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 144 return VTy->getElementType()->getFPMantissaWidth(); 165 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 166 return VTy->getElementType()->isSized();
|
H A D | Constants.cpp | 157 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 158 C = ConstantVector::getSplat(VTy->getNumElements(), C); 174 VectorType *VTy = cast<VectorType>(Ty); local 175 return ConstantVector::getSplat(VTy->getNumElements(), 176 getAllOnesValue(VTy->getElementType())); 453 VectorType *VTy = dyn_cast<VectorType>(Ty); local 454 if (!VTy) { 458 assert(VTy->getElementType()->isIntegerTy(1) && 460 return ConstantVector::getSplat(VTy->getNumElements(), 465 VectorType *VTy local [all...] |
H A D | ConstantFold.cpp | 1135 } else if (VectorType *VTy = dyn_cast<VectorType>(C1->getType())) { 1138 Type *Ty = IntegerType::get(VTy->getContext(), 32); 1139 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) {
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 107 Type *VTy = V->getType(); local 108 assert((TD || !VTy->isPointerTy()) && 110 assert((!TD || TD->getTypeSizeInBits(VTy->getScalarType()) == BitWidth) && 111 (!VTy->isIntOrIntVectorTy() || 112 VTy->getScalarSizeInBits() == BitWidth) && 135 return UndefValue::get(VTy); 175 return Constant::getNullValue(VTy); 255 return Constant::getNullValue(VTy); 336 Constant *AndC = Constant::getIntegerValue(VTy, 481 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, 1122 VectorType *VTy = dyn_cast<VectorType>(I->getOperand(0)->getType()); local [all...] |
H A D | InstCombineVectorOps.cpp | 63 VectorType *VTy = cast<VectorType>(V->getType()); local 64 unsigned Width = VTy->getNumElements(); 66 return UndefValue::get(VTy->getElementType()); 91 return UndefValue::get(VTy->getElementType());
|
H A D | InstCombineCasts.cpp | 969 if (VectorType *VTy = dyn_cast<VectorType>(CI.getType())) { 972 Type *EltTy = VTy->getElementType(); 975 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
|
H A D | InstCombineCompares.cpp | 61 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 62 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { 96 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 97 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) {
|
/freebsd-10.0-release/contrib/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 478 Type *VTy = V->getType(); local 482 if (VTy->isVectorTy()) { 483 VectorType *VecTy = cast<VectorType>(VTy); 488 if (VTy == DestTy) return; 491 if (VTy->isPointerTy()) { 498 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); 508 if (VTy->getScalarType()->isIntegerTy() && 523 if (VTy->getScalarType()->isFloatingPointTy() && 532 if (VTy->getScalarType()->isIntegerTy() && 542 if (VTy [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 459 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) { 460 numElem = VTy->getNumElements(); 465 if (VectorType *VTy = dyn_cast<VectorType>(Elem2Ty)) { 466 numElem += VTy->getNumElements(); 628 Type *VTy = cast<PointerType>(IPtr->getType())->getElementType(); local 629 int64_t VTyTSS = (int64_t) TD->getTypeStoreSize(VTy); 632 if (VTy != VTy2 && Offset < 0) { 1865 Type *VTy = getVecTypeForPair(Ty1, Ty2); local 1870 VTy, VTy); 1897 Type *VTy = getVecTypeForPair(Ty1, Ty2); local 1988 Type *VTy = getVecTypeForPair(Ty1, Ty2); local [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 1566 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty); local 1567 llvm::Constant *C = ConstantInt::get(VTy->getElementType(), neg ? -SV : SV); 1568 return llvm::ConstantVector::getSplat(VTy->getNumElements(), C); 1819 llvm::VectorType *VTy = GetNeonType(this, Type); local 1820 llvm::Type *Ty = VTy; 1939 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) 1963 if (VTy->getElementType()->isIntegerTy(64)) { 1970 Ty = llvm::VectorType::get(VTy->getElementType(), 1); 1983 Ty = llvm::PointerType::getUnqual(VTy->getElementType()); 1992 Ty = llvm::PointerType::getUnqual(VTy [all...] |
H A D | CodeGenFunction.cpp | 1432 llvm::Type *VTy = V->getType(); local 1442 if (VTy != CGM.Int8PtrTy) 1445 V = Builder.CreateBitCast(V, VTy);
|
H A D | CGExpr.cpp | 1141 const llvm::VectorType *VTy = cast<llvm::VectorType>(EltTy); local 1144 if (VTy->getNumElements() == 3) { 1147 llvm::VectorType *vec4Ty = llvm::VectorType::get(VTy->getElementType(), 1593 if (const VectorType *VTy = Dst.getType()->getAs<VectorType>()) { 1594 unsigned NumSrcElts = VTy->getNumElements();
|
/freebsd-10.0-release/contrib/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 550 const VectorType* VTy = dyn_cast<VectorType>(C->getType()); local 551 const Type *ElemTy = VTy->getElementType(); 552 unsigned int elemNum = VTy->getNumElements(); 850 VectorType* VTy = dyn_cast<VectorType>(C->getType()); local 851 elemNum = VTy->getNumElements(); 852 ElemTy = VTy->getElementType();
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 575 VectorType *VTy = cast<VectorType>(Ty); 576 Type *Elm = VTy->getElementType(); 581 VTy->getNumElements());
|
/freebsd-10.0-release/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 58 VectorType *VTy = dyn_cast<VectorType>(C->getType()); local 59 if (VTy == 0) 62 unsigned NumSrcElts = VTy->getNumElements(); 63 Type *SrcEltTy = VTy->getElementType();
|
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1437 const VectorType *VTy = dyn_cast<VectorType>(Ty); local 1438 if (VTy) { 1439 Type *ETy = VTy->getElementType(); 1440 unsigned int numE = VTy->getNumElements();
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 772 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { 781 unsigned EltSize = TD.getTypeAllocSizeInBits(VTy->getElementType()); 904 if (VectorType *VTy = dyn_cast<VectorType>(AllocaType)) { 905 uint64_t VecSize = TD.getTypeAllocSizeInBits(VTy); 914 Type *EltTy = VTy->getElementType();
|
H A D | SROA.cpp | 2702 IntegerType *VTy = cast<IntegerType>(V->getType()); 2703 assert(VTy->getBitWidth() == 8 && "Expected an i8 value for the byte"); 2707 Type *SplatIntTy = Type::getIntNTy(VTy->getContext(), Size*8);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 118 else if (const VectorType *VTy = BaseType->getAs<VectorType>()) 119 BaseType = VTy->getElementType();
|