/external/eigen/unsupported/test/ |
D | special_functions.cpp | 27 template<typename ArrayType> void array_special_functions() in array_special_functions() 31 typedef typename ArrayType::Scalar Scalar; in array_special_functions() 42 ArrayType m1 = ArrayType::Random(rows,cols); in array_special_functions() 58 ArrayType m1 = ArrayType::Random(rows,cols); in array_special_functions() 59 ArrayType m2 = ArrayType::Random(rows,cols); in array_special_functions() 67 ArrayType a = m1.abs() + 2; in array_special_functions() 68 ArrayType x = m2.abs() + 2; in array_special_functions() 69 ArrayType zero = ArrayType::Zero(rows, cols); in array_special_functions() 70 ArrayType one = ArrayType::Constant(rows, cols, Scalar(1.0)); in array_special_functions() 71 ArrayType a_m1 = a - one; in array_special_functions() [all …]
|
/external/eigen/test/ |
D | array.cpp | 12 template<typename ArrayType> void array(const ArrayType& m) in array() 14 typedef typename ArrayType::Index Index; in array() 15 typedef typename ArrayType::Scalar Scalar; in array() 16 typedef typename ArrayType::RealScalar RealScalar; in array() 17 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; in array() 18 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; in array() 23 ArrayType m1 = ArrayType::Random(rows, cols), in array() 24 m2 = ArrayType::Random(rows, cols), in array() 26 ArrayType m4 = m1; // copy constructor in array() 37 VERIFY_IS_APPROX(m1 + s1, ArrayType::Constant(rows,cols,s1) + m1); in array() [all …]
|
D | vectorwiseop.cpp | 16 template<typename ArrayType> void vectorwiseop_array(const ArrayType& m) in vectorwiseop_array() 18 typedef typename ArrayType::Index Index; in vectorwiseop_array() 19 typedef typename ArrayType::Scalar Scalar; in vectorwiseop_array() 20 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; in vectorwiseop_array() 21 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; in vectorwiseop_array() 28 ArrayType m1 = ArrayType::Random(rows, cols), in vectorwiseop_array() 111 if(ArrayType::RowsAtCompileTime>2 || ArrayType::RowsAtCompileTime==Dynamic) in vectorwiseop_array()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | array_common_test.h | 20 template <template <typename...> class ArrayType> 25 ArrayType<char> array0; in NullAndEmpty() 32 ArrayType<char> array1(nullptr); in NullAndEmpty() 42 ArrayType<char> array(8); in Basic() 52 ArrayType<bool> array(64); in Bool() 64 ArrayType<ScopedMessagePipeHandle> handles(2); in Handle() 71 ArrayType<ScopedMessagePipeHandle> handles2 = std::move(handles); in Handle() 87 ArrayType<ScopedMessagePipeHandle> handles(2); in HandlesAreClosed() 100 ArrayType<int32_t> array(3); in Clone() 104 ArrayType<int32_t> clone_array = array.Clone(); in Clone() [all …]
|
D | map_common_test.h | 50 using ArrayType = Array<T>; 57 using ArrayType = WTFArray<T>; 66 using ArrayType = typename TypeTraits<MapType>::template ArrayType<T>; 120 MapType<StringType, ArrayType<int32_t>> map; 124 ArrayType<int32_t> array(1); 139 MapType<StringType, ArrayType<StringType>> m; 141 ArrayType<StringType> s(1); 146 MapType<StringType, ArrayType<StringType>> m2 = m.Clone(); 159 using UserType = ArrayType<MapType<int32_t, int8_t>>; 189 using UserType = ArrayType<MapType<StringType, ArrayType<bool>>>; [all …]
|
/external/eigen/Eigen/src/Core/ |
D | NumTraits.h | 196 typedef Array<Scalar, Rows, Cols, Options, MaxRows, MaxCols> ArrayType; 201 typedef ArrayType & Nested; 209 …ReadCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr… 210 …AddCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr… 211 …MulCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * NumTr…
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 148 } else if (ArrayType *DATy = dyn_cast<ArrayType>(DstTy)) { in areTypesIsomorphic() 149 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic() 152 if (DVTy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic() 257 return *Entry = ArrayType::get(ElementTypes[0], in getImpl() 258 cast<ArrayType>(Ty)->getNumElements()); in getImpl() 532 ArrayType *DAT = cast<ArrayType>(DGV->getType()->getElementType()); in computeTypeMapping() 533 ArrayType *SAT = cast<ArrayType>(I->getType()->getElementType()); in computeTypeMapping() 559 ArrayType *DstTy = cast<ArrayType>(DstGV->getType()->getElementType()); in linkAppendingVarProto() 560 ArrayType *SrcTy = in linkAppendingVarProto() 561 cast<ArrayType>(TypeMap.get(SrcGV->getType()->getElementType())); in linkAppendingVarProto() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGVTT.cpp | 48 llvm::ArrayType *ArrayType = in EmitVTTDefinition() local 49 llvm::ArrayType::get(Int8PtrTy, Builder.getVTTComponents().size()); in EmitVTTDefinition() 90 llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents); in EmitVTTDefinition() 118 llvm::ArrayType *ArrayType = in GetAddrOfVTT() local 119 llvm::ArrayType::get(CGM.Int8PtrTy, Builder.getVTTComponents().size()); in GetAddrOfVTT() 122 CGM.CreateOrReplaceCXXRuntimeVariable(Name, ArrayType, in GetAddrOfVTT()
|
D | CGExprConstant.cpp | 238 assert(isa<llvm::ArrayType>(LastElt->getType()) && in AppendBitField() 240 llvm::ArrayType *AT = cast<llvm::ArrayType>(LastElt->getType()); in AppendBitField() 310 Ty = llvm::ArrayType::get(Ty, PadSize.getQuantity()); in AppendPadding() 346 Ty = llvm::ArrayType::get(Ty, NumChars.getQuantity()); in ConvertStructToPacked() 672 Ty = llvm::ArrayType::get(Ty, NumPadBytes); in VisitCastExpr() 781 llvm::ArrayType *AType = in EmitArrayInitialization() 782 cast<llvm::ArrayType>(ConvertType(ILE->getType())); in EmitArrayInitialization() 859 llvm::ArrayType *AType = cast<llvm::ArrayType>(ConvertType(ExprType)); in EmitDesignatedInitUpdater() 1279 llvm::ArrayType::get(Int8Ty, (OuterSize - InnerSize) / 8)) in EmitConstantValue() 1295 if (isa<llvm::ArrayType>(DestTy)) { in EmitConstantValue() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SanitizerStats.cpp | 26 StatTy = ArrayType::get(Type::getInt8PtrTy(M->getContext()), 2); in SanitizerStatReport() 33 ArrayType *SanitizerStatReport::makeModuleStatsArrayTy() { in makeModuleStatsArrayTy() 34 return ArrayType::get(StatTy, Inits.size()); in makeModuleStatsArrayTy() 48 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
|
D | ModuleUtils.cpp | 33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); in appendToGlobalArray() 75 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | DerivedTypes.h | 332 class ArrayType : public SequentialType { 335 ArrayType(const ArrayType &); // Do not implement 336 const ArrayType &operator=(const ArrayType &); // Do not implement 337 ArrayType(Type *ElType, uint64_t NumEl); 342 static ArrayType *get(Type *ElementType, uint64_t NumElements); 351 static inline bool classof(const ArrayType *) { return true; } in classof() argument
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 338 class ArrayType : public SequentialType { 341 ArrayType(const ArrayType &) = delete; 342 const ArrayType &operator=(const ArrayType &) = delete; 343 ArrayType(Type *ElType, uint64_t NumEl); 347 static ArrayType *get(Type *ElementType, uint64_t NumElements); 361 return cast<ArrayType>(this)->getNumElements(); in getArrayNumElements()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | ByteStream.h | 27 ArrayRef<uint8_t>>::type ArrayType; typedef 31 explicit ByteStream(ArrayType Data) : Data(Data) {} in ByteStream() 49 ArrayType Data;
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 64 static ArrayType *createLoweredType(Type *OriginalType) { in createLoweredType() 65 return ArrayType::get(OriginalType, MaxThreads); in createLoweredType() 69 createLoweredInitializer(ArrayType *NewType, Constant *OriginalInitializer) { in createLoweredInitializer() 176 ArrayType *AT = dyn_cast<ArrayType>(Ty); in isZeroLengthArray() 191 ArrayType *NewType = createLoweredType(GV->getValueType()); in lowerGlobal()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Type.cpp | 114 const ArrayType *ATy = dyn_cast<ArrayType>(this); in isEmptyTy() 175 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() 618 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) in ArrayType() function in ArrayType 624 ArrayType *ArrayType::get(Type *elementType, uint64_t NumElements) { in get() 629 ArrayType *&Entry = in get() 633 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements); in get() 637 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SanitizerStats.h | 46 ArrayType *StatTy; 50 ArrayType *makeModuleStatsArrayTy();
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 78 ArrayType *ATy = cast<ArrayType>(C->getType()); in IsNullTerminatedString() 173 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { in getKindForGlobal()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 348 ArrayType *CounterTy = ArrayType::get(Type::getInt64Ty(Ctx), NumCounters); in getOrCreateRegionCounters() 370 ArrayType *ValuesTy = ArrayType::get(Type::getInt64Ty(Ctx), NS); in getOrCreateRegionCounters() 387 auto *Int16ArrayTy = ArrayType::get(Int16Ty, IPVK_Last + 1); in getOrCreateRegionCounters() 468 ArrayType *VNodesTy = ArrayType::get(VNodeTy, NumCounters); in emitVNodes() 595 ArrayType *ATy = ArrayType::get(i8PTy, MergedVars.size()); in emitUses()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 172 } else if (ArrayType *DATy = dyn_cast<ArrayType>(DstTy)) { in areTypesIsomorphic() 173 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) in areTypesIsomorphic() 293 return *Entry = ArrayType::get(ElementTypes[0], in get() 294 cast<ArrayType>(Ty)->getNumElements()); in get() 675 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping() 676 ArrayType *SAT = cast<ArrayType>(SGV.getValueType()); in computeTypeMapping() 737 unsigned NumElements = cast<ArrayType>(C->getType())->getNumElements(); in getArrayElements() 747 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto() 773 ArrayType *DstTy = cast<ArrayType>(DstGV->getValueType()); in linkAppendingVarProto() 821 ArrayType *NewType = ArrayType::get(EltTy, NewSize); in linkAppendingVarProto()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 92 if (auto *ATy = dyn_cast<ArrayType>(this)) { in isEmptyTy() 141 if (auto *ATy = dyn_cast<ArrayType>(this)) in isSizedDerivedType() 603 ArrayType::ArrayType(Type *ElType, uint64_t NumEl) in ArrayType() function in ArrayType 608 ArrayType *ArrayType::get(Type *ElementType, uint64_t NumElements) { in get() 612 ArrayType *&Entry = in get() 616 Entry = new (pImpl->TypeAllocator) ArrayType(ElementType, NumElements); in get() 620 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | TypeBuilderTest.cpp | 77 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), in TEST() 79 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0), in TEST() 84 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), in TEST() 86 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0), in TEST() 91 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 7), in TEST() 93 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(getGlobalContext()), 0), in TEST()
|
/external/llvm/unittests/IR/ |
D | TypeBuilderTest.cpp | 103 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 7), in TEST() 105 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 0), in TEST() 110 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 7), in TEST() 112 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 0), in TEST() 117 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 7), in TEST() 119 EXPECT_EQ(ArrayType::get(Type::getInt8Ty(Context), 0), in TEST()
|
/external/llvm/tools/llvm-pdbdump/ |
D | VariableDumper.cpp | 131 if (auto *ArrayType = dyn_cast<PDBSymbolTypeArray>(&Type)) { in dumpSymbolTypeAndName() local 134 std::unique_ptr<PDBSymbol> ElementType = ArrayType->getElementType(); in dumpSymbolTypeAndName() 141 IndexStream << "[" << ArrayType->getCount() << "]"; in dumpSymbolTypeAndName()
|
/external/clang/include/clang/AST/ |
D | TypeNodes.def | 71 TYPE(ConstantArray, ArrayType) 72 TYPE(IncompleteArray, ArrayType) 73 TYPE(VariableArray, ArrayType) 74 DEPENDENT_TYPE(DependentSizedArray, ArrayType)
|