Home
last modified time | relevance | path

Searched refs:CompareOperationHint (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/compiler/
Dtype-hint-analyzer.cc40 CompareOperationHint ToCompareOperationHint(Token::Value op, in ToCompareOperationHint()
44 return CompareOperationHint::kNone; in ToCompareOperationHint()
46 return CompareOperationHint::kSignedSmall; in ToCompareOperationHint()
49 ? CompareOperationHint::kNumberOrOddball in ToCompareOperationHint()
50 : CompareOperationHint::kNumber; in ToCompareOperationHint()
58 return CompareOperationHint::kAny; in ToCompareOperationHint()
61 return CompareOperationHint::kNone; in ToCompareOperationHint()
78 TypeFeedbackId id, CompareOperationHint* hint) const { in GetCompareOperationHint()
Djs-operator.cc427 CompareOperationHint CompareOperationHintOf(const Operator* op) { in CompareOperationHintOf()
436 return OpParameter<CompareOperationHint>(op); in CompareOperationHintOf()
517 template <CompareOperationHint kHint> \
518 struct Name##Operator final : public Operator1<CompareOperationHint> { \
520 : Operator1<CompareOperationHint>( \
524 Name##Operator<CompareOperationHint::kNone> k##Name##NoneOperator; \
525 Name##Operator<CompareOperationHint::kSignedSmall> \
527 Name##Operator<CompareOperationHint::kNumber> k##Name##NumberOperator; \
528 Name##Operator<CompareOperationHint::kNumberOrOddball> \
530 Name##Operator<CompareOperationHint::kAny> k##Name##AnyOperator;
[all …]
Djs-operator.h416 CompareOperationHint CompareOperationHintOf(const Operator* op);
426 const Operator* Equal(CompareOperationHint hint); in NON_EXPORTED_BASE()
427 const Operator* NotEqual(CompareOperationHint hint); in NON_EXPORTED_BASE()
428 const Operator* StrictEqual(CompareOperationHint hint); in NON_EXPORTED_BASE()
429 const Operator* StrictNotEqual(CompareOperationHint hint); in NON_EXPORTED_BASE()
430 const Operator* LessThan(CompareOperationHint hint); in NON_EXPORTED_BASE()
431 const Operator* GreaterThan(CompareOperationHint hint); in NON_EXPORTED_BASE()
432 const Operator* LessThanOrEqual(CompareOperationHint hint); in NON_EXPORTED_BASE()
433 const Operator* GreaterThanOrEqual(CompareOperationHint hint); in NON_EXPORTED_BASE()
Dtype-hint-analyzer.h27 CompareOperationHint* hint) const;
Dast-graph-builder.cc286 owner_->javascript()->StrictEqual(CompareOperationHint::kAny), t1, t2); in NewPathDispatchCondition()
1280 CompareOperationHint hint; in VisitSwitchStatement()
1284 hint = CompareOperationHint::kAny; in VisitSwitchStatement()
1363 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), object, in VisitForInStatement()
1367 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), object, in VisitForInStatement()
1405 NewNode(javascript()->LessThan(CompareOperationHint::kSignedSmall), in VisitForInStatement()
1417 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), value, in VisitForInStatement()
2764 op = javascript()->Equal(CompareOperationHint::kAny); in VisitLiteralCompareNil()
2767 op = javascript()->StrictEqual(CompareOperationHint::kAny); in VisitLiteralCompareNil()
2784 Node* value = NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), in VisitLiteralCompareTypeof()
[all …]
Dbytecode-graph-builder.cc864 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), in CheckContextExtensions()
1439 CompareOperationHint BytecodeGraphBuilder::GetCompareOperationHint() { in GetCompareOperationHint()
1442 return CompareOperationHint::kAny; in GetCompareOperationHint()
1773 NewNode(javascript()->LessThan(CompareOperationHint::kSignedSmall), index, in VisitForInContinue()
1974 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), in BuildJumpIfEqual()
2004 NewNode(javascript()->StrictEqual(CompareOperationHint::kAny), in BuildJumpIfNotHole()
Dbytecode-graph-builder.h168 CompareOperationHint GetCompareOperationHint();
Djs-typed-lowering.cc61 case CompareOperationHint::kSignedSmall: in GetCompareNumberOperationHint()
64 case CompareOperationHint::kNumber: in GetCompareNumberOperationHint()
67 case CompareOperationHint::kNumberOrOddball: in GetCompareNumberOperationHint()
70 case CompareOperationHint::kAny: in GetCompareNumberOperationHint()
71 case CompareOperationHint::kNone: in GetCompareNumberOperationHint()
/external/v8/src/
Dtype-hints.cc29 std::ostream& operator<<(std::ostream& os, CompareOperationHint hint) { in operator <<()
31 case CompareOperationHint::kNone: in operator <<()
33 case CompareOperationHint::kSignedSmall: in operator <<()
35 case CompareOperationHint::kNumber: in operator <<()
37 case CompareOperationHint::kNumberOrOddball: in operator <<()
39 case CompareOperationHint::kAny: in operator <<()
Dtype-feedback-vector-inl.h144 CompareOperationHint CompareOperationHintFromFeedback(int type_feedback) { in CompareOperationHintFromFeedback()
147 return CompareOperationHint::kNone; in CompareOperationHintFromFeedback()
149 return CompareOperationHint::kSignedSmall; in CompareOperationHintFromFeedback()
151 return CompareOperationHint::kNumber; in CompareOperationHintFromFeedback()
153 return CompareOperationHint::kAny; in CompareOperationHintFromFeedback()
156 return CompareOperationHint::kNone; in CompareOperationHintFromFeedback()
197 CompareOperationHint hint = in ComputeCounts()
199 if (hint == CompareOperationHint::kAny) { in ComputeCounts()
201 } else if (hint != CompareOperationHint::kNone) { in ComputeCounts()
Dtype-hints.h31 enum class CompareOperationHint : uint8_t { enum
39 inline size_t hash_value(CompareOperationHint hint) { in hash_value()
43 std::ostream& operator<<(std::ostream&, CompareOperationHint);
Dtype-info.cc196 AstType* CompareOpHintToType(CompareOperationHint hint) { in CompareOpHintToType()
198 case CompareOperationHint::kNone: in CompareOpHintToType()
200 case CompareOperationHint::kSignedSmall: in CompareOpHintToType()
202 case CompareOperationHint::kNumber: in CompareOpHintToType()
204 case CompareOperationHint::kNumberOrOddball: in CompareOpHintToType()
206 case CompareOperationHint::kAny: in CompareOpHintToType()
Dtype-feedback-vector.cc1059 CompareOperationHint hint = GetCompareOperationFeedback(); in StateFromFeedback()
1060 if (hint == CompareOperationHint::kNone) { in StateFromFeedback()
1062 } else if (hint == CompareOperationHint::kAny) { in StateFromFeedback()
1074 CompareOperationHint CompareICNexus::GetCompareOperationFeedback() const { in GetCompareOperationFeedback()
Dtype-feedback-vector.h703 CompareOperationHint GetCompareOperationFeedback() const;
719 inline CompareOperationHint CompareOperationHintFromFeedback(int type_feedback);