/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/ |
Symmetry.h | 28 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; 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_, Gens_...> helper [all...] |
StaticSymmetry.h | 114 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; 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...] |
DynamicSymmetry.h | 57 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/ |
Tensor.h | 83 static const int NumIndices = NumIndices_; 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>{{firstIndex, secondIndex, otherIndices...}}) [all...] |
TensorMap.h | 49 static const Index NumIndices = PlainObjectType::NumIndices; 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 == Dynamic, YOU_MADE_A_PROGRAMMING_MISTAKE [all...] |
TensorFixedSize.h | 49 static const std::size_t NumIndices = Dimensions::count; 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 == 0, YOU_MADE_A_PROGRAMMING_MISTAKE) [all...] |
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, 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> const& indices, array<Index, NumIndices> const& dimensions [all...] |
TensorRef.h | 133 static const Index NumIndices = PlainObjectType::NumIndices; 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; ++i) [all...] |
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{});
|
TensorSyclExprConstructor.h | 214 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;\
|
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 255 unsigned NumIndices, 271 NumSubRegIndices = NumIndices;
|
/external/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 446 unsigned NumIndices = GEPI.getNumIndices(); 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/swiftshader/third_party/LLVM/include/llvm-c/ |
Core.h | 645 LLVMValueRef *ConstantIndices, unsigned NumIndices); 648 unsigned NumIndices); [all...] |
/external/llvm/lib/IR/ |
Core.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Core.cpp | 864 LLVMValueRef *ConstantIndices, unsigned NumIndices) { 865 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 866 NumIndices); 873 unsigned NumIndices) { 875 ArrayRef<Constant *> IdxList(unwrap<Constant>(ConstantIndices, NumIndices), 876 NumIndices); [all...] |
/external/clang/lib/AST/ |
DeclCXX.cpp | [all...] |
/external/llvm/include/llvm-c/ |
Core.h | [all...] |