Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 20 of 20) sorted by relevance

/art/compiler/optimizing/
Dinduction_var_range_test.cc26 using Value = InductionVarRange::Value; typedef
44 void ExpectEqual(Value v1, Value v2) { in ExpectEqual()
199 Value GetMin(HInductionVarAnalysis::InductionInfo* info, in GetMin()
204 Value GetMax(HInductionVarAnalysis::InductionInfo* info, in GetMax()
209 Value GetMul(HInductionVarAnalysis::InductionInfo* info1, in GetMul()
215 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv()
233 Value AddValue(Value v1, Value v2) { return range_.AddValue(v1, v2); } in AddValue()
234 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue()
235 Value MulValue(Value v1, Value v2) { return range_.MulValue(v1, v2); } in MulValue()
236 Value DivValue(Value v1, Value v2) { return range_.DivValue(v1, v2); } in DivValue()
[all …]
Dinduction_var_range.h44 struct Value { struct
45 Value() : instruction(nullptr), a_constant(0), b_constant(0), is_known(false) {} in Value() argument
46 Value(HInstruction* i, int32_t a, int32_t b) in Value() function
48 explicit Value(int32_t b) : Value(nullptr, 0, b) {} in Value() argument
67 /*out*/ Value* min_val, argument
68 /*out*/ Value* max_val,
72 bool RefineOuter(/*in-out*/ Value* min_val,
73 /*in-out*/ Value* max_val) const;
141 Value GetLinear(HInductionVarAnalysis::InductionInfo* info,
145 Value GetFetch(HInstruction* instruction,
[all …]
Dinduction_var_range.cc64 static InductionVarRange::Value SimplifyMax(InductionVarRange::Value v) { in SimplifyMax()
71 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
79 static InductionVarRange::Value CorrectForType(InductionVarRange::Value v, Primitive::Type type) { in CorrectForType()
90 : InductionVarRange::Value(); in CorrectForType()
99 static bool IsConstantValue(InductionVarRange::Value v) { in IsConstantValue()
104 static bool IsSameConstantValue(InductionVarRange::Value v1, InductionVarRange::Value v2) { in IsSameConstantValue()
128 /*out*/Value* min_val, in GetInductionRange()
129 /*out*/Value* max_val, in GetInductionRange()
163 bool InductionVarRange::RefineOuter(/*in-out*/ Value* min_val, in RefineOuter()
164 /*in-out*/ Value* max_val) const { in RefineOuter()
[all …]
Dbounds_check_elimination.cc1289 InductionVarRange::Value v1; in InductionRangeFitsIn()
1290 InductionVarRange::Value v2; in InductionRangeFitsIn()
/art/runtime/base/
Dhistogram.h31 template <class Value> class Histogram {
37 friend class Histogram<Value>;
46 Histogram(const char* name, Value initial_bucket_width, size_t max_buckets = 100);
47 void AddValue(Value);
48 void AdjustAndAddValue(Value); // Add a value after dividing it by kAdjust.
65 Value GetRange(size_t bucket_idx) const;
72 Value Sum() const { in Sum()
76 Value AdjustedSum() const { in AdjustedSum()
80 Value Min() const { in Min()
84 Value Max() const { in Max()
[all …]
Dhistogram-inl.h33 template <class Value> inline void Histogram<Value>::AddValue(Value value) { in AddValue()
34 CHECK_GE(value, static_cast<Value>(0)); in AddValue()
36 Value new_max = ((value + 1) / bucket_width_ + 1) * bucket_width_; in AddValue()
43 template <class Value> inline void Histogram<Value>::AdjustAndAddValue(Value value) { in AdjustAndAddValue()
47 template <class Value> inline Histogram<Value>::Histogram(const char* name) in Histogram()
54 template <class Value>
55 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, in Histogram()
65 template <class Value>
66 inline void Histogram<Value>::GrowBuckets(Value new_max) { in GrowBuckets()
88 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const { in FindBucket()
[all …]
Dhash_map.h30 template <class Key, class Value>
31 size_t operator()(const std::pair<Key, Value>& pair) const { in operator()
38 template <class Key, class Value>
39 bool operator()(const std::pair<Key, Value>& a, const std::pair<Key, Value>& b) const { in operator()
42 template <class Key, class Value, class Element>
43 bool operator()(const std::pair<Key, Value>& a, const Element& element) const { in operator()
51 template <class Key, class Value, class EmptyFn,
53 class Alloc = std::allocator<std::pair<Key, Value>>>
54 class HashMap : public HashSet<std::pair<Key, Value>,
60 using Base = HashSet<std::pair<Key, Value>,
Darena_containers.h70 typename Value,
71 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>,
75 Value,
79 ArenaAllocatorAdapter<std::pair<Key, Value>>>;
/art/test/122-npe/src/
DMain.java68 ((Value) null).objectField.toString(); in methodTwo()
75 useInt(((Value) null).intField); in methodTwo()
82 useFloat(((Value) null).floatField); in methodTwo()
89 useLong(((Value) null).longField); in methodTwo()
96 useDouble(((Value) null).doubleField); in methodTwo()
103 ((Value) null).objectField = "Fisk"; in methodTwo()
110 ((Value) null).intField = 42; in methodTwo()
117 ((Value) null).floatField = 42.0F; in methodTwo()
124 ((Value) null).longField = 42L; in methodTwo()
131 ((Value) null).doubleField = 42.0d; in methodTwo()
[all …]
/art/cmdline/
Dmemory_representation.h39 Memory() : Value(0u) {} in Memory()
40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5] in Memory()
43 operator size_t() const { return Value; } in size_t()
46 return Value; in ToBytes()
58 size_t Value; member
63 return stream << memory.Value << '*' << kDivisor;
/art/tools/ahat/src/
DObjectHandler.java62 doc.big(Value.render(mSnapshot, inst)); in handle()
70 doc.description(DocString.text("Class"), Value.render(mSnapshot, cls)); in handle()
113 Value.render(snapshot, field.getValue())); in printClassInstanceFields()
127 doc.row(DocString.format("%d", i), Value.render(snapshot, elem)); in printArrayElements()
139 Value.render(snapshot, clsobj.getSuperClassObj())); in printClassInfo()
141 Value.render(snapshot, clsobj.getClassLoader())); in printClassInfo()
154 Value.render(snapshot, field.getValue())); in printClassInfo()
170 doc.row(Value.render(snapshot, ref)); in printReferences()
182 doc.row(Value.render(snapshot, ref)); in printReferences()
241 return DocString.text("→ ").append(Value.render(mSnapshot, element)); in printDominatorPath()
DDominatedList.java74 return Value.render(mSnapshot, element); in getValueConfigs()
DObjectsHandler.java63 Value.render(mSnapshot, inst)); in handle()
DValue.java26 class Value { class
DNativeAllocationsHandler.java72 Value.render(mSnapshot, alloc.referent)); in handle()
DSiteHandler.java104 Value.render(mSnapshot, info.classObj)); in handle()
/art/test/468-checker-bool-simplifier-regression/smali/
DTestCase.smali24 ## CHECK-DAG: <<Value:z\d+>> StaticFieldGet
25 ## CHECK-DAG: If [<<Value>>]
32 ## CHECK-DAG: <<Value:z\d+>> StaticFieldGet
33 ## CHECK-DAG: <<Select:i\d+>> Select [<<Const1>>,<<Const0>>,<<Value>>]
/art/runtime/
Druntime_options.def27 // <<Type>> <<Key Name>> <<Default Value>>
Ddex_file.h47 template <class Key, class Value, class EmptyFn, class HashFn, class Pred, class Alloc>
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
384 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.