Searched refs:VTy (Results 1 - 21 of 21) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DDerivedTypes.h380 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 DValue.h77 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 DValue.cpp45 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 DValueTypes.cpp100 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 DType.cpp45 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 DConstants.cpp135 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 DConstantFold.cpp1137 } 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 DInstructions.cpp1387 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
1388 Ty = VTy->getElementType();
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp106 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 DInstCombineVectorOps.cpp61 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 DInstCombineCasts.cpp960 if (VectorType *VTy = dyn_cast<VectorType>(CI.getType())) {
963 Type *EltTy = VTy->getElementType();
966 Constant *VSh = ConstantInt::get(VTy, EltTy->getScalarSizeInBits()-1);
H A DInstCombineCompares.cpp61 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 Dllvm-stress.cpp480 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 DTargetLowering.h551 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 DNVPTXAsmPrinter.cpp1354 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 DScalarReplAggregates.cpp772 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 DSROA.cpp1374 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 DBBVectorize.cpp387 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 DBitcodeReader.cpp1053 } 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 DPPCISelLowering.cpp478 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 DX86ISelLowering.cpp1284 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) {
1285 if (VTy->getBitWidth() == 128)

Completed in 340 milliseconds