Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
16 class ValueType<int size, int value> {
22 def OtherVT: ValueType<0 , 1>; // "Other" value
23 def i1 : ValueType<1 , 2>; // One bit boolean value
24 def i8 : ValueType<8 , 3>; // 8-bit integer value
25 def i16 : ValueType<16 , 4>; // 16-bit integer value
26 def i32 : ValueType<32 , 5>; // 32-bit integer value
27 def i64 : ValueType<64 , 6>; // 64-bit integer value
28 def i128 : ValueType<128, 7>; // 128-bit integer value
29 def f16 : ValueType<16 , 8>; // 16-bit floating point value
[all …]
/external/llvm/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
16 class ValueType<int size, int value> {
22 def OtherVT: ValueType<0 , 0>; // "Other" value
23 def i1 : ValueType<1 , 1>; // One bit boolean value
24 def i8 : ValueType<8 , 2>; // 8-bit integer value
25 def i16 : ValueType<16 , 3>; // 16-bit integer value
26 def i32 : ValueType<32 , 4>; // 32-bit integer value
27 def i64 : ValueType<64 , 5>; // 64-bit integer value
28 def i128 : ValueType<128, 6>; // 128-bit integer value
29 def f16 : ValueType<16 , 7>; // 16-bit floating point value
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.td1 //===- ValueTypes.td - ValueType definitions ---------------*- tablegen -*-===//
16 class ValueType<int size, int value> {
22 def OtherVT: ValueType<0 , 0>; // "Other" value
23 def i1 : ValueType<1 , 1>; // One bit boolean value
24 def i8 : ValueType<8 , 2>; // 8-bit integer value
25 def i16 : ValueType<16 , 3>; // 16-bit integer value
26 def i32 : ValueType<32 , 4>; // 32-bit integer value
27 def i64 : ValueType<64 , 5>; // 64-bit integer value
28 def i128 : ValueType<128, 6>; // 128-bit integer value
29 def f32 : ValueType<32 , 7>; // 32-bit floating point value
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dint_type.h190 typedef _ValueType ValueType; // for non-member operators typedef
191 typedef IntType<IntTypeName, ValueType> ThisType; // Syntactic sugar.
204 constexpr explicit IntType(ValueType value) : value_(value) {} in IntType()
214 constexpr ValueType value() const { return value_; } in value()
254 ThisType& operator op(ValueType arg_value) { \
267 ThisType& operator=(ValueType arg_value) {
274 ValueType value_;
276 static_assert(std::is_integral<ValueType>::value, "invalid integer type");
282 template <typename IntTypeName, typename ValueType>
284 IntType<IntTypeName, ValueType> arg) {
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedEncodedValue.java34 import org.jf.dexlib2.ValueType;
54 case ValueType.BYTE: in readFrom()
57 case ValueType.SHORT: in readFrom()
60 case ValueType.CHAR: in readFrom()
63 case ValueType.INT: in readFrom()
66 case ValueType.LONG: in readFrom()
69 case ValueType.FLOAT: in readFrom()
73 case ValueType.DOUBLE: in readFrom()
77 case ValueType.STRING: in readFrom()
80 case ValueType.TYPE: in readFrom()
[all …]
/external/google-breakpad/src/processor/
Dpostfix_evaluator-inl.h69 template<typename ValueType>
70 bool PostfixEvaluator<ValueType>::EvaluateToken( in EvaluateToken()
103 ValueType operand1 = ValueType(); in EvaluateToken()
104 ValueType operand2 = ValueType(); in EvaluateToken()
112 ValueType result; in EvaluateToken()
131 operand1 & (static_cast<ValueType>(-1) ^ (operand2 - 1)); in EvaluateToken()
151 ValueType address; in EvaluateToken()
158 ValueType value; in EvaluateToken()
168 ValueType value; in EvaluateToken()
204 template<typename ValueType>
[all …]
/external/deqp/framework/delibs/decpp/
DdeCommandLine.hpp41 template<typename ValueType>
42 void parseType (const char* src, ValueType* dst);
54 typedef typename OptName::ValueType ValueType; typedef
55 typedef void (*ParseFunc) (const char* src, ValueType* dst);
65 const NamedValue<ValueType>* namedValues; //!< Named values or null.
66 const NamedValue<ValueType>* namedValuesEnd; //!< Named value list end.
74 , parse (parseType<ValueType>) in Option()
93 …Name_, const char* description_, const NamedValue<ValueType>* namedValues_, const NamedValue<Value… in Option()
106 …ame_, const char* longName_, const char* description_, const NamedValue<ValueType> (&namedValues_)… in Option()
121 typedef typename Option::ValueType ValueType; typedef
[all …]
/external/bcc/src/cc/api/
DBPFTable.h38 template <class KeyType, class ValueType>
47 StatusTuple string_to_leaf(const std::string& value_str, ValueType* value) { in string_to_leaf()
59 StatusTuple leaf_to_string(const ValueType* value, std::string& value_str) { in leaf_to_string()
112 template <class ValueType>
113 void* get_value_addr(ValueType& t) { in get_value_addr()
117 template <class ValueType>
118 void* get_value_addr(std::vector<ValueType>& t) { in get_value_addr()
122 template <class ValueType>
123 class BPFArrayTable : public BPFTableBase<int, ValueType> {
125 BPFArrayTable(const TableDesc& desc) : BPFTableBase<int, ValueType>(desc) { in BPFArrayTable()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dhsa-metadata-from-llvm-ir-full.ll36 ; CHECK-NEXT: ValueType: I8
41 ; CHECK-NEXT: ValueType: I64
45 ; CHECK-NEXT: ValueType: I64
49 ; CHECK-NEXT: ValueType: I64
53 ; CHECK-NEXT: ValueType: I8
73 ; CHECK-NEXT: ValueType: U16
78 ; CHECK-NEXT: ValueType: I64
82 ; CHECK-NEXT: ValueType: I64
86 ; CHECK-NEXT: ValueType: I64
90 ; CHECK-NEXT: ValueType: I8
[all …]
Dhsa-metadata-hidden-args.ll16 ; CHECK-NEXT: ValueType: F16
22 ; CHECK-NEXT: ValueType: F16
28 ; CHECK-NEXT: ValueType: F16
50 ; CHECK-NEXT: ValueType: F16
56 ; CHECK-NEXT: ValueType: F16
62 ; CHECK-NEXT: ValueType: F16
67 ; CHECK-NEXT: ValueType: I64
88 ; CHECK-NEXT: ValueType: F16
94 ; CHECK-NEXT: ValueType: F16
100 ; CHECK-NEXT: ValueType: F16
[all …]
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dfingerprint64_map_op_kernels.cc30 template <typename KeyType, typename ValueType>
32 : public virtual LookupInterface<ValueType*, const KeyType&>,
33 public virtual LookupWithPrefetchInterface<absl::Span<ValueType>,
41 Status Lookup(const KeyType& key_to_find, ValueType* value) const override { in Lookup()
46 Status Lookup(absl::Span<const KeyType> keys, absl::Span<ValueType> values, in Lookup()
64 ABSL_ATTRIBUTE_ALWAYS_INLINE ValueType
67 return static_cast<ValueType>(Fingerprint64(key_to_find) % in LookupHelper()
95 template <typename KeyType, typename ValueType>
98 Fingerprint64Map<KeyType, ValueType>>::Functor,
100 LookupInterface<ValueType*, const KeyType&>,
[all …]
Dresource_interface_templates.h35 template <typename ValueType, typename... KeyContext>
38 using value_type = ValueType;
44 ValueType values) = 0;
48 template <typename ValueType, typename... KeyContext>
51 using value_type = ValueType;
57 virtual Status Lookup(KeyContext... key_context, ValueType values) const = 0;
61 template <typename ValueType, typename... KeyContext>
64 using value_type = ValueType;
70 virtual Status Lookup(KeyContext... key_context, ValueType values,
84 template <typename ValueType, typename... KeyContext>
[all …]
Dflat_hash_map_op_kernels.cc39 template <typename ValueType>
41 : public virtual LookupInterface<ValueType*, const absl::string_view&>,
42 public virtual LookupInterface<ValueType*, const string&>,
44 absl::Span<ValueType>, absl::Span<const absl::string_view>>,
45 public virtual LookupWithPrefetchInterface<absl::Span<ValueType>,
48 absl::Span<const ValueType>, absl::Span<const absl::string_view>>,
50 absl::Span<const ValueType>, absl::Span<const string>>,
53 using value_type = ValueType;
63 absl::Span<const ValueType> values) override { in Initialize()
78 absl::Span<const ValueType> values) override { in Initialize()
[all …]
/external/libcxx/benchmarks/
Dalgorithms.bench.cpp17 enum class ValueType { Uint32, String }; enum
18 struct AllValueTypes : EnumValuesAsTuple<AllValueTypes, ValueType, 2> {
24 std::conditional_t<V() == ValueType::Uint32, uint32_t, std::string>;
88 template <class ValueType>
89 std::vector<std::vector<Value<ValueType> > > makeOrderedValues(size_t N, in makeOrderedValues()
93 static std::map<std::pair<size_t, Order>, std::vector<Value<ValueType> > > in makeOrderedValues()
114 template <class ValueType, class F>
117 auto Copies = makeOrderedValues<ValueType>(Quantity, O); in runOpOnCopies()
130 template <class ValueType, class Order>
135 runOpOnCopies<ValueType>(state, Quantity, Order(), false, [](auto& Copy) { in run()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableEncodedValueFactory.java36 import org.jf.dexlib2.ValueType;
48 case ValueType.BYTE: in of()
50 case ValueType.SHORT: in of()
52 case ValueType.CHAR: in of()
54 case ValueType.INT: in of()
56 case ValueType.LONG: in of()
58 case ValueType.FLOAT: in of()
60 case ValueType.DOUBLE: in of()
62 case ValueType.STRING: in of()
64 case ValueType.TYPE: in of()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DEncodedValueAdaptor.java33 import org.jf.dexlib2.ValueType;
47 case ValueType.ANNOTATION: in writeTo()
50 case ValueType.ARRAY: in writeTo()
53 case ValueType.BOOLEAN: in writeTo()
56 case ValueType.BYTE: in writeTo()
59 case ValueType.CHAR: in writeTo()
62 case ValueType.DOUBLE: in writeTo()
65 case ValueType.ENUM: in writeTo()
74 case ValueType.FIELD: in writeTo()
82 case ValueType.FLOAT: in writeTo()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DDexPool.java35 import org.jf.dexlib2.ValueType;
123 case ValueType.ANNOTATION: in writeEncodedValue()
127 case ValueType.ARRAY: in writeEncodedValue()
131 case ValueType.BOOLEAN: in writeEncodedValue()
134 case ValueType.BYTE: in writeEncodedValue()
137 case ValueType.CHAR: in writeEncodedValue()
140 case ValueType.DOUBLE: in writeEncodedValue()
143 case ValueType.ENUM: in writeEncodedValue()
146 case ValueType.FIELD: in writeEncodedValue()
149 case ValueType.FLOAT: in writeEncodedValue()
[all …]
/external/tensorflow/tensorflow/core/util/
Dstats_calculator.h33 template <typename ValueType, typename HighPrecisionValueType = double>
36 void UpdateStat(ValueType v) { in UpdateStat()
49 void Reset() { new (this) Stat<ValueType, HighPrecisionValueType>(); } in Reset()
53 ValueType first() const { return first_; } in first()
55 ValueType newest() const { return newest_; } in newest()
57 ValueType max() const { return max_; } in max()
59 ValueType min() const { return min_; } in min()
63 ValueType sum() const { return sum_; } in sum()
70 return empty() ? std::numeric_limits<ValueType>::quiet_NaN() in avg()
74 ValueType std_deviation() const { in std_deviation()
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dmetric_def.h41 enum class ValueType : int { kInt64 = 0, kHistogram, kString, kBool }; enum
48 ValueType GetValueType();
51 inline ValueType GetValueType<int64>() {
52 return ValueType::kInt64;
56 inline ValueType GetValueType<HistogramProto>() {
57 return ValueType::kHistogram;
61 inline ValueType GetValueType<string>() {
62 return ValueType::kString;
66 inline ValueType GetValueType<bool>() {
67 return ValueType::kBool;
[all …]
Dgauge.h123 template <typename ValueType, int NumLabels>
150 GaugeCell<ValueType>* GetCell(const Labels&... labels) LOCKS_EXCLUDED(mu_);
154 const MetricDef<MetricKind::kGauge, ValueType, NumLabels>& metric_def) in Gauge() argument
170 const MetricDef<MetricKind::kGauge, ValueType, NumLabels> metric_def_;
175 std::map<LabelArray, GaugeCell<ValueType> > cells_ GUARDED_BY(mu_);
203 template <typename ValueType, int NumLabels>
205 Gauge<ValueType, NumLabels>* Gauge<ValueType, NumLabels>::New( in New()
207 static_assert(std::is_same<ValueType, int64>::value || in New()
208 std::is_same<ValueType, string>::value || in New()
209 std::is_same<ValueType, bool>::value, in New()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DEncodedValueUtils.java34 import org.jf.dexlib2.ValueType;
40 case ValueType.BOOLEAN: in isDefaultValue()
42 case ValueType.BYTE: in isDefaultValue()
44 case ValueType.CHAR: in isDefaultValue()
46 case ValueType.DOUBLE: in isDefaultValue()
48 case ValueType.FLOAT: in isDefaultValue()
50 case ValueType.INT: in isDefaultValue()
52 case ValueType.LONG: in isDefaultValue()
54 case ValueType.NULL: in isDefaultValue()
56 case ValueType.SHORT: in isDefaultValue()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DDexBuilder.java40 import org.jf.dexlib2.ValueType;
211 case ValueType.ANNOTATION:
215 case ValueType.ARRAY:
219 case ValueType.BOOLEAN:
222 case ValueType.BYTE:
225 case ValueType.CHAR:
228 case ValueType.DOUBLE:
231 case ValueType.ENUM:
234 case ValueType.FIELD:
237 case ValueType.FLOAT:
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DEncodedValueWriter.java35 import org.jf.dexlib2.ValueType;
73 writer.writeEncodedValueHeader(ValueType.ANNOTATION, 0); in writeAnnotation()
87 writer.writeEncodedValueHeader(ValueType.ARRAY, 0); in writeArray()
95 writer.writeEncodedValueHeader(ValueType.BOOLEAN, value ? 1 : 0); in writeBoolean()
99 writer.writeEncodedInt(ValueType.BYTE, value); in writeByte()
103 writer.writeEncodedUint(ValueType.CHAR, value); in writeChar()
107 writer.writeEncodedDouble(ValueType.DOUBLE, value); in writeDouble()
111 writer.writeEncodedUint(ValueType.ENUM, fieldSection.getItemIndex(value)); in writeEnum()
115 writer.writeEncodedUint(ValueType.FIELD, fieldSection.getItemIndex(value)); in writeField()
119 writer.writeEncodedFloat(ValueType.FLOAT, value); in writeFloat()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUGISel.td41 ValueType dst_vt,
42 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
51 ValueType dst_vt,
52 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
61 ValueType dst_vt,
62 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
71 ValueType dst_vt,
72 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
81 ValueType dst_vt,
82 ValueType src0_vt = dst_vt, ValueType src1_vt = src0_vt> : GCNPat <
[all …]
/external/eigen/unsupported/Eigen/src/AutoDiff/
DAutoDiffVector.h32 template<typename ValueType, typename JacobianType>
37 typedef typename internal::traits<ValueType>::Scalar BaseScalar;
45 inline AutoDiffVector(const ValueType& values) in AutoDiffVector()
67 inline AutoDiffVector(const ValueType& values, const JacobianType& jac) in AutoDiffVector()
95 inline const ValueType& values() const { return m_values; } in values()
96 inline ValueType& values() { return m_values; } in values()
103 … typename MakeCwiseBinaryOp<internal::scalar_sum_op<BaseScalar>,ValueType,OtherValueType>::Type,
108 … typename MakeCwiseBinaryOp<internal::scalar_sum_op<BaseScalar>,ValueType,OtherValueType>::Type,
125 … typename MakeCwiseBinaryOp<internal::scalar_difference_op<Scalar>,ValueType,OtherValueType>::Type,
130 … typename MakeCwiseBinaryOp<internal::scalar_difference_op<Scalar>,ValueType,OtherValueType>::Type,
[all …]

12345678910>>...17