Searched refs:NumIndices (Results 1 - 20 of 20) sorted by relevance

/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
H A DSymmetry.h28 template<std::size_t NumIndices, typename... Sym> struct tensor_symmetry_pre_analysis;
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_if;
139 constexpr static std::size_t NumIndices = internal::tensor_symmetry_num_indices<Gen...>::value; member in class:Eigen::SGroup
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
262 constexpr static std::size_t NumIndices = Tensor_::NumIndices; member in struct:Eigen::internal::tensor_symmetry_assign_value
280 constexpr static std::size_t NumIndices = Tensor_::NumIndices; member in struct:Eigen::internal::tensor_symmetry_calculate_flags
302 constexpr static std::size_t NumIndices = Tensor_::NumIndices; member in class:Eigen::internal::tensor_symmetry_value_setter
[all...]
H A DStaticSymmetry.h114 template<std::size_t NumIndices, typename... Gen>
142 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Args>
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 least the required amount of indices.");
146 typedef typename internal::gen_numeric_list<int, NumIndices - SGNumIndices, SGNumIndices>::type remaining_indices;
163 template<typename Op, typename RV, std::size_t SGNumIndices, typename Index, std::size_t NumIndices, typename... Args>
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; member in class:Eigen::StaticSGroup
187 typename internal::tensor_static_symgroup_identity_ctor<NumIndices>::type,
188 internal::type_list<typename internal::tensor_static_symgroup_element_ctor<Gen, NumIndices>
[all...]
H A DDynamicSymmetry.h57 static_assert(sizeof...(otherIndices) + 1 == Tensor_::NumIndices, "Number of indices used to access a tensor coefficient must be equal to the rank of the tensor.");
58 return operator()(tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices>{{firstIndex, otherIndices...}});
62 inline internal::tensor_symmetry_value_setter<Tensor_, DynamicSGroup> operator()(Tensor_& tensor, std::array<typename Tensor_::Index, Tensor_::NumIndices> const& indices) const
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensor.h83 static const int NumIndices = NumIndices_; member in class:Eigen::Tensor
92 static const bool is_array = internal::is_base_of<array<Index, NumIndices>, CustomIndices>::value;
100 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank() const { return NumIndices; }
118 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
119 return coeff(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
124 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const
137 return coeff(internal::customIndices2Array<Index,NumIndices>(indices));
143 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE);
158 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 2 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
159 return coeffRef(array<Index, NumIndices>{{firstInde
[all...]
H A DTensorMap.h49 static const Index NumIndices = PlainObjectType::NumIndices; member in class:Eigen::TensorMap
62 EIGEN_STATIC_ASSERT((0 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
69 EIGEN_STATIC_ASSERT((sizeof...(otherDimensions) + 1 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
75 EIGEN_STATIC_ASSERT((1 == NumIndices || NumIndices == Dynamic), YOU_MADE_A_PROGRAMMING_MISTAKE)
79 EIGEN_STATIC_ASSERT(2 == NumIndices || NumIndices
[all...]
H A DTensorFixedSize.h49 static const std::size_t NumIndices = Dimensions::count; member in class:Eigen::TensorFixedSize
55 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index rank() const { return NumIndices; }
73 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
74 return coeff(array<Index, NumIndices>{{firstIndex, otherIndices...}});
79 EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const
95 EIGEN_STATIC_ASSERT(NumIndices == 0, YOU_MADE_A_PROGRAMMING_MISTAKE);
105 EIGEN_STATIC_ASSERT(sizeof...(otherIndices) + 1 == NumIndices, YOU_MADE_A_PROGRAMMING_MISTAKE)
106 return coeffRef(array<Index, NumIndices>{{firstIndex, otherIndices...}});
111 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices)
127 EIGEN_STATIC_ASSERT(NumIndices
[all...]
H A DTensorDimensions.h40 template<typename Index, std::size_t NumIndices, std::size_t n, bool RowMajor>
44 static inline Index run(array<Index, NumIndices> const& indices,
47 return array_get<RowMajor ? n - 1 : (NumIndices - n)>(indices) +
48 dget<RowMajor ? n - 1 : (NumIndices - n), Dimensions>::value *
49 fixed_size_tensor_index_linearization_helper<Index, NumIndices, n - 1, RowMajor>::run(indices, dimensions);
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> cons
[all...]
H A DTensorRef.h133 static const Index NumIndices = PlainObjectType::NumIndices; member in class:Eigen::TensorRef
291 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC
292 EIGEN_STRONG_INLINE const Scalar coeff(const array<Index, NumIndices>& indices) const
298 for (size_t i = 1; i < NumIndices; ++i) {
302 index += indices[NumIndices-1];
303 for (int i = NumIndices-2; i >= 0; --i) {
309 template <std::size_t NumIndices> EIGEN_DEVICE_FUNC
310 EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices)
316 for (size_t i = 1; i < NumIndices;
[all...]
H A DTensorMeta.h183 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{});
H A DTensorSyclExprConstructor.h214 static const size_t NumIndices= ValueCondition< TensorReductionOp<OP, Dim, DevExpr, MakeGlobalPointer>::NumDimensions==0, 1, TensorReductionOp<OP, Dim, DevExpr, MakeGlobalPointer>::NumDimensions >::Res;\
216 NumIndices, 0, typename TensorReductionOp<OP, Dim, DevExpr>::Index>, 0, MakeGlobalPointer> Type;\
H A DTensorBase.h819 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;
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp446 unsigned NumIndices = GEPI.getNumIndices(); local
451 Ops.resize(NumIndices);
452 for (unsigned I = 0; I < NumIndices; ++I)
459 Indices.resize(NumIndices);
460 for (unsigned J = 0; J < NumIndices; ++J)
/external/llvm/include/llvm/MC/
H A DMCRegisterInfo.h255 unsigned NumIndices,
271 NumSubRegIndices = NumIndices;
245 InitMCRegisterInfo(const MCRegisterDesc *D, unsigned NR, unsigned RA, unsigned PC, const MCRegisterClass *C, unsigned NC, const MCPhysReg (*RURoots)[2], unsigned NRU, const MCPhysReg *DL, const unsigned *RUMS, const char *Strings, const char *ClassStrings, const uint16_t *SubIndices, unsigned NumIndices, const SubRegCoveredBits *SubIdxRanges, const uint16_t *RET) argument
/external/swiftshader/third_party/LLVM/include/llvm-c/
H A DCore.h645 LLVMValueRef *ConstantIndices, unsigned NumIndices);
648 unsigned NumIndices);
956 LLVMValueRef *Indices, unsigned NumIndices,
959 LLVMValueRef *Indices, unsigned NumIndices,
/external/llvm/lib/IR/
H A DCore.cpp1256 LLVMValueRef *ConstantIndices, unsigned NumIndices) {
1257 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
1258 NumIndices); local
1265 unsigned NumIndices) {
1267 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
1268 NumIndices); local
2778 LLVMValueRef *Indices, unsigned NumIndices,
2780 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); local
2785 LLVMValueRef *Indices, unsigned NumIndices,
2787 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); local
1255 LLVMConstGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) argument
1263 LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) argument
2777 LLVMBuildGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) argument
2784 LLVMBuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DCore.cpp864 LLVMValueRef *ConstantIndices, unsigned NumIndices) {
865 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
866 NumIndices); local
873 unsigned NumIndices) {
875 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices),
876 NumIndices); local
2030 LLVMValueRef *Indices, unsigned NumIndices,
2032 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); local
2037 LLVMValueRef *Indices, unsigned NumIndices,
2039 ArrayRef<Value *> IdxList(unwrap(Indices), NumIndices); local
863 LLVMConstGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) argument
871 LLVMConstInBoundsGEP(LLVMValueRef ConstantVal, LLVMValueRef *ConstantIndices, unsigned NumIndices) argument
2029 LLVMBuildGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) argument
2036 LLVMBuildInBoundsGEP(LLVMBuilderRef B, LLVMValueRef Pointer, LLVMValueRef *Indices, unsigned NumIndices, const char *Name) argument
[all...]
/external/clang/lib/AST/
H A DDeclCXX.cpp1748 unsigned NumIndices)
1751 IsWritten(false), SourceOrderOrNumArrayIndices(NumIndices)
1753 std::uninitialized_copy(Indices, Indices + NumIndices,
1763 unsigned NumIndices) {
1764 void *Mem = Context.Allocate(totalSizeToAlloc<VarDecl *>(NumIndices),
1767 Indices, NumIndices);
/external/llvm/include/llvm-c/
H A DCore.h1772 LLVMValueRef *ConstantIndices, unsigned NumIndices);
1775 unsigned NumIndices);
3006 LLVMValueRef *Indices, unsigned NumIndices,
3009 LLVMValueRef *Indices, unsigned NumIndices,
/external/clang/include/clang/AST/
H A DDeclCXX.h1968 SourceLocation R, VarDecl **Indices, unsigned NumIndices);
1999 VarDecl **Indices, unsigned NumIndices);
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp7238 uint32_t NumIndices = readNext<uint32_t>(Pos); local
7240 << format("0x%" PRIx32, NumIndices) << '\n';
7292 outs() << " Top level indices: (count = " << NumIndices << ")\n";
7294 for (unsigned i = 0; i < NumIndices; ++i) {

Completed in 431 milliseconds