Home
last modified time | relevance | path

Searched refs:TruncationMode (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/compiler/
Dmachine-operator.cc15 std::ostream& operator<<(std::ostream& os, TruncationMode mode) { in operator <<()
17 case TruncationMode::kJavaScript: in operator <<()
19 case TruncationMode::kRoundToZero: in operator <<()
27 TruncationMode TruncationModeOf(Operator const* op) { in TruncationModeOf()
29 return OpParameter<TruncationMode>(op); in TruncationModeOf()
250 template <TruncationMode kMode>
252 : public Operator1<TruncationMode> {
254 : Operator1<TruncationMode>(IrOpcode::kTruncateFloat64ToInt32, in TruncateFloat64ToInt32Operator()
258 TruncateFloat64ToInt32Operator<TruncationMode::kJavaScript>
260 TruncateFloat64ToInt32Operator<TruncationMode::kRoundToZero>
[all …]
Dmachine-operator.h37 enum class TruncationMode : uint8_t { enum
42 V8_INLINE size_t hash_value(TruncationMode mode) { in hash_value()
46 std::ostream& operator<<(std::ostream&, TruncationMode);
48 TruncationMode TruncationModeOf(Operator const*);
228 const Operator* TruncateFloat64ToInt32(TruncationMode);
Drepresentation-change.cc350 op = machine()->TruncateFloat64ToInt32(TruncationMode::kJavaScript); in GetWord32RepresentationFor()
360 op = machine()->TruncateFloat64ToInt32(TruncationMode::kJavaScript); in GetWord32RepresentationFor()
370 op = machine()->TruncateFloat64ToInt32(TruncationMode::kJavaScript); in GetWord32RepresentationFor()
Dchange-lowering.cc169 machine()->TruncateFloat64ToInt32(TruncationMode::kRoundToZero), value); in ChangeFloat64ToTagged()
Dwasm-compiler.cc1489 TruncationMode::kJavaScript), in FromJS()
1496 TruncationMode::kJavaScript), in FromJS()
Draw-machine-assembler.h476 Node* TruncateFloat64ToInt32(TruncationMode mode, Node* a) { in TruncateFloat64ToInt32()
/external/v8/test/unittests/compiler/
Dmachine-operator-reducer-unittest.cc239 const TruncationMode kTruncationModes[] = {TruncationMode::kJavaScript,
240 TruncationMode::kRoundToZero};
421 TRACED_FOREACH(TruncationMode, mode, kTruncationModes) { in TEST_F()
435 machine()->TruncateFloat64ToInt32(TruncationMode::kJavaScript), in TEST_F()
447 TRACED_FOREACH(TruncationMode, mode, kTruncationModes) { in TEST_F()
Dinstruction-selector-unittest.cc206 m.TruncateFloat64ToInt32(TruncationMode::kJavaScript, m.Parameter(0))); in TARGET_TEST_F()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc602 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
604 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc725 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
727 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/x87/
Dinstruction-selector-x87.cc695 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
699 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc1004 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
1006 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc1017 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
1019 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc951 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
953 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc1005 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
1007 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc1362 case TruncationMode::kJavaScript: in VisitTruncateFloat64ToInt32()
1364 case TruncationMode::kRoundToZero: in VisitTruncateFloat64ToInt32()
/external/v8/test/cctest/compiler/
Dtest-run-machops.cc5210 TruncationMode::kJavaScript, in TEST()