Home
last modified time | relevance | path

Searched refs:ToBooleanHint (Results 1 – 25 of 29) sorted by relevance

12

/external/v8/src/
Dtype-hints.cc52 std::ostream& operator<<(std::ostream& os, ToBooleanHint hint) { in operator <<()
54 case ToBooleanHint::kNone: in operator <<()
56 case ToBooleanHint::kUndefined: in operator <<()
58 case ToBooleanHint::kBoolean: in operator <<()
60 case ToBooleanHint::kNull: in operator <<()
62 case ToBooleanHint::kSmallInteger: in operator <<()
64 case ToBooleanHint::kReceiver: in operator <<()
66 case ToBooleanHint::kString: in operator <<()
68 case ToBooleanHint::kSymbol: in operator <<()
70 case ToBooleanHint::kHeapNumber: in operator <<()
[all …]
Dtype-hints.h49 enum class ToBooleanHint : uint16_t { enum
65 std::ostream& operator<<(std::ostream&, ToBooleanHint);
66 std::string ToString(ToBooleanHint);
68 typedef base::Flags<ToBooleanHint, uint16_t> ToBooleanHints;
Dcode-stubs.cc2085 new_hints |= ToBooleanHint::kUndefined; in UpdateStatus()
2088 new_hints |= ToBooleanHint::kBoolean; in UpdateStatus()
2091 new_hints |= ToBooleanHint::kNull; in UpdateStatus()
2094 new_hints |= ToBooleanHint::kSmallInteger; in UpdateStatus()
2097 new_hints |= ToBooleanHint::kReceiver; in UpdateStatus()
2101 new_hints |= ToBooleanHint::kString; in UpdateStatus()
2104 new_hints |= ToBooleanHint::kSymbol; in UpdateStatus()
2108 new_hints |= ToBooleanHint::kHeapNumber; in UpdateStatus()
Dcode-stubs.h1723 if (hints() == ToBooleanHint::kNone) { in GetICState()
1735 STATIC_ASSERT(static_cast<int>(ToBooleanHint::kAny) ==
/external/v8/src/crankshaft/
Dhydrogen-osr.cc34 HBranch* test = builder_->New<HBranch>(true_value, ToBooleanHint::kNone, in BuildOsrLoopEntry()
Dhydrogen-instructions.cc1077 (ToBooleanHint::kNull | ToBooleanHint::kReceiver | in observed_input_representation()
1078 ToBooleanHint::kString | ToBooleanHint::kSymbol)) { in observed_input_representation()
1081 if (expected_input_types_ & ToBooleanHint::kUndefined) { in observed_input_representation()
1082 if (expected_input_types_ & ToBooleanHint::kHeapNumber) { in observed_input_representation()
1087 if (expected_input_types_ & ToBooleanHint::kHeapNumber) { in observed_input_representation()
1090 if (expected_input_types_ & ToBooleanHint::kSmallInteger) { in observed_input_representation()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc1861 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
1863 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
1868 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
1876 if (expected & ToBooleanHint::kNull) { in DoBranch()
1882 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
1887 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1894 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1899 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
1907 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
1913 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-ia32.cc904 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
908 LOperand* temp = !easy_case && (expected & ToBooleanHint::kNeedsMap) in DoBranch()
912 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
913 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
914 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc2066 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
2068 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
2073 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
2080 if (expected & ToBooleanHint::kNull) { in DoBranch()
2086 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
2091 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2098 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2101 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
2109 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
2115 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-arm.cc871 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
876 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
877 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
878 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc2003 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
2005 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
2010 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
2018 if (expected & ToBooleanHint::kNull) { in DoBranch()
2024 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
2029 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2036 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2039 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
2047 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
2053 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-x64.cc903 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
908 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
909 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
910 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc1962 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
1964 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
1969 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
1976 if (expected & ToBooleanHint::kNull) { in DoBranch()
1982 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
1986 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1993 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1995 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
2003 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
2010 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-mips.cc881 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
886 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
887 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
888 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc1795 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
1797 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
1803 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
1811 if (expected & ToBooleanHint::kNull) { in DoBranch()
1817 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
1822 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1830 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
1837 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
1845 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
1851 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-arm64.cc938 bool needs_temps = (expected & ToBooleanHint::kNeedsMap) || in DoBranch()
939 expected == ToBooleanHint::kNone; in DoBranch()
943 if (expected == ToBooleanHint::kAny || expected == ToBooleanHint::kNone) { in DoBranch()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc2132 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
2134 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
2139 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
2147 if (expected & ToBooleanHint::kNull) { in DoBranch()
2153 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
2158 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2165 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2170 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
2178 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
2184 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-x87.cc919 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
923 LOperand* temp = !easy_case && (expected & ToBooleanHint::kNeedsMap) in DoBranch()
929 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
930 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
931 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc2142 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoShiftI()
2144 if (expected & ToBooleanHint::kUndefined) { in DoShiftI()
2149 if (expected & ToBooleanHint::kBoolean) { in DoShiftI()
2156 if (expected & ToBooleanHint::kNull) { in DoShiftI()
2162 if (expected & ToBooleanHint::kSmallInteger) { in DoShiftI()
2167 } else if (expected & ToBooleanHint::kNeedsMap) { in DoShiftI()
2174 if (expected & ToBooleanHint::kNeedsMap) { in DoShiftI()
2177 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoShiftI()
2185 if (expected & ToBooleanHint::kReceiver) { in DoShiftI()
2191 if (expected & ToBooleanHint::kString) { in DoShiftI()
[all …]
Dlithium-ppc.cc886 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
891 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
892 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
893 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc2146 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoShiftI()
2148 if (expected & ToBooleanHint::kUndefined) { in DoShiftI()
2153 if (expected & ToBooleanHint::kBoolean) { in DoShiftI()
2160 if (expected & ToBooleanHint::kNull) { in DoShiftI()
2166 if (expected & ToBooleanHint::kSmallInteger) { in DoShiftI()
2171 } else if (expected & ToBooleanHint::kNeedsMap) { in DoShiftI()
2178 if (expected & ToBooleanHint::kNeedsMap) { in DoShiftI()
2181 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoShiftI()
2189 if (expected & ToBooleanHint::kReceiver) { in DoShiftI()
2195 if (expected & ToBooleanHint::kString) { in DoShiftI()
[all …]
Dlithium-s390.cc813 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
818 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
819 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
820 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc2083 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
2085 if (expected & ToBooleanHint::kUndefined) { in DoBranch()
2090 if (expected & ToBooleanHint::kBoolean) { in DoBranch()
2097 if (expected & ToBooleanHint::kNull) { in DoBranch()
2103 if (expected & ToBooleanHint::kSmallInteger) { in DoBranch()
2107 } else if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2114 if (expected & ToBooleanHint::kNeedsMap) { in DoBranch()
2116 if (expected & ToBooleanHint::kCanBeUndetectable) { in DoBranch()
2124 if (expected & ToBooleanHint::kReceiver) { in DoBranch()
2131 if (expected & ToBooleanHint::kString) { in DoBranch()
[all …]
Dlithium-mips64.cc881 if (expected == ToBooleanHint::kNone) expected = ToBooleanHint::kAny; in DoBranch()
886 if (!easy_case && ((!(expected & ToBooleanHint::kSmallInteger) && in DoBranch()
887 (expected & ToBooleanHint::kNeedsMap)) || in DoBranch()
888 expected != ToBooleanHint::kAny)) { in DoBranch()
/external/v8/src/compiler/
Dbytecode-graph-builder.cc1711 Node* value = NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in VisitToBooleanLogicalNot()
2192 NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), accumulator); in BuildJumpIfToBooleanTrue()
2199 NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), accumulator); in BuildJumpIfToBooleanFalse()

12