/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 374 static VectorType *getInteger(VectorType *VTy) { 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) { 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...] |
DataLayout.h | 480 VectorType *VTy = cast<VectorType>(Ty); 481 return VTy->getNumElements() * getTypeSizeInBits(VTy->getElementType());
|
Value.h | 79 Type *VTy; 108 Type *getType() const { return VTy; } 324 VTy = Ty;
|
IRBuilder.h | [all...] |
/external/llvm/lib/IR/ |
ValueTypes.cpp | 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 101 return VTy->getBitWidth(); 255 VectorType *VTy = cast<VectorType>(Ty); 257 getVT(VTy->getElementType(), false), VTy->getNumElements()); 272 VectorType *VTy = cast<VectorType>(Ty); 273 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 274 VTy->getNumElements());
|
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"; 480 LLVMContext &Value::getContext() const { return VTy->getContext(); }
|
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();
|
Constants.cpp | 157 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 158 C = ConstantVector::getSplat(VTy->getNumElements(), C); 174 VectorType *VTy = cast<VectorType>(Ty); 175 return ConstantVector::getSplat(VTy->getNumElements(), 176 getAllOnesValue(VTy->getElementType())); 453 VectorType *VTy = dyn_cast<VectorType>(Ty); 454 if (!VTy) { 458 assert(VTy->getElementType()->isIntegerTy(1) && 460 return ConstantVector::getSplat(VTy->getNumElements(), 465 VectorType *VTy = dyn_cast<VectorType>(Ty) [all...] |
ConstantFold.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 107 Type *VTy = V->getType(); 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, I->getName()) [all...] |
InstCombineVectorOps.cpp | 63 VectorType *VTy = cast<VectorType>(V->getType()); 64 unsigned Width = VTy->getNumElements(); 66 return UndefValue::get(VTy->getElementType()); 91 return UndefValue::get(VTy->getElementType()); [all...] |
InstCombineCasts.cpp | [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 478 Type *VTy = V->getType(); 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->getScalarType()->isFloatingPointTy() & [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 318 MVT VTy = 320 if (VTy == MVT::Other) 323 if (TLI->isOperationLegalOrCustom(Opcode, VTy)) 325 else if (VTy.isVector() && 326 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
|
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.cpp | 561 if (VectorType *VTy = dyn_cast<VectorType>(Src)) { 562 unsigned NumElem = VTy->getVectorNumElements(); 566 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) 571 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) 578 VTy->getScalarType(),
|
/external/llvm/lib/Transforms/Vectorize/ |
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(); 629 int64_t VTyTSS = (int64_t) TD->getTypeStoreSize(VTy); 632 if (VTy != VTy2 && Offset < 0) { [all...] |
/external/clang/lib/CodeGen/ |
CGBuiltin.cpp | [all...] |
CodeGenFunction.cpp | [all...] |
CGExpr.cpp | [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 561 const VectorType* VTy = dyn_cast<VectorType>(C->getType()); 562 const Type *ElemTy = VTy->getElementType(); 563 unsigned int elemNum = VTy->getNumElements(); 861 VectorType* VTy = dyn_cast<VectorType>(C->getType()); 862 elemNum = VTy->getNumElements(); 863 ElemTy = VTy->getElementType(); [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | 574 VectorType *VTy = cast<VectorType>(Ty); 575 Type *Elm = VTy->getElementType(); 580 VTy->getNumElements()); [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 58 VectorType *VTy = dyn_cast<VectorType>(C->getType()); 59 if (VTy == 0) 62 unsigned NumSrcElts = VTy->getNumElements(); 63 Type *SrcEltTy = VTy->getElementType(); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 772 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { 781 unsigned EltSize = TD.getTypeAllocSizeInBits(VTy->getElementType()); [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 118 else if (const VectorType *VTy = BaseType->getAs<VectorType>()) 119 BaseType = VTy->getElementType(); [all...] |