/external/llvm/include/llvm/ |
DerivedTypes.h | 375 static VectorType *getInteger(VectorType *VTy) { 376 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) { 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) { 396 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits() [all...] |
Value.h | 79 Type *VTy; 108 Type *getType() const { return VTy; } 309 VTy = Ty;
|
/external/llvm/lib/VMCore/ |
Value.cpp | 45 SubclassOptionalData(0), SubclassData(0), VTy((Type*)checkType(ty)), 49 assert((VTy->isFirstClassType() || VTy->isVoidTy() || VTy->isStructTy()) && 52 assert((VTy->isFirstClassType() || VTy->isVoidTy()) && 69 dbgs() << "While deleting: " << *VTy << " %" << getNameStr() << "\n"; 411 LLVMContext &Value::getContext() const { return VTy->getContext(); }
|
ValueTypes.cpp | 88 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 89 return VTy->getBitWidth(); 213 VectorType *VTy = cast<VectorType>(Ty); 214 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 215 VTy->getNumElements());
|
Constants.cpp | 124 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 125 C = ConstantVector::get(std::vector<Constant *>(VTy->getNumElements(), C)); 142 VectorType *VTy = cast<VectorType>(Ty); 143 Elts.resize(VTy->getNumElements(), getAllOnesValue(VTy->getElementType())); 381 VectorType *VTy = dyn_cast<VectorType>(Ty); 382 if (!VTy) { 386 assert(VTy->getElementType()->isIntegerTy(1) && 388 SmallVector<Constant*, 16> Splat(VTy->getNumElements(), 394 VectorType *VTy = dyn_cast<VectorType>(Ty) [all...] |
Type.cpp | 44 if (VectorType *VTy = dyn_cast<VectorType>(this)) 45 return VTy->getElementType(); 157 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 158 return VTy->getElementType()->getFPMantissaWidth(); 178 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 179 return VTy->getElementType()->isSized();
|
ConstantFold.cpp | 703 VectorType *VTy = cast<VectorType>(V1->getType()); 711 Type *EltTy = VTy->getElementType(); 712 unsigned NumElem = VTy->getNumElements(); [all...] |
Verifier.cpp | [all...] |
Instructions.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 106 Type *VTy = V->getType(); 107 assert((TD || !VTy->isPointerTy()) && 109 assert((!TD || TD->getTypeSizeInBits(VTy->getScalarType()) == BitWidth) && 110 (!VTy->isIntOrIntVectorTy() || 111 VTy->getScalarSizeInBits() == BitWidth) && 134 return UndefValue::get(VTy); 176 return Constant::getNullValue(VTy); 245 return Constant::getNullValue(VTy); 326 Constant *AndC = Constant::getIntegerValue(VTy, 471 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()) [all...] |
InstCombineCasts.cpp | [all...] |
InstCombineCompares.cpp | 60 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 61 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { 95 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 96 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) { [all...] |
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | [all...] |
CodeGenFunction.cpp | [all...] |
CGDebugInfo.cpp | [all...] |
CGExpr.cpp | [all...] |
CGExprScalar.cpp | 790 llvm::VectorType *VTy = cast<llvm::VectorType>(V1->getType()); 794 if (VTy->getNumElements() == 3 && Idx > 3) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 686 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { 695 unsigned EltSize = TD.getTypeAllocSizeInBits(VTy->getElementType()); [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 114 else if (const VectorType *VTy = BaseType->getAs<VectorType>()) 115 BaseType = VTy->getElementType();
|
ExprConstant.cpp | 826 const VectorType *VTy = E->getType()->getAs<VectorType>(); 827 QualType EltTy = VTy->getElementType(); 828 unsigned NElts = VTy->getNumElements(); [all...] |
ASTContext.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaExpr.cpp | [all...] |
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 449 VectorType *VTy = cast<VectorType>(Ty); 450 return printSimpleType(Out, VTy->getElementType(), isSigned, 452 utostr(TD->getTypeAllocSize(VTy)) + " ))) " + NameSoFar); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | [all...] |