/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | Tensor.h | 83 static const int NumIndices = NumIndices_; variable 92 … static const bool is_array = internal::is_base_of<array<Index, NumIndices>, CustomIndices>::value; 100 …N_STRONG_INLINE Index rank() const { return NumIndices; } in rank() 118 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE) in coeff() 119 return coeff(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}}); in coeff() 124 …EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices)… in coeff() 137 return coeff(internal::customIndices2Array<Index,NumIndices>(indices)); in coeff() 143 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE); in coeff() 158 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE) in coeffRef() 159 return coeffRef(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}}); in coeffRef() [all …]
|
D | TensorMap.h | 49 static const Index NumIndices = PlainObjectType::NumIndices; variable 62 … EIGEN_STATIC_ASSERT((0 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 69 …EIGEN_STATIC_ASSERT((sizeof...(otherDimensions) + 1 == NumIndices || NumIndices == Dynamic), YOU_M… in TensorMap() 75 … EIGEN_STATIC_ASSERT((1 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 79 EIGEN_STATIC_ASSERT(2 == NumIndices || NumIndices == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 83 EIGEN_STATIC_ASSERT(3 == NumIndices || NumIndices == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 87 EIGEN_STATIC_ASSERT(4 == NumIndices || NumIndices == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 91 EIGEN_STATIC_ASSERT(5 == NumIndices || NumIndices == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE) in TensorMap() 95 …C EIGEN_STRONG_INLINE TensorMap(PointerArgType dataPtr, const array<Index, NumIndices>& dimensions) in TensorMap() 122 EIGEN_STRONG_INLINE const Scalar& operator()(const array<Index, NumIndices>& indices) const in operator() [all …]
|
D | TensorDimensions.h | 40 template<typename Index, std::size_t NumIndices, std::size_t n, bool RowMajor> 44 static inline Index run(array<Index, NumIndices> const& indices, in run() 47 return array_get<RowMajor ? n - 1 : (NumIndices - n)>(indices) + in run() 48 dget<RowMajor ? n - 1 : (NumIndices - n), Dimensions>::value * in run() 49 …fixed_size_tensor_index_linearization_helper<Index, NumIndices, n - 1, RowMajor>::run(indices, dim… in run() 53 template<typename Index, std::size_t NumIndices, bool RowMajor> 54 struct fixed_size_tensor_index_linearization_helper<Index, NumIndices, 0, RowMajor> 57 static inline Index run(array<Index, NumIndices> const&, const Dimensions&) 234 template<typename Index, std::size_t NumIndices, std::size_t n, bool RowMajor> 238 Index run(array<Index, NumIndices> const& indices, array<Index, NumIndices> const& dimensions) [all …]
|
D | TensorFixedSize.h | 49 static const std::size_t NumIndices = Dimensions::count; variable 55 … EIGEN_STRONG_INLINE Index rank() const { return NumIndices; } in rank() 73 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE) in coeff() 74 return coeff(array<Index, NumIndices>{{firstIndex, otherIndices...}}); in coeff() 79 EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const in coeff() 95 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE); in coeff() 105 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE) in coeffRef() 106 return coeffRef(array<Index, NumIndices>{{firstIndex, otherIndices...}}); in coeffRef() 111 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices) in coeffRef() 127 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE); in coeffRef() [all …]
|
D | TensorRef.h | 133 static const Index NumIndices = PlainObjectType::NumIndices; variable 291 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC 292 EIGEN_STRONG_INLINE const Scalar coeff(const array<Index, NumIndices>& indices) const in coeff() 298 for (size_t i = 1; i < NumIndices; ++i) { in coeff() 302 index += indices[NumIndices-1]; in coeff() 303 for (int i = NumIndices-2; i >= 0; --i) { in coeff() 309 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC 310 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices) in coeffRef() 316 for (size_t i = 1; i < NumIndices; ++i) { in coeffRef() 320 index += indices[NumIndices-1]; in coeffRef() [all …]
|
D | TensorMeta.h | 183 template<typename Index, std::size_t NumIndices, typename IndexType> 185 array<Index, NumIndices> customIndices2Array(IndexType& idx) { 186 return customIndices2Array(idx, typename gen_numeric_list<Index, NumIndices>::type{});
|
D | TensorSyclExprConstructor.h | 214 …static const size_t NumIndices= ValueCondition< TensorReductionOp<OP, Dim, DevExpr, MakeGlobalPoin… 216 NumIndices, 0, typename TensorReductionOp<OP, Dim, DevExpr>::Index>, 0, MakeGlobalPointer> Type;\
|
D | TensorBase.h | 819 template <typename Scalar, int NumIndices, int Options, typename IndexType> friend class Tensor; 835 template <typename Scalar, int NumIndices, int Options, typename IndexType> friend class Tensor;
|
D | README.md | 739 const Scalar& operator()(const array<Index, NumIndices>& indices) 741 Scalar& operator()(const array<Index, NumIndices>& indices)
|
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/ |
D | Symmetry.h | 28 template<std::size_t NumIndices, typename... Sym> struct tensor_symmetry_pre_anal… 29 template<std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup; 30 template<bool instantiate, std::size_t NumIndices, typename... Sym> struct tensor_static_symgroup_i… 139 constexpr static std::size_t NumIndices = internal::tensor_symmetry_num_indices<Gen...>::value; 140 typedef typename internal::tensor_symmetry_pre_analysis<NumIndices, Gen...>::root_type Base; 226 template<std::size_t NumIndices> 227 struct tensor_symmetry_pre_analysis<NumIndices> 232 template<std::size_t NumIndices, typename Gen_, typename... Gens_> 233 struct tensor_symmetry_pre_analysis<NumIndices, Gen_, Gens_...> 237 …typedef tensor_static_symgroup_if<(sizeof...(Gens_) + 1 <= max_static_generators), NumIndices, Gen… [all …]
|
D | StaticSymmetry.h | 114 template<std::size_t NumIndices, typename... Gen> 142 …Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Arg… 143 static inline RV run(const std::array<Index, NumIndices>& idx, RV initial, Args&&... args) 145 …static_assert(NumIndices >= SGNumIndices, "Can only apply symmetry group to objects that have at l… 146 …typedef typename internal::gen_numeric_list<int, NumIndices - SGNumIndices, SGNumIndices>::type re… 163 …Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Arg… 164 static inline RV run(const std::array<Index, NumIndices>&, RV initial, Args&&...) 183 constexpr static std::size_t NumIndices = internal::tensor_symmetry_num_indices<Gen...>::value; 187 typename internal::tensor_static_symgroup_identity_ctor<NumIndices>::type, 188 …internal::type_list<typename internal::tensor_static_symgroup_element_ctor<Gen, NumIndices>::type.… [all …]
|
D | DynamicSymmetry.h | 57 …static_assert(sizeof...(otherIndices) + 1 == Tensor_::NumIndices, "Number of indices used to acces… in operator() 58 …return operator()(tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices>{{firstIndex, ot… in operator() 62 …erator()(Tensor_& tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices> const& indices)… in operator()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 446 unsigned NumIndices = GEPI.getNumIndices(); in visitGetElementPtrInst() local 451 Ops.resize(NumIndices); in visitGetElementPtrInst() 452 for (unsigned I = 0; I < NumIndices; ++I) in visitGetElementPtrInst() 459 Indices.resize(NumIndices); in visitGetElementPtrInst() 460 for (unsigned J = 0; J < NumIndices; ++J) in visitGetElementPtrInst()
|
/external/llvm/include/llvm/MC/ |
D | MCRegisterInfo.h | 255 unsigned NumIndices, in InitMCRegisterInfo() argument 271 NumSubRegIndices = NumIndices; in InitMCRegisterInfo()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Core.cpp | 864 LLVMValueRef *ConstantIndices, unsigned NumIndices) { in LLVMConstGEP() argument 865 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstGEP() 866 NumIndices); in LLVMConstGEP() 873 unsigned NumIndices) { in LLVMConstInBoundsGEP() argument 875 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstInBoundsGEP() 876 NumIndices); in LLVMConstInBoundsGEP() 2030 LLVMValueRef *Indices, unsigned NumIndices, in LLVMBuildGEP() argument 2032 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildGEP() 2037 LLVMValueRef *Indices, unsigned NumIndices, in LLVMBuildInBoundsGEP() argument 2039 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildInBoundsGEP()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1748 unsigned NumIndices) in CXXCtorInitializer() argument 1751 IsWritten(false), SourceOrderOrNumArrayIndices(NumIndices) in CXXCtorInitializer() 1753 std::uninitialized_copy(Indices, Indices + NumIndices, in CXXCtorInitializer() 1763 unsigned NumIndices) { in Create() argument 1764 void *Mem = Context.Allocate(totalSizeToAlloc<VarDecl *>(NumIndices), in Create() 1767 Indices, NumIndices); in Create()
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | Core.h | 645 LLVMValueRef *ConstantIndices, unsigned NumIndices); 648 unsigned NumIndices); 956 LLVMValueRef *Indices, unsigned NumIndices, 959 LLVMValueRef *Indices, unsigned NumIndices,
|
/external/llvm/lib/IR/ |
D | Core.cpp | 1256 LLVMValueRef *ConstantIndices, unsigned NumIndices) { in LLVMConstGEP() argument 1257 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstGEP() 1258 NumIndices); in LLVMConstGEP() 1265 unsigned NumIndices) { in LLVMConstInBoundsGEP() argument 1267 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), in LLVMConstInBoundsGEP() 1268 NumIndices); in LLVMConstInBoundsGEP() 2778 LLVMValueRef *Indices, unsigned NumIndices, in LLVMBuildGEP() argument 2780 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildGEP() 2785 LLVMValueRef *Indices, unsigned NumIndices, in LLVMBuildInBoundsGEP() argument 2787 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); in LLVMBuildInBoundsGEP()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1772 LLVMValueRef *ConstantIndices, unsigned NumIndices); 1775 unsigned NumIndices); 3006 LLVMValueRef *Indices, unsigned NumIndices, 3009 LLVMValueRef *Indices, unsigned NumIndices,
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 1968 SourceLocation R, VarDecl **Indices, unsigned NumIndices); 1999 VarDecl **Indices, unsigned NumIndices);
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 7238 uint32_t NumIndices = readNext<uint32_t>(Pos); in printMachOUnwindInfoSection() local 7240 << format("0x%" PRIx32, NumIndices) << '\n'; in printMachOUnwindInfoSection() 7292 outs() << " Top level indices: (count = " << NumIndices << ")\n"; in printMachOUnwindInfoSection() 7294 for (unsigned i = 0; i < NumIndices; ++i) { in printMachOUnwindInfoSection()
|