/external/v8/src/ |
D | type-hints.cc | 52 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 …]
|
D | type-hints.h | 49 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;
|
D | code-stubs.cc | 2085 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()
|
D | code-stubs.h | 1723 if (hints() == ToBooleanHint::kNone) { in GetICState() 1735 STATIC_ASSERT(static_cast<int>(ToBooleanHint::kAny) ==
|
/external/v8/src/crankshaft/ |
D | hydrogen-osr.cc | 34 HBranch* test = builder_->New<HBranch>(true_value, ToBooleanHint::kNone, in BuildOsrLoopEntry()
|
D | hydrogen-instructions.cc | 1077 (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/ |
D | lithium-codegen-ia32.cc | 1861 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 …]
|
D | lithium-ia32.cc | 904 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/ |
D | lithium-codegen-arm.cc | 2066 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 …]
|
D | lithium-arm.cc | 871 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/ |
D | lithium-codegen-x64.cc | 2003 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 …]
|
D | lithium-x64.cc | 903 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/ |
D | lithium-codegen-mips.cc | 1962 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 …]
|
D | lithium-mips.cc | 881 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/ |
D | lithium-codegen-arm64.cc | 1795 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 …]
|
D | lithium-arm64.cc | 938 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/ |
D | lithium-codegen-x87.cc | 2132 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 …]
|
D | lithium-x87.cc | 919 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/ |
D | lithium-codegen-ppc.cc | 2142 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 …]
|
D | lithium-ppc.cc | 886 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/ |
D | lithium-codegen-s390.cc | 2146 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 …]
|
D | lithium-s390.cc | 813 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/ |
D | lithium-codegen-mips64.cc | 2083 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 …]
|
D | lithium-mips64.cc | 881 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/ |
D | bytecode-graph-builder.cc | 1711 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()
|