/external/llvm/lib/VMCore/ |
ValueTypes.cpp | 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 76 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 81 return cast<VectorType>(LLVMTy)->getNumElements(); 88 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 168 case MVT::v2i8: return VectorType::get(Type::getInt8Ty(Context), 2); 169 case MVT::v4i8: return VectorType::get(Type::getInt8Ty(Context), 4); 170 case MVT::v8i8: return VectorType::get(Type::getInt8Ty(Context), 8); 171 case MVT::v16i8: return VectorType::get(Type::getInt8Ty(Context), 16); 172 case MVT::v32i8: return VectorType::get(Type::getInt8Ty(Context), 32) [all...] |
Type.cpp | 45 if (VectorType *VTy = dyn_cast<VectorType>(this)) 63 return cast<VectorType>(this)->getElementType()->isIntegerTy(); 76 return cast<VectorType>(this)->getElementType()->isFloatingPointTy(); 94 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) { 95 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 103 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty) [all...] |
Constants.cpp | 135 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 152 VectorType *VTy = cast<VectorType>(Ty); 394 VectorType *VTy = dyn_cast<VectorType>(Ty); 406 VectorType *VTy = dyn_cast<VectorType>(Ty); 437 if (VectorType *VTy = dyn_cast<VectorType>(Ty) [all...] |
Instructions.cpp | 65 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) { 69 VectorType *ET = dyn_cast<VectorType>(Op1->getType()); [all...] |
Pass.cpp | 250 typedef AnalysisUsage::VectorType VectorType; 251 VectorType &CFGOnlyList; 252 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
|
Verifier.cpp | [all...] |
PassManager.cpp | 497 const AnalysisUsage::VectorType &IDs = AnUsage->getRequiredTransitiveSet(); 500 for (AnalysisUsage::VectorType::const_iterator I = IDs.begin(), 590 const AnalysisUsage::VectorType &RequiredSet = AnUsage->getRequiredSet(); 591 for (AnalysisUsage::VectorType::const_iterator I = RequiredSet.begin(), 797 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 818 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 821 for (AnalysisUsage::VectorType::const_iterator I = PreservedSet.begin(), 837 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); [all...] |
/external/llvm/include/llvm/ |
DerivedTypes.h | 144 /// and VectorType. 361 /// VectorType - Class to represent vector types. 363 class VectorType : public SequentialType { 366 VectorType(const VectorType &); // Do not implement 367 const VectorType &operator=(const VectorType &); // Do not implement 368 VectorType(Type *ElType, unsigned NumEl); 370 /// VectorType::get - This static method is the primary way to construct an 371 /// VectorType [all...] |
PassAnalysisSupport.h | 39 typedef SmallVector<AnalysisID, 32> VectorType; 43 VectorType Required, RequiredTransitive, Preserved; 108 const VectorType &getRequiredSet() const { return Required; } 109 const VectorType &getRequiredTransitiveSet() const { 112 const VectorType &getPreservedSet() const { return Preserved; }
|
/external/llvm/unittests/ADT/ |
SmallVectorTest.cpp | 93 typedef SmallVector<Constructable, 4> VectorType; 95 VectorType theVector; 96 VectorType otherVector; 102 void assertEmpty(VectorType & v) { 112 void assertValuesInOrder(VectorType & v, size_t size, ...) { 126 void makeSequence(VectorType & v, int start, int end) { 247 VectorType::iterator it = theVector.begin(); 265 VectorType::reverse_iterator rit = theVector.rbegin(); 386 VectorType constVector;
|
/external/llvm/unittests/VMCore/ |
InstructionsTest.cpp | 121 Type* V8x8Ty = VectorType::get(Int8Ty, 8); 122 Type* V8x64Ty = VectorType::get(Int64Ty, 8); 146 VectorType *V2xi8PTy = VectorType::get(Ptri8Ty, 2); 147 VectorType *V2xi32PTy = VectorType::get(Ptri32Ty, 2);
|
/external/mesa3d/src/pixelflinger2/ |
llvm_helper.h | 49 static VectorType * intVecType(IRBuilder<> & builder) 51 return VectorType::get(Type::getInt32Ty(builder.getContext()), 4); 54 static VectorType * floatVecType(IRBuilder<> & builder) 56 return VectorType::get(Type::getFloatTy(builder.getContext()), 4); 96 const VectorType * type = (const VectorType *)vec->getType();
|
texture.cpp | 354 llvm::VectorType *vectorType = llvm::VectorType::get(llvm::Type::getFloatTy(llvm_ctx), 4); 355 llvm::PointerType * vectorPtr = llvm::PointerType::get(vectorType, 0);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
ArgList.h | 38 typedef Vector<Register, inlineCapacity> VectorType; 42 typedef VectorType::iterator iterator; 43 typedef VectorType::const_iterator const_iterator; 153 VectorType m_vector;
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 170 VectorType *VTp = cast<VectorType>(Tp); 232 return VectorType::get(Ty, width); 415 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), 428 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements(); 458 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()), 475 VectorType *VecTy = cast<VectorType>(VTy); 564 unsigned NumElem = cast<VectorType>(Val0->getType())->getNumElements(); 565 CondTy = VectorType::get(CondTy, NumElem) [all...] |
/external/icu4c/common/ |
utrace.c | 278 char vectorType; 288 vectorType = fmt[fmtIx]; /* b, h, d, l, p, etc. */ 289 if (vectorType != 0) { 302 switch (vectorType) {
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 61 VectorType *VTy = cast<VectorType>(V->getType()); 138 if (VectorType *VT = dyn_cast<VectorType>(BCI->getOperand(0)->getType())) 213 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 292 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 397 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); 421 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements(); 433 unsigned LHSWidth = cast<VectorType>(LHS->getType())->getNumElements(); 551 LHSOp0Width = cast<VectorType>(LHSOp0->getType())->getNumElements() [all...] |
InstCombineCasts.cpp | [all...] |
InstCombineSimplifyDemanded.cpp | 400 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) { 401 if (VectorType *SrcVTy = 402 dyn_cast<VectorType>(I->getOperand(0)->getType())) { [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
HashCountedSet.h | 197 template<typename Value, typename HashFunctions, typename Traits, typename VectorType> 198 inline void copyToVector(const HashCountedSet<Value, HashFunctions, Traits>& collection, VectorType& vector)
|
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 607 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements(); 615 if (isa<llvm::VectorType>(SrcTy) || 616 isa<llvm::VectorType>(DstTy)) 708 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType()); 728 llvm::VectorType *MTy = cast<llvm::VectorType>(Mask->getType()); 753 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), 779 llvm::VectorType *VTy = cast<llvm::VectorType>(V1->getType()) [all...] |
/external/clang/lib/AST/ |
TypePrinter.cpp | 356 void TypePrinter::printVector(const VectorType *T, std::string &S) { 358 case VectorType::AltiVecPixel: 361 case VectorType::AltiVecBool: 365 case VectorType::AltiVecVector: 369 case VectorType::NeonVector: 374 case VectorType::NeonPolyVector: 379 case VectorType::GenericVector: { 896 if (const VectorType *vector =T->getEquivalentType()->getAs<VectorType>()) { 915 const VectorType *vector = T->getEquivalentType()->getAs<VectorType>() [all...] |
Type.cpp | 150 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, 162 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, 533 AutoType *VisitVectorType(const VectorType *T) { 553 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)) 689 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)) 729 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType) [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.cpp | 741 ResultTy = VectorType::get(ResultTy, Record[0]); [all...] |
/external/mesa3d/src/glsl/ |
ir_to_llvm.cpp | 111 llvm::PointerType * const floatVecPtrType = llvm::PointerType::get(llvm::VectorType::get(bld.getFloatTy(),4), 0); 165 return llvm::VectorType::get(base_type, type->vector_elements); 292 llvm::PointerType * vecPtrTy = llvm::PointerType::get(llvm::VectorType::get(bld.getFloatTy(), 4), 0); 427 values.push_back(llvm_imm(((llvm::VectorType*)type)->getElementType(), v)); 428 for(unsigned i = 1; i < ((llvm::VectorType*)type)->getNumElements(); ++i) 455 llvm::Type * vectorType = tru->getType(); 456 llvm::Value * vector = llvm::Constant::getNullValue(vectorType); 627 llvm::VectorType * vectorType = llvm::VectorType::get(llvm_base_type(ir->operands[1]->type->base_type), ir->operands[1]->type->matrix_columns) [all...] |