Home
last modified time | relevance | path

Searched refs:CallFrequency (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/compiler/
Djs-operator.h32 class CallFrequency final {
34 CallFrequency() : value_(std::numeric_limits<float>::quiet_NaN()) {} in CallFrequency() function
35 explicit CallFrequency(float value) : value_(value) { in CallFrequency() function
46 bool operator==(CallFrequency const& that) const {
49 bool operator!=(CallFrequency const& that) const { return !(*this == that); }
51 friend size_t hash_value(CallFrequency f) { in hash_value()
59 std::ostream& operator<<(std::ostream&, CallFrequency);
61 CallFrequency CallFrequencyOf(Operator const* op) V8_WARN_UNUSED_RESULT;
102 ConstructParameters(uint32_t arity, CallFrequency frequency, in ConstructParameters()
107 CallFrequency frequency() const { return frequency_; } in frequency()
[all …]
Djs-operator.cc20 std::ostream& operator<<(std::ostream& os, CallFrequency f) { in operator <<()
25 CallFrequency CallFrequencyOf(Operator const* op) { in CallFrequencyOf()
28 return OpParameter<CallFrequency>(op); in CallFrequencyOf()
824 CallFrequency const& frequency, in Call()
839 const Operator* JSOperatorBuilder::CallWithArrayLike(CallFrequency frequency) { in CallWithArrayLike()
840 return new (zone()) Operator1<CallFrequency>( // -- in CallWithArrayLike()
848 uint32_t arity, CallFrequency const& frequency, in CallWithSpread()
896 CallFrequency frequency, in Construct()
907 CallFrequency frequency) { in ConstructWithArrayLike()
908 return new (zone()) Operator1<CallFrequency>( // -- in ConstructWithArrayLike()
[all …]
Dbytecode-graph-builder.h34 JSGraph* jsgraph, CallFrequency& invocation_frequency,
241 CallFrequency ComputeCallFrequency(int slot_id) const;
381 CallFrequency const invocation_frequency_;
Djs-inlining-heuristic.h53 CallFrequency frequency; // Relative frequency of this call site.
Djs-call-reducer.h23 class CallFrequency; variable
106 Node* node, int arity, CallFrequency const& frequency,
Djs-inlining.cc75 CallFrequency frequency() const { in frequency()
488 CallFrequency frequency = call.frequency(); in ReduceJSCall()
Dbytecode-graph-builder.cc519 JSGraph* jsgraph, CallFrequency& invocation_frequency, in BytecodeGraphBuilder()
1719 CallFrequency frequency = ComputeCallFrequency(slot_id); in BuildCall()
1874 CallFrequency frequency = ComputeCallFrequency(slot_id); in VisitCallWithSpread()
1990 CallFrequency frequency = ComputeCallFrequency(slot_id); in VisitConstruct()
2021 CallFrequency frequency = ComputeCallFrequency(slot_id); in VisitConstructWithSpread()
2214 CallFrequency BytecodeGraphBuilder::ComputeCallFrequency(int slot_id) const { in ComputeCallFrequency()
2215 if (invocation_frequency_.IsUnknown()) return CallFrequency(); in ComputeCallFrequency()
2217 return CallFrequency(nexus.ComputeCallFrequency() * in ComputeCallFrequency()
Djs-native-context-specialization.cc290 node, javascript()->Call(3, CallFrequency(), VectorSlotPair(), in ReduceJSInstanceOf()
1699 jsgraph()->javascript()->Call(2, CallFrequency(), VectorSlotPair(), in InlinePropertyGetterCall()
1737 jsgraph()->javascript()->Call(3, CallFrequency(), VectorSlotPair(), in InlinePropertySetterCall()
Dpipeline.cc1145 CallFrequency frequency = CallFrequency(1.0f); in Run()
Djs-call-reducer.cc2991 Node* node, int arity, CallFrequency const& frequency, in ReduceCallOrConstructWithArrayLikeOrSpread()
3720 CallFrequency frequency = CallFrequencyOf(node->op()); in ReduceJSCallWithArrayLike()
3731 CallFrequency frequency = p.frequency(); in ReduceJSCallWithSpread()
4278 CallFrequency frequency = CallFrequencyOf(node->op()); in ReduceJSConstructWithArrayLike()
4289 CallFrequency frequency = p.frequency(); in ReduceJSConstructWithSpread()