HomeSort by relevance Sort by last modified time
    Searched refs:VectorType (Results 1 - 25 of 101) sorted by null

1 2 3 4 5

  /external/llvm/lib/VMCore/
ValueTypes.cpp 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
80 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType());
85 return cast<VectorType>(LLVMTy)->getNumElements();
92 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
174 case MVT::v2i8: return VectorType::get(Type::getInt8Ty(Context), 2);
175 case MVT::v4i8: return VectorType::get(Type::getInt8Ty(Context), 4);
176 case MVT::v8i8: return VectorType::get(Type::getInt8Ty(Context), 8);
177 case MVT::v16i8: return VectorType::get(Type::getInt8Ty(Context), 16);
178 case MVT::v32i8: return VectorType::get(Type::getInt8Ty(Context), 32)
    [all...]
Pass.cpp 250 typedef AnalysisUsage::VectorType VectorType;
251 VectorType &CFGOnlyList;
252 GetCFGOnlyPasses(VectorType &L) : CFGOnlyList(L) {}
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...]
Instructions.cpp 65 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) {
69 VectorType *ET = dyn_cast<VectorType>(Op1->getType());
    [all...]
Verifier.cpp     [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...]
AutoUpgrade.cpp 35 if (Arg0Type != VectorType::get(Type::getFloatTy(F->getContext()), 4))
348 if (Arg0->getType() != VectorType::get(Type::getFloatTy(C), 4))
356 VectorType::get(Type::getInt64Ty(C), 2),
360 VectorType::get(Type::getInt64Ty(C), 2),
PassManager.cpp 496 const AnalysisUsage::VectorType &IDs = AnUsage->getRequiredTransitiveSet();
499 for (AnalysisUsage::VectorType::const_iterator I = IDs.begin(),
589 const AnalysisUsage::VectorType &RequiredSet = AnUsage->getRequiredSet();
590 for (AnalysisUsage::VectorType::const_iterator I = RequiredSet.begin(),
602 for (AnalysisUsage::VectorType::const_iterator I2 = RequiredSet.begin(),
816 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet();
837 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet();
840 for (AnalysisUsage::VectorType::const_iterator I = PreservedSet.begin(),
856 const AnalysisUsage::VectorType &PreservedSet = AnUsage->getPreservedSet();
    [all...]
Function.cpp 553 return VectorType::get(DecodeFixedType(Infos, Tys, Context),D.Vector_Width);
568 return VectorType::getExtendedElementVectorType(cast<VectorType>(
572 return VectorType::getTruncatedElementVectorType(cast<VectorType>(
  /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; }
Constants.h 36 class VectorType;
447 friend struct ConstantArrayCreator<ConstantVector, VectorType>;
450 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
462 /// getType - Specialize the getType() method to always return a VectorType,
465 inline VectorType *getType() const {
466 return reinterpret_cast<VectorType*>(Value::getType());
743 /// getType - Specialize the getType() method to always return a VectorType,
746 inline VectorType *getType() const {
747 return reinterpret_cast<VectorType*>(Value::getType());
    [all...]
  /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/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();
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp     [all...]
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...]
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/llvm/tools/llvm-stress/
llvm-stress.cpp 176 VectorType *VTp = cast<VectorType>(Tp);
238 return VectorType::get(Ty, width);
421 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
434 unsigned Width = cast<VectorType>(Val0->getType())->getNumElements();
464 Ran->Rand() % cast<VectorType>(Val0->getType())->getNumElements()),
481 VectorType *VecTy = cast<VectorType>(VTy);
570 unsigned NumElem = cast<VectorType>(Val0->getType())->getNumElements();
571 CondTy = VectorType::get(CondTy, NumElem)
    [all...]
  /external/llvm/lib/CodeGen/
Analysis.cpp 233 if (isa<VectorType>(Op->getType()) && isa<VectorType>(I->getType()) &&
240 if (isa<IntToPtrInst>(I) && !isa<VectorType>(I->getType())) {
249 if (isa<PtrToIntInst>(I) && !isa<VectorType>(I->getType())) {
  /external/clang/lib/CodeGen/
CGExprScalar.cpp 605 unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
613 if (isa<llvm::VectorType>(SrcTy) ||
614 isa<llvm::VectorType>(DstTy))
706 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType());
726 llvm::VectorType *MTy = cast<llvm::VectorType>(Mask->getType());
751 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(),
777 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/clang/lib/AST/
Type.cpp 150 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType,
162 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements,
561 AutoType *VisitVectorType(const VectorType *T) {
581 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
717 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
757 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType)
    [all...]
TypePrinter.cpp 506 void TypePrinter::printVectorBefore(const VectorType *T, raw_ostream &OS) {
508 case VectorType::AltiVecPixel:
511 case VectorType::AltiVecBool:
515 case VectorType::AltiVecVector:
519 case VectorType::NeonVector:
524 case VectorType::NeonPolyVector:
529 case VectorType::GenericVector: {
542 void TypePrinter::printVectorAfter(const VectorType *T, raw_ostream &OS) {
    [all...]
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 291 VectorType *VectorTy;
315 bool MergeInVectorType(VectorType *VInTy, uint64_t Offset);
408 if (VectorType *VInTy = dyn_cast<VectorType>(In)) {
428 VectorTy = VectorType::get(In, AllocaSize/EltSize);
441 bool ConvertToScalarInfo::MergeInVectorType(VectorType *VInTy,
513 if (!isa<VectorType>(PtrTy->getElementType()))
772 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) {
    [all...]

Completed in 565 milliseconds

1 2 3 4 5