/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());
|
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...] |
/external/llvm/include/llvm/IR/ |
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/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/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...] |
/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/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/clang/lib/CodeGen/ |
CodeGenFunction.cpp | [all...] |
CGBuiltin.cpp | [all...] |
CGDebugInfo.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/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | [all...] |
/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/Sema/ |
SemaExpr.cpp | [all...] |