Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 24 of 24) 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()
253 Value GetMin(HInductionVarAnalysis::InductionInfo* info, in GetMin()
258 Value GetMax(HInductionVarAnalysis::InductionInfo* info, in GetMax()
263 Value GetMul(HInductionVarAnalysis::InductionInfo* info1, in GetMul()
269 Value GetDiv(HInductionVarAnalysis::InductionInfo* info1, in GetDiv()
275 Value GetRem(HInductionVarAnalysis::InductionInfo* info1, in GetRem()
280 Value GetXor(HInductionVarAnalysis::InductionInfo* info1, in GetXor()
297 Value AddValue(Value v1, Value v2) { return range_.AddValue(v1, v2); } in AddValue()
298 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue()
[all …]
Dinduction_var_range.h45 struct Value { struct
46 Value() : instruction(nullptr), a_constant(0), b_constant(0), is_known(false) {} in Value() argument
47 Value(HInstruction* i, int32_t a, int32_t b) in Value() argument
49 explicit Value(int32_t b) : Value(nullptr, 0, b) {} in Value() argument
70 /*out*/ Value* min_val, argument
71 /*out*/ Value* max_val,
207 Value GetLinear(HInductionVarAnalysis::InductionInfo* info,
211 Value GetPolynomial(HInductionVarAnalysis::InductionInfo* info,
215 Value GetGeometric(HInductionVarAnalysis::InductionInfo* info,
219 Value GetFetch(HInstruction* instruction,
[all …]
Dinduction_var_range.cc121 static InductionVarRange::Value SimplifyMin(InductionVarRange::Value v) { in SimplifyMin()
126 return InductionVarRange::Value(v.b_constant); in SimplifyMin()
133 static InductionVarRange::Value SimplifyMax(InductionVarRange::Value v, HInstruction* hint) { in SimplifyMax()
141 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); in SimplifyMax()
146 return InductionVarRange::Value(suitable, 1, v.b_constant); in SimplifyMax()
153 static bool IsConstantValue(InductionVarRange::Value v) { in IsConstantValue()
158 static InductionVarRange::Value CorrectForType(InductionVarRange::Value v, Primitive::Type type) { in CorrectForType()
169 : InductionVarRange::Value(); in CorrectForType()
204 /*out*/Value* min_val, in GetInductionRange()
205 /*out*/Value* max_val, in GetInductionRange()
[all …]
Dbounds_check_elimination.cc1309 InductionVarRange::Value v1; in InductionRangeFitsIn()
1310 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()
55 template <class Value>
56 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width, in Histogram()
66 template <class Value>
67 inline void Histogram<Value>::GrowBuckets(Value new_max) { in GrowBuckets()
89 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.h78 typename Value,
79 typename EmptyFn = DefaultEmptyFn<std::pair<Key, Value>>,
83 Value,
87 ArenaAllocatorAdapter<std::pair<Key, Value>>>;
90 typename Value,
92 typename Pred = std::equal_to<Value>>
94 Value,
97 ArenaAllocatorAdapter<std::pair<const 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/tools/ahat/src/heapdump/
DValue.java23 public class Value { class
31 Value(Object object) { in Value() method in Value
119 public static Value getBaseline(Value value) { in getBaseline()
123 return new Value(value.asAhatInstance().getBaseline()); in getBaseline()
127 if (other instanceof Value) { in equals()
128 Value value = (Value)other; in equals()
DAhatArrayInstance.java32 private List<Value> mValues;
58 mValues = new AbstractList<Value>() { in initialize()
63 @Override public Value get(int index) { in initialize()
65 return obj == null ? null : new Value(insts[index]); in initialize()
73 mValues = new AbstractList<Value>() { in initialize()
78 @Override public Value get(int index) { in initialize()
79 return new Value(chars[index]); in initialize()
87 mValues = new AbstractList<Value>() { in initialize()
92 @Override public Value get(int index) { in initialize()
93 return new Value(bytes[index]); in initialize()
[all …]
DFieldValue.java22 private final Value mValue;
26 public FieldValue(String name, String type, Value value) { in FieldValue()
40 mValue = Value.getBaseline(baseline.mValue); in FieldValue()
68 public Value getValue() { in getValue()
DAhatClassInstance.java42 Value value = snapshot.getValue(field.getValue()); in initialize()
55 @Override public Value getField(String fieldName) { in getField()
65 Value value = getField(fieldName); in getRefField()
76 Value value = getField(fieldName); in getIntField()
90 Value value = getField(fieldName); in getLongField()
123 Value value = getField("value"); in asString()
181 Value value = getField(fieldName); in getByteArrayField()
DAhatClassObj.java59 Value value = snapshot.getValue(field.getValue()); in initialize()
DAhatSnapshot.java267 Value getValue(Object value) { in getValue()
271 return value == null ? null : new Value(value); in getValue()
DAhatInstance.java317 public Value getField(String fieldName) { in getField()
/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/test/
DTestDump.java24 import com.android.ahat.heapdump.Value;
102 public Value getDumpedValue(String name) { in getDumpedValue()
110 public Value getBaselineDumpedValue(String name) { in getBaselineDumpedValue()
118 private Value getDumpedValue(String name, AhatSnapshot snapshot) { in getDumpedValue()
134 Value value = getDumpedValue(name); in getDumpedAhatInstance()
143 Value value = getBaselineDumpedValue(name); in getBaselineDumpedAhatInstance()
DInstanceTest.java24 import com.android.ahat.heapdump.Value;
241 Value value = gcPathArray.asArrayInstance().getValue(2); in gcRootPath()
/art/test/468-checker-bool-simplif-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/tools/ahat/src/
DObjectHandler.java29 import com.android.ahat.heapdump.Value;
134 List<Value> elements = array.getValues(); in printArrayElements()
135 SubsetSelector<Value> selector = new SubsetSelector(query, ARRAY_ELEMENTS_ID, elements); in printArrayElements()
137 for (Value current : selector.selected()) { in printArrayElements()
140 Value previous = Value.getBaseline(base.asArrayInstance().getValue(i)); in printArrayElements()
161 Value current = field.getValue(); in printFields()
174 Value previous = Value.getBaseline(basefield.getValue()); in printFields()
DSummarizer.java21 import com.android.ahat.heapdump.Value;
119 public static DocString summarize(Value value) { in summarize()
/art/runtime/
Druntime_options.def27 // <<Type>> <<Key Name>> <<Default Value>>
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
617 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.