/external/llvm/lib/VMCore/ |
ValueTypes.cpp | 92 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 93 return VTy->getBitWidth(); 223 VectorType *VTy = cast<VectorType>(Ty); 224 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 225 VTy->getNumElements());
|
Constants.cpp | 135 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 136 C = ConstantVector::getSplat(VTy->getNumElements(), C); 152 VectorType *VTy = cast<VectorType>(Ty); 153 return ConstantVector::getSplat(VTy->getNumElements(), 154 getAllOnesValue(VTy->getElementType())); 394 VectorType *VTy = dyn_cast<VectorType>(Ty); 395 if (!VTy) { 399 assert(VTy->getElementType()->isIntegerTy(1) && 401 return ConstantVector::getSplat(VTy->getNumElements(), 406 VectorType *VTy = dyn_cast<VectorType>(Ty) [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); 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, I->getName()) [all...] |
InstCombineVectorOps.cpp | 61 VectorType *VTy = cast<VectorType>(V->getType()); 62 unsigned Width = VTy->getNumElements(); 64 return UndefValue::get(VTy->getElementType()); 89 return UndefValue::get(VTy->getElementType());
|
/external/llvm/include/llvm/ |
Value.h | 76 Type *VTy; 105 Type *getType() const { return VTy; } 316 VTy = Ty;
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 476 Type *VTy = V->getType(); 480 if (VTy->isVectorTy()) { 481 VectorType *VecTy = cast<VectorType>(VTy); 486 if (VTy == DestTy) return; 489 if (VTy->isPointerTy()) { 496 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); 506 if (VTy->getScalarType()->isIntegerTy() && 521 if (VTy->getScalarType()->isFloatingPointTy() && 530 if (VTy->getScalarType()->isIntegerTy() && 540 if (VTy->getScalarType()->isFloatingPointTy() & [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.cpp | [all...] |
CGBuiltin.cpp | [all...] |
CGDebugInfo.cpp | 732 llvm::DIType VTy = getOrCreateType(V->getType(), VUnit); 734 if (VTy.getTag() != llvm::dwarf::DW_TAG_enumeration_type) { 737 VTy, true, CI); [all...] |
CGExpr.cpp | [all...] |
CGExprScalar.cpp | 777 llvm::VectorType *VTy = cast<llvm::VectorType>(V1->getType()); 781 if (VTy->getNumElements() == 3 && Idx > 3) [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
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(); 483 int64_t VTyTSS = (int64_t) TD->getTypeStoreSize(VTy); 486 if (VTy != VTy2 && Offset < 0) { [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaExpr.cpp | [all...] |