Home
last modified time | relevance | path

Searched refs:FunctionType (Results 1 – 25 of 960) sorted by relevance

12345678910>>...39

/external/angle/src/tests/gl_tests/
DShadowSamplerFunctionsTest.cpp17 enum class FunctionType enum
37 const char *FunctionName(FunctionType function) in FunctionName()
41 case FunctionType::Texture: in FunctionName()
42 case FunctionType::TextureBias: in FunctionName()
44 case FunctionType::TextureOffset: in FunctionName()
45 case FunctionType::TextureOffsetBias: in FunctionName()
47 case FunctionType::TextureLod: in FunctionName()
49 case FunctionType::TextureLodOffset: in FunctionName()
51 case FunctionType::TextureGrad: in FunctionName()
53 case FunctionType::TextureGradOffset: in FunctionName()
[all …]
/external/libcxx/benchmarks/
Dfunction.bench.cpp21 enum class FunctionType { enum
32 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> {
85 inline Function MakeFunction(FunctionType type, bool opaque = false) { in MakeFunction()
87 case FunctionType::Null: in MakeFunction()
89 case FunctionType::FunctionPointer: in MakeFunction()
91 case FunctionType::MemberFunctionPointer: in MakeFunction()
93 case FunctionType::MemberPointer: in MakeFunction()
95 case FunctionType::SmallTrivialFunctor: in MakeFunction()
97 case FunctionType::SmallNonTrivialFunctor: in MakeFunction()
99 case FunctionType::LargeTrivialFunctor: in MakeFunction()
[all …]
/external/cronet/stable/third_party/libc++/src/test/benchmarks/
Dfunction.bench.cpp23 enum class FunctionType { enum
34 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> {
88 inline Function MakeFunction(FunctionType type, bool opaque = false) { in MakeFunction()
90 case FunctionType::Null: in MakeFunction()
92 case FunctionType::FunctionPointer: in MakeFunction()
94 case FunctionType::MemberFunctionPointer: in MakeFunction()
96 case FunctionType::MemberPointer: in MakeFunction()
98 case FunctionType::SmallTrivialFunctor: in MakeFunction()
100 case FunctionType::SmallNonTrivialFunctor: in MakeFunction()
102 case FunctionType::LargeTrivialFunctor: in MakeFunction()
[all …]
/external/cronet/tot/third_party/libc++/src/test/benchmarks/
Dfunction.bench.cpp23 enum class FunctionType { enum
34 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> {
88 inline Function MakeFunction(FunctionType type, bool opaque = false) { in MakeFunction()
90 case FunctionType::Null: in MakeFunction()
92 case FunctionType::FunctionPointer: in MakeFunction()
94 case FunctionType::MemberFunctionPointer: in MakeFunction()
96 case FunctionType::MemberPointer: in MakeFunction()
98 case FunctionType::SmallTrivialFunctor: in MakeFunction()
100 case FunctionType::SmallNonTrivialFunctor: in MakeFunction()
102 case FunctionType::LargeTrivialFunctor: in MakeFunction()
[all …]
/external/ComputeLibrary/tests/validation/fixtures/
DElementwiseOperationsFixture.h45 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
125 FunctionType elem_op; in compute_target()
186 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
187 …ationFixture : public ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>
195 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape0, s…
232 FunctionType elem_op; in compute_target()
267 …auto result = ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::compu… in compute_reference()
276 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
277 …ationFixture : public ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>
283 …ArithmeticOperationsGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(ArithmeticOpe… in setup()
[all …]
DArithmeticOperationsFixture.h44 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
95 FunctionType arith_op; in compute_target()
149 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
150 …dationFixture : public ArithmeticOperationGenericFixture<TensorType, AccessorType, FunctionType, T>
156 …ArithmeticOperationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(reference::Ari… in setup()
161 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
162 …dationFixture : public ArithmeticOperationGenericFixture<TensorType, AccessorType, FunctionType, T>
168 …ArithmeticOperationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(reference::Ari… in setup()
173 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
174 …nFloatFixture : public ArithmeticOperationGenericFixture<TensorType, AccessorType, FunctionType, T>
[all …]
DElementwiseUnaryFixture.h42 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
145 FunctionType elwiseunary_layer; in compute_target()
196 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
197 …dationFixture : public ElementWiseUnaryValidationFixture<TensorType, AccessorType, FunctionType, T>
203 …ElementWiseUnaryValidationFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_ty… in setup()
207 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
208 …dationFixture : public ElementWiseUnaryValidationFixture<TensorType, AccessorType, FunctionType, T>
214 …ElementWiseUnaryValidationFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, data_ty… in setup()
218 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
219 …dationFixture : public ElementWiseUnaryValidationFixture<TensorType, AccessorType, FunctionType, T>
[all …]
DPoolingLayerFixture.h44 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
59 void mix_layout(FunctionType &layer, TensorType &src, TensorType &dst) in mix_layout()
110 FunctionType pool_layer; in compute_target()
160 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
161 …ionFixture : public PoolingLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
167 …PoolingLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, Pool… in setup()
172 template <typename TensorType, typename AccessorType, typename FunctionType, typename T, bool mixed…
173 …ionFixture : public PoolingLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
179 …PoolingLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, Pool… in setup()
184 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
[all …]
DComparisonFixture.h43 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
71 FunctionType comp_op; in compute_target()
116 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
117 …ationFixture : public ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
123 …ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape0, s… in setup()
127 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
128 …ationFixture : public ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
134 …ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(op, shape, sh… in setup()
138 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
139 …tizedFixture : public ComparisonValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
[all …]
DPixelWiseMultiplicationFixture.h43 template <typename TensorType, typename AccessorType, typename FunctionType, typename T1, typename …
111 FunctionType multiply; in compute_target()
154 template <typename TensorType, typename AccessorType, typename FunctionType, typename T1, typename …
155 …PixelWiseMultiplicationGenericValidationFixture<TensorType, AccessorType, FunctionType, T1, T2, T3>
161 …PixelWiseMultiplicationGenericValidationFixture<TensorType, AccessorType, FunctionType, T1, T2, T3… in setup()
166 template <typename TensorType, typename AccessorType, typename FunctionType, typename T1, typename …
167 …PixelWiseMultiplicationGenericValidationFixture<TensorType, AccessorType, FunctionType, T1, T2, T3>
174 …PixelWiseMultiplicationGenericValidationFixture<TensorType, AccessorType, FunctionType, T1, T2, T3… in setup()
179 template <typename TensorType, typename AccessorType, typename FunctionType, typename T1, typename …
180 …lic PixelWiseMultiplicationGenericValidationFixture<TensorType, AccessorType, FunctionType, T1, T2>
[all …]
DPooling3dLayerFixture.h44 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
84 FunctionType pool_layer; in compute_target()
119 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
120 …nFixture : public Pooling3dLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
126 …Pooling3dLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, Po… in setup()
131 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
132 …dFixture : public Pooling3dLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
139 …Pooling3dLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(shape, Po…
144 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
145 …nFixture : public Pooling3dLayerValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
[all …]
DLogicalFixture.h42 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
76 template <typename TensorType, typename AccessorType, typename FunctionType, typename T, LogicalBin…
77 …onFixture : public LogicalOperationValidationFixtureBase<TensorType, AccessorType, FunctionType, T>
79 using Parent = LogicalOperationValidationFixtureBase<TensorType, AccessorType, FunctionType, T>;
96 FunctionType logical_binary_op; in compute_target()
126 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
127 …e = LogicalBinaryOperationValidationFixture<TensorType, AccessorType, FunctionType, T, &reference:…
129 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
130 …e = LogicalBinaryOperationValidationFixture<TensorType, AccessorType, FunctionType, T, &reference:…
132 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
[all …]
/external/pigweed/pw_function/public/pw_function/
Dpointer.h67 template <typename FunctionType>
70 FunctionType, in GetFunctionPointer()
71 decltype(&FunctionType::operator())>::InvokeWithContextLast; in GetFunctionPointer()
76 template <typename FunctionType>
77 constexpr auto GetFunctionPointer(const FunctionType&) { in GetFunctionPointer() argument
78 return GetFunctionPointer<FunctionType>(); in GetFunctionPointer()
83 template <typename FunctionType>
86 FunctionType, in GetFunctionPointerContextFirst()
87 decltype(&FunctionType::operator())>::InvokeWithContextFirst; in GetFunctionPointerContextFirst()
92 template <typename FunctionType>
[all …]
Dfunction.h69 template <typename FunctionType>
73 FunctionType,
88 template <typename FunctionType,
91 using InlineFunction = fit::inline_function<FunctionType, inline_target_size>;
102 template <typename FunctionType,
108 FunctionType,
124 template <typename FunctionType>
128 FunctionType,
132 template <typename FunctionType,
135 using InlineCallback = fit::inline_callback<FunctionType, inline_target_size>;
[all …]
/external/icing/icing/scoring/advanced_scoring/
Dscore-expression.cc165 const std::unordered_map<std::string, MathFunctionScoreExpression::FunctionType>
167 {"log", FunctionType::kLog},
168 {"pow", FunctionType::kPow},
169 {"max", FunctionType::kMax},
170 {"min", FunctionType::kMin},
171 {"len", FunctionType::kLen},
172 {"sum", FunctionType::kSum},
173 {"avg", FunctionType::kAvg},
174 {"sqrt", FunctionType::kSqrt},
175 {"abs", FunctionType::kAbs},
[all …]
Dscore-expression_test.cc145 MathFunctionScoreExpression::FunctionType::kPow, in TEST()
155 MathFunctionScoreExpression::FunctionType::kAbs, in TEST()
164 MathFunctionScoreExpression::FunctionType::kLog, in TEST()
199 MathFunctionScoreExpression::FunctionType::kPow, in TEST()
207 MathFunctionScoreExpression::FunctionType::kAbs, in TEST()
214 MathFunctionScoreExpression::FunctionType::kLog, in TEST()
224 MathFunctionScoreExpression::FunctionType::kMax, in TEST()
232 MathFunctionScoreExpression::FunctionType::kMin, in TEST()
240 MathFunctionScoreExpression::FunctionType::kLen, in TEST()
248 MathFunctionScoreExpression::FunctionType::kSum, in TEST()
[all …]
/external/pigweed/pw_function/public/pw_function/internal/
Dstatic_invoker.h20 template <typename FunctionType, typename CallOperatorType>
23 template <typename FunctionType, typename Return, typename... Args>
24 struct StaticInvoker<FunctionType, Return (FunctionType::*)(Args...)> {
28 return static_cast<FunctionType*>(context)->operator()(
33 return static_cast<FunctionType*>(context)->operator()(
39 template <typename FunctionType, typename Return, typename... Args>
40 struct StaticInvoker<FunctionType, Return (FunctionType::*)(Args...) const>
41 : StaticInvoker<FunctionType, Return (FunctionType::*)(Args...)> {};
/external/cronet/stable/third_party/llvm-libc/src/benchmarks/automemcpy/lib/
DCodeGen.cpp137 static Context getCtx(FunctionType FT) { in getCtx()
139 case FunctionType::MEMCPY: in getCtx()
146 case FunctionType::MEMCMP: in getCtx()
153 case FunctionType::MEMSET: in getCtx()
160 case FunctionType::BZERO: in getCtx()
365 static raw_ostream &operator<<(raw_ostream &Stream, const FunctionType &T) { in operator <<()
367 case FunctionType::MEMCPY: in operator <<()
369 case FunctionType::MEMCMP: in operator <<()
371 case FunctionType::BCMP: in operator <<()
373 case FunctionType::MEMSET: in operator <<()
[all …]
/external/cronet/tot/third_party/llvm-libc/src/benchmarks/automemcpy/lib/
DCodeGen.cpp137 static Context getCtx(FunctionType FT) { in getCtx()
139 case FunctionType::MEMCPY: in getCtx()
146 case FunctionType::MEMCMP: in getCtx()
153 case FunctionType::MEMSET: in getCtx()
160 case FunctionType::BZERO: in getCtx()
365 static raw_ostream &operator<<(raw_ostream &Stream, const FunctionType &T) { in operator <<()
367 case FunctionType::MEMCPY: in operator <<()
369 case FunctionType::MEMCMP: in operator <<()
371 case FunctionType::BCMP: in operator <<()
373 case FunctionType::MEMSET: in operator <<()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info.cc30 function_type_ = FunctionApiInfo::FunctionType::INFERENCE; in Init()
39 function_type_ = FunctionApiInfo::FunctionType::BACKWARD; in Init()
43 function_type_ = FunctionApiInfo::FunctionType::FORWARD; in Init()
73 const FunctionApiInfo::FunctionType FunctionApiInfo::function_type() const { in function_type()
125 const FunctionApiInfo::FunctionType function_type) { in ValidateSignature()
129 (function_type == FunctionApiInfo::FunctionType::INFERENCE || in ValidateSignature()
130 function_type == FunctionApiInfo::FunctionType::FORWARD); in ValidateSignature()
132 (function_type == FunctionApiInfo::FunctionType::INFERENCE || in ValidateSignature()
133 function_type == FunctionApiInfo::FunctionType::BACKWARD); in ValidateSignature()
148 const FunctionApiInfo::FunctionType function_type) { in ValidateSignatures()
[all …]
/external/pigweed/third_party/fuchsia/repo/sdk/lib/fit/include/lib/fit/
Dfunction.h18 template <size_t inline_target_size, bool require_inline, typename FunctionType, typename Allocator>
20 static_assert(std::is_function<FunctionType>::value,
25 template <size_t inline_target_size, bool require_inline, typename FunctionType, typename Allocator>
27 static_assert(std::is_function<FunctionType>::value,
331 template <size_t inline_target_size, bool require_inline, typename FunctionType, typename Allocator>
332 void swap(function_impl<inline_target_size, require_inline, FunctionType, Allocator>& a, in swap() argument
333 function_impl<inline_target_size, require_inline, FunctionType, Allocator>& b) { in swap()
337 template <size_t inline_target_size, bool require_inline, typename FunctionType, typename Allocator>
338 bool operator==(const function_impl<inline_target_size, require_inline, FunctionType, Allocator>& f,
342 template <size_t inline_target_size, bool require_inline, typename FunctionType, typename Allocator>
[all …]
/external/llvm/include/llvm/IR/
DTypeBuilder.h257 static FunctionType *get(LLVMContext &Context) { in get()
258 return FunctionType::get(TypeBuilder<R, cross>::get(Context), false); in get()
263 static FunctionType *get(LLVMContext &Context) { in get()
267 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
274 static FunctionType *get(LLVMContext &Context) { in get()
279 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
286 static FunctionType *get(LLVMContext &Context) { in get()
292 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
301 static FunctionType *get(LLVMContext &Context) { in get()
308 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
[all …]
/external/tensorflow/tensorflow/compiler/xla/runtime/
Dexecutable.h115 const FunctionType& signature() const;
120 const FunctionType& runtime_signature() const;
197 llvm::StringRef entrypoint, FunctionType signature,
198 FunctionType runtime_signature,
206 const FunctionType& signature);
212 const FunctionType& signature);
234 std::unique_ptr<ExecutionEngine> engine, FunctionType signature, in Executable()
235 FunctionType runtime_signature, in Executable()
266 FunctionType signature_;
286 FunctionType runtime_signature_;
/external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/
Dcalling_convention.cc27 return [](mlir::FunctionType func) { in DefaultCallingConvention()
34 return mlir::FunctionType::get(ctx, inputs, func.getResults()); in DefaultCallingConvention()
39 return [c = std::move(type_converter)](mlir::FunctionType func) mutable { in DefaultCallingConvention()
61 if (failed_conversion) return mlir::FunctionType(); in DefaultCallingConvention()
63 return mlir::FunctionType::get(ctx, inputs, results); in DefaultCallingConvention()
69 return [c = std::move(type_converter)](mlir::FunctionType func) mutable { in ResultsToOutsCallingConvention()
88 if (failed_conversion) return mlir::FunctionType(); in ResultsToOutsCallingConvention()
90 return mlir::FunctionType::get(ctx, inputs, {}); in ResultsToOutsCallingConvention()
/external/ComputeLibrary/tests/validation/fixtures/dynamic_fusion/gpu/cl/
DPool2dFixture.h50 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
104 FunctionType::create_op(sketch, &input_info, &dst_info, pool_attr, pool_settings); in compute_target()
150 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
151 … : public DynamicFusionGpuPool2dValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
157 …DynamicFusionGpuPool2dValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(i… in setup()
163 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
164 … : public DynamicFusionGpuPool2dValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
170 …DynamicFusionGpuPool2dValidationGenericFixture<TensorType, AccessorType, FunctionType, T>::setup(i… in setup()
176 template <typename TensorType, typename AccessorType, typename FunctionType, typename T>
177 … : public DynamicFusionGpuPool2dValidationGenericFixture<TensorType, AccessorType, FunctionType, T>
[all …]

12345678910>>...39