Searched refs:CompareOperationHint (Results 1 – 14 of 14) sorted by relevance
/external/v8/src/compiler/ |
D | type-hint-analyzer.cc | 40 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()
|
D | js-operator.cc | 427 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 …]
|
D | js-operator.h | 416 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()
|
D | type-hint-analyzer.h | 27 CompareOperationHint* hint) const;
|
D | ast-graph-builder.cc | 286 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 …]
|
D | bytecode-graph-builder.cc | 864 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()
|
D | bytecode-graph-builder.h | 168 CompareOperationHint GetCompareOperationHint();
|
D | js-typed-lowering.cc | 61 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/ |
D | type-hints.cc | 29 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 <<()
|
D | type-feedback-vector-inl.h | 144 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()
|
D | type-hints.h | 31 enum class CompareOperationHint : uint8_t { enum 39 inline size_t hash_value(CompareOperationHint hint) { in hash_value() 43 std::ostream& operator<<(std::ostream&, CompareOperationHint);
|
D | type-info.cc | 196 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()
|
D | type-feedback-vector.cc | 1059 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()
|
D | type-feedback-vector.h | 703 CompareOperationHint GetCompareOperationFeedback() const; 719 inline CompareOperationHint CompareOperationHintFromFeedback(int type_feedback);
|