/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)) 167 case MVT::v2i8: return VectorType::get(Type::getInt8Ty(Context), 2); 168 case MVT::v4i8: return VectorType::get(Type::getInt8Ty(Context), 4); 169 case MVT::v8i8: return VectorType::get(Type::getInt8Ty(Context), 8); 170 case MVT::v16i8: return VectorType::get(Type::getInt8Ty(Context), 16); 171 case MVT::v32i8: return VectorType::get(Type::getInt8Ty(Context), 32) [all...] |
Pass.cpp | 246 typedef AnalysisUsage::VectorType VectorType; 247 VectorType &CFGOnlyList; 248 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
|
Type.cpp | 44 if (VectorType *VTy = dyn_cast<VectorType>(this)) 62 return cast<VectorType>(this)->getElementType()->isIntegerTy(); 74 return cast<VectorType>(this)->getElementType()->isFloatingPointTy(); 92 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) { 93 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty)) 101 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty) [all...] |
Constants.cpp | 124 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 142 VectorType *VTy = cast<VectorType>(Ty); 287 VectorType *VT = cast<VectorType>(getType()); 381 VectorType *VTy = dyn_cast<VectorType>(Ty); 394 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...] |
LLVMContextImpl.h | 152 VectorType, ConstantVector> VectorConstantsTy; 190 DenseMap<std::pair<Type *, unsigned>, VectorType*> VectorTypes;
|
PassManager.cpp | 534 const AnalysisUsage::VectorType &IDs = AnUsage->getRequiredTransitiveSet(); 537 for (AnalysisUsage::VectorType::const_iterator I = IDs.begin(), 627 const AnalysisUsage::VectorType &RequiredSet = AnUsage->getRequiredSet(); 628 for (AnalysisUsage::VectorType::const_iterator I = RequiredSet.begin(), 809 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 830 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); 833 for (AnalysisUsage::VectorType::const_iterator I = PreservedSet.begin(), 849 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet(); [all...] |
ConstantFold.cpp | 45 VectorType *DstTy) { 135 if (VectorType *DestPTy = dyn_cast<VectorType>(DestTy)) { 136 if (VectorType *SrcTy = dyn_cast<VectorType>(V->getType())) { 553 cast<VectorType>(DestTy)->getNumElements() == 556 VectorType *DestVecTy = cast<VectorType>(DestTy); 703 VectorType *VTy = cast<VectorType>(V1->getType()) [all...] |
ConstantsContext.h | 96 : ConstantExpr(cast<VectorType>(C1->getType())->getElementType(), 137 : ConstantExpr(VectorType::get( 138 cast<VectorType>(C1->getType())->getElementType(), 139 cast<VectorType>(C3->getType())->getNumElements()),
|
/external/llvm/include/llvm/ |
DerivedTypes.h | 144 /// and VectorType. 357 /// VectorType - Class to represent vector types. 359 class VectorType : public SequentialType { 362 VectorType(const VectorType &); // Do not implement 363 const VectorType &operator=(const VectorType &); // Do not implement 364 VectorType(Type *ElType, unsigned NumEl); 366 /// VectorType::get - This static method is the primary way to construct an 367 /// VectorType [all...] |
PassAnalysisSupport.h | 38 typedef SmallVector<AnalysisID, 32> VectorType; 42 VectorType Required, RequiredTransitive, Preserved; 107 const VectorType &getRequiredSet() const { return Required; } 108 const VectorType &getRequiredTransitiveSet() const { 111 const VectorType &getPreservedSet() const { return Preserved; }
|
Constants.h | 36 class VectorType; 460 friend struct ConstantCreator<ConstantVector, VectorType, 464 ConstantVector(VectorType *T, ArrayRef<Constant *> Val); 472 /// getType - Specialize the getType() method to always return a VectorType, 475 inline VectorType *getType() const { 476 return reinterpret_cast<VectorType*>(Value::getType()); [all...] |
/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/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/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();
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 80 VectorType *PTy = cast<VectorType>(V->getType()); 110 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements(); 178 if (VectorType *VT = 179 dyn_cast<VectorType>(BCI->getOperand(0)->getType())) 218 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements(); 254 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 333 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 434 unsigned VWidth = cast<VectorType>(VecOp->getType())->getNumElements(); 458 unsigned VWidth = cast<VectorType>(SVI.getType())->getNumElements() [all...] |
InstCombineCasts.cpp | [all...] |
InstCombineSimplifyDemanded.cpp | 404 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) { 405 if (VectorType *SrcVTy = 406 dyn_cast<VectorType>(I->getOperand(0)->getType())) { [all...] |
/external/llvm/unittests/VMCore/ |
InstructionsTest.cpp | 116 Type* V8x8Ty = VectorType::get(Int8Ty, 8); 117 Type* V8x64Ty = VectorType::get(Int64Ty, 8);
|
/external/clang/lib/AST/ |
TypePrinter.cpp | 355 void TypePrinter::printVector(const VectorType *T, std::string &S) { 357 case VectorType::AltiVecPixel: 360 case VectorType::AltiVecBool: 364 case VectorType::AltiVecVector: 368 case VectorType::NeonVector: 373 case VectorType::NeonPolyVector: 378 case VectorType::GenericVector: { 877 if (const VectorType *vector =T->getEquivalentType()->getAs<VectorType>()) { 896 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, 539 AutoType *VisitVectorType(const VectorType *T) { 570 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)) 723 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)) 763 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType) [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 613 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements(); 623 if (isa<llvm::VectorType>(SrcTy) || 624 isa<llvm::VectorType>(DstTy)) 716 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType()); 736 llvm::VectorType *MTy = cast<llvm::VectorType>(Mask->getType()); 764 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), 790 llvm::VectorType *VTy = cast<llvm::VectorType>(V1->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/llvm/lib/Target/ |
TargetData.cpp | 306 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 307 Align *= cast<VectorType>(Ty)->getNumElements(); 430 return cast<VectorType>(Ty)->getBitWidth();
|
/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...] |