/external/llvm/lib/IR/ |
ValueTypes.cpp | 100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 101 return VTy->getBitWidth(); 265 VectorType *VTy = cast<VectorType>(Ty); 267 getVT(VTy->getElementType(), false), VTy->getNumElements()); 282 VectorType *VTy = cast<VectorType>(Ty); 283 return getVectorVT(Ty->getContext(), getEVT(VTy->getElementType(), false), 284 VTy->getNumElements());
|
Constants.cpp | 179 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 180 C = ConstantVector::getSplat(VTy->getNumElements(), C); 196 VectorType *VTy = cast<VectorType>(Ty); 197 return ConstantVector::getSplat(VTy->getNumElements(), 198 getAllOnesValue(VTy->getElementType())); 489 VectorType *VTy = dyn_cast<VectorType>(Ty); 490 if (!VTy) { 494 assert(VTy->getElementType()->isIntegerTy(1) && 496 return ConstantVector::getSplat(VTy->getNumElements(), 501 VectorType *VTy = dyn_cast<VectorType>(Ty) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 338 MVT VTy = 340 if (VTy == MVT::Other) 343 if (TLI->isOperationLegalOrCustom(Opcode, VTy)) 345 else if (VTy.isVector() && 346 TLI->isOperationLegalOrCustom(Opcode, VTy.getScalarType()))
|
/external/llvm/include/llvm/IR/ |
DataLayout.h | 554 VectorType *VTy = cast<VectorType>(Ty); 555 return VTy->getNumElements() * getTypeSizeInBits(VTy->getElementType());
|
Value.h | 70 Type *VTy; 208 Type *getType() const { return VTy; } 456 VTy = Ty;
|
IRBuilder.h | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 108 Type *VTy = V->getType(); 109 assert((DL || !VTy->isPointerTy()) && 111 assert((!DL || DL->getTypeSizeInBits(VTy->getScalarType()) == BitWidth) && 112 (!VTy->isIntOrIntVectorTy() || 113 VTy->getScalarSizeInBits() == BitWidth) && 136 return UndefValue::get(VTy); 176 return Constant::getNullValue(VTy); 256 return Constant::getNullValue(VTy); 337 Constant *AndC = Constant::getIntegerValue(VTy, 482 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()) [all...] |
InstCombineVectorOps.cpp | 67 VectorType *VTy = cast<VectorType>(V->getType()); 68 unsigned Width = VTy->getNumElements(); 70 return UndefValue::get(VTy->getElementType()); 95 return UndefValue::get(VTy->getElementType()); [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 480 Type *VTy = V->getType(); 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->getScalarType()->isFloatingPointTy() & [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | 644 VectorType *VTy = cast<VectorType>(Ty); 645 Type *Elm = VTy->getElementType(); 653 VTy->getNumElements()); [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 63 VectorType *VTy = dyn_cast<VectorType>(C->getType()); 64 if (!VTy) 67 unsigned NumSrcElts = VTy->getNumElements(); 68 Type *SrcEltTy = VTy->getElementType(); [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 610 const VectorType* VTy = dyn_cast<VectorType>(C->getType()); 611 const Type *ElemTy = VTy->getElementType(); 612 unsigned int elemNum = VTy->getNumElements(); 910 VectorType* VTy = dyn_cast<VectorType>(C->getType()); 911 elemNum = VTy->getNumElements() [all...] |
/external/clang/lib/AST/ |
ASTDiagnostic.cpp | 236 const VectorType *VTy = Ty->getAs<VectorType>(); 239 const char *Values = VTy->getNumElements() > 1 ? "values" : "value"; 240 OS << "'" << S << "' (vector of " << VTy->getNumElements() << " '" 241 << VTy->getElementType().getAsString(Context.getPrintingPolicy()) [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.cpp | [all...] |
CGBuiltin.cpp | [all...] |
CGDebugInfo.cpp | [all...] |
CGExpr.cpp | [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | 470 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) { 471 numElem = VTy->getNumElements(); 476 if (VectorType *VTy = dyn_cast<VectorType>(Elem2Ty)) { 477 numElem += VTy->getNumElements(); 643 Type *VTy = IPtr->getType()->getPointerElementType(); 644 int64_t VTyTSS = (int64_t) DL->getTypeStoreSize(VTy); 647 if (VTy != VTy2 && Offset < 0) { [all...] |
/external/clang/lib/Sema/ |
SemaExpr.cpp | [all...] |