/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ |
H A D | DerivedTypes.h | 380 static VectorType *getInteger(VectorType *VTy) { argument 381 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 383 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); 384 return VectorType::get(EltTy, VTy->getNumElements()); 391 static VectorType *getExtendedElementVectorType(VectorType *VTy) { argument 392 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); 393 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); 394 return VectorType::get(EltTy, VTy->getNumElements()); 401 static VectorType *getTruncatedElementVectorType(VectorType *VTy) { argument 402 unsigned EltBits = VTy [all...] |
H A D | Value.h | 77 Type *VTy; member in class:llvm::Value 106 Type *getType() const { return VTy; } 317 VTy = Ty;
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/ |
H A D | 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 << " %" << getName() << "\n"; 468 LLVMContext &Value::getContext() const { return VTy->getContext(); }
|
H A D | ValueTypes.cpp | 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 101 return VTy->getBitWidth(); 243 VectorType *VTy = cast<VectorType>(Ty); local 244 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 245 VTy->getNumElements());
|
H A D | Type.cpp | 45 if (VectorType *VTy = dyn_cast<VectorType>(this)) 46 return VTy->getElementType(); 160 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 161 return VTy->getElementType()->getFPMantissaWidth(); 182 if (const VectorType *VTy = dyn_cast<VectorType>(this)) 183 return VTy->getElementType()->isSized();
|
H A D | Constants.cpp | 135 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 136 C = ConstantVector::getSplat(VTy->getNumElements(), C); 152 VectorType *VTy = cast<VectorType>(Ty); local 153 return ConstantVector::getSplat(VTy->getNumElements(), 154 getAllOnesValue(VTy->getElementType())); 394 VectorType *VTy = dyn_cast<VectorType>(Ty); local 395 if (!VTy) { 399 assert(VTy->getElementType()->isIntegerTy(1) && 401 return ConstantVector::getSplat(VTy->getNumElements(), 406 VectorType *VTy local [all...] |
H A D | ConstantFold.cpp | 1137 } else if (VectorType *VTy = dyn_cast<VectorType>(C1->getType())) { 1140 Type *Ty = IntegerType::get(VTy->getContext(), 32); 1141 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) {
|
H A D | Instructions.cpp | 1387 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1388 Ty = VTy->getElementType();
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 106 Type *VTy = V->getType(); local 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); 174 return Constant::getNullValue(VTy); 241 return Constant::getNullValue(VTy); 322 Constant *AndC = Constant::getIntegerValue(VTy, 467 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, 1017 VectorType *VTy = dyn_cast<VectorType>(I->getOperand(0)->getType()); local [all...] |
H A D | InstCombineVectorOps.cpp | 61 VectorType *VTy = cast<VectorType>(V->getType()); local 62 unsigned Width = VTy->getNumElements(); 64 return UndefValue::get(VTy->getElementType()); 89 return UndefValue::get(VTy->getElementType());
|
H A D | InstCombineCasts.cpp | 960 if (VectorType *VTy = dyn_cast<VectorType>(CI.getType())) { 963 Type *EltTy = VTy->getElementType(); 966 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) {
|
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 480 Type *VTy = V->getType(); local 484 if (VTy->isVectorTy()) { 485 VectorType *VecTy = cast<VectorType>(VTy); 490 if (VTy == DestTy) return; 493 if (VTy->isPointerTy()) { 500 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); 510 if (VTy->getScalarType()->isIntegerTy() && 525 if (VTy->getScalarType()->isFloatingPointTy() && 534 if (VTy->getScalarType()->isIntegerTy() && 544 if (VTy [all...] |
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Target/ |
H A D | TargetLowering.h | 551 VectorType *VTy = cast<VectorType>(Ty); 552 Type *Elm = VTy->getElementType(); 557 VTy->getNumElements());
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1354 const VectorType *VTy = dyn_cast<VectorType>(Ty); local 1355 if (VTy) { 1356 Type *ETy = VTy->getElementType(); 1357 unsigned int numE = VTy->getNumElements();
|
/macosx-10.10.1/llvmCore-3425.0.34/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 | 1374 if (VectorType *VTy = dyn_cast<VectorType>(*GTI)) { 1375 assert((VTy->getScalarSizeInBits() % 8) == 0 && 1377 TypeSize = VTy->getScalarSizeInBits() / 8; 2378 IntegerType *VTy = cast<IntegerType>(V->getType()); local 2379 Type *IntTy = Type::getIntNTy(VTy->getContext(), 2381 if (TD.getTypeSizeInBits(ScalarTy) > VTy->getBitWidth())
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 387 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) { 388 numElem = VTy->getNumElements(); 393 if (VectorType *VTy = dyn_cast<VectorType>(Elem2Ty)) { 394 numElem += VTy->getNumElements(); 482 Type *VTy = cast<PointerType>(IPtr->getType())->getElementType(); local 483 int64_t VTyTSS = (int64_t) TD->getTypeStoreSize(VTy); 486 if (VTy != VTy2 && Offset < 0) {
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1053 } else if (VectorType *VTy = dyn_cast<VectorType>(CurTy)) { 1054 Type *EltTy = VTy->getElementType();
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 478 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 479 if (VTy->getBitWidth() >= 128)
|
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 1284 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { 1285 if (VTy->getBitWidth() == 128)
|