Home
last modified time | relevance | path

Searched refs:MachineSemantic (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/
Dmachine-type.h30 enum class MachineSemantic : uint8_t { enum
45 semantic_(MachineSemantic::kNone) {} in MachineType()
46 MachineType(MachineRepresentation representation, MachineSemantic semantic) in MachineType()
58 MachineSemantic semantic() const { return semantic_; } in semantic()
61 return semantic() == MachineSemantic::kInt32 || in IsSigned()
62 semantic() == MachineSemantic::kInt64; in IsSigned()
65 return semantic() == MachineSemantic::kUint32 || in IsUnsigned()
66 semantic() == MachineSemantic::kUint64; in IsUnsigned()
74 return MachineType(PointerRepresentation(), MachineSemantic::kNone); in Pointer()
81 MachineSemantic::kNumber); in Float32()
[all …]
Dmachine-type.cc37 std::ostream& operator<<(std::ostream& os, MachineSemantic type) { in operator <<()
39 case MachineSemantic::kNone: in operator <<()
41 case MachineSemantic::kBool: in operator <<()
43 case MachineSemantic::kInt32: in operator <<()
45 case MachineSemantic::kUint32: in operator <<()
47 case MachineSemantic::kInt64: in operator <<()
49 case MachineSemantic::kUint64: in operator <<()
51 case MachineSemantic::kNumber: in operator <<()
53 case MachineSemantic::kAny: in operator <<()
66 } else if (type.semantic() == MachineSemantic::kNone) { in operator <<()
/external/v8/test/unittests/compiler/
Dsimplified-operator-unittest.cc218 MachineType(MachineRepresentation::kFloat32, MachineSemantic::kNone)},
220 MachineType(MachineRepresentation::kFloat64, MachineSemantic::kNone)},
234 MachineType(MachineRepresentation::kFloat32, MachineSemantic::kNone)},
236 MachineType(MachineRepresentation::kFloat32, MachineSemantic::kNone)}};
/external/v8/src/compiler/
Dsimplified-lowering.cc469 case MachineSemantic::kNone: in SetOutputFromMachineType()
472 case MachineSemantic::kBool: in SetOutputFromMachineType()
475 case MachineSemantic::kInt32: in SetOutputFromMachineType()
478 case MachineSemantic::kUint32: in SetOutputFromMachineType()
481 case MachineSemantic::kInt64: in SetOutputFromMachineType()
485 case MachineSemantic::kUint64: in SetOutputFromMachineType()
489 case MachineSemantic::kNumber: in SetOutputFromMachineType()
492 case MachineSemantic::kAny: in SetOutputFromMachineType()
777 MachineSemantic DeoptValueSemanticOf(Type* type) { in DeoptValueSemanticOf()
781 return MachineSemantic::kInt32; in DeoptValueSemanticOf()
[all …]
/external/v8/test/cctest/compiler/
Dtest-simplified-lowering.cc746 if (type.semantic() == MachineSemantic::kInt32) { in ExampleWithOutput()
749 } else if (type.semantic() == MachineSemantic::kUint32) { in ExampleWithOutput()
770 if (type.semantic() == MachineSemantic::kInt32) { in Use()
773 } else if (type.semantic() == MachineSemantic::kUint32) { in Use()