V8 Project
|
#include <representation-change.h>
Static Public Attributes | |
static const MachineTypeUnion | rWord |
Private Member Functions | |
Node * | TypeError (Node *node, MachineTypeUnion output_type, MachineTypeUnion use) |
Node * | InsertChangeFloat32ToFloat64 (Node *node) |
JSGraph * | jsgraph () |
Isolate * | isolate () |
SimplifiedOperatorBuilder * | simplified () |
MachineOperatorBuilder * | machine () |
Private Attributes | |
JSGraph * | jsgraph_ |
SimplifiedOperatorBuilder * | simplified_ |
Isolate * | isolate_ |
bool | testing_type_errors_ |
bool | type_error_ |
Friends | |
class | RepresentationChangerTester |
Definition at line 21 of file representation-change.h.
|
inline |
Definition at line 23 of file representation-change.h.
|
inline |
Definition at line 346 of file representation-change.h.
References machine(), NULL, and UNREACHABLE.
Referenced by v8::internal::compiler::RepresentationSelector::Float64Op().
|
inline |
Definition at line 258 of file representation-change.h.
References DCHECK, v8::internal::compiler::JSGraph::graph(), v8::internal::handle(), v8::internal::compiler::JSGraph::Int32Constant(), isolate(), jsgraph(), v8::internal::compiler::kRepBit, v8::internal::compiler::kRepTagged, v8::internal::compiler::kRepWord64, v8::internal::compiler::Graph::NewNode(), v8::internal::compiler::JSGraph::OneConstant(), rWord, simplified(), and TypeError().
Referenced by GetRepresentationFor().
|
inline |
Definition at line 119 of file representation-change.h.
References v8::internal::DoubleToFloat32(), v8::internal::compiler::JSGraph::Float32Constant(), v8::internal::compiler::JSGraph::graph(), jsgraph(), v8::internal::compiler::kRepBit, v8::internal::compiler::kRepFloat32, v8::internal::compiler::kRepFloat64, v8::internal::compiler::kRepTagged, v8::internal::compiler::kTypeUint32, machine(), v8::internal::compiler::Graph::NewNode(), rWord, simplified(), and TypeError().
Referenced by GetRepresentationFor().
|
inline |
Definition at line 165 of file representation-change.h.
References v8::internal::compiler::JSGraph::Float64Constant(), v8::internal::compiler::JSGraph::graph(), jsgraph(), v8::internal::compiler::kRepBit, v8::internal::compiler::kRepFloat32, v8::internal::compiler::kRepFloat64, v8::internal::compiler::kRepTagged, v8::internal::compiler::kTypeUint32, machine(), v8::internal::compiler::Graph::NewNode(), rWord, simplified(), and TypeError().
Referenced by GetRepresentationFor().
|
inline |
Definition at line 35 of file representation-change.h.
References GetBitRepresentationFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetTaggedRepresentationFor(), GetWord32RepresentationFor(), GetWord64RepresentationFor(), v8::base::bits::IsPowerOfTwo32(), v8::internal::compiler::kRepBit, v8::internal::compiler::kRepFloat32, v8::internal::compiler::kRepFloat64, v8::internal::compiler::kRepMask, v8::internal::compiler::kRepTagged, v8::internal::compiler::kRepWord64, v8::internal::compiler::kTypeUint32, rWord, and TypeError().
Referenced by v8::internal::compiler::RepresentationSelector::ProcessInput().
|
inline |
Definition at line 70 of file representation-change.h.
References v8::internal::compiler::JSGraph::Constant(), v8::internal::compiler::JSGraph::FalseConstant(), v8::internal::compiler::JSGraph::graph(), InsertChangeFloat32ToFloat64(), jsgraph(), v8::internal::compiler::kRepBit, v8::internal::compiler::kRepFloat32, v8::internal::compiler::kRepFloat64, v8::internal::compiler::kRepTagged, v8::internal::compiler::kTypeInt32, v8::internal::compiler::kTypeUint32, v8::internal::compiler::Graph::NewNode(), rWord, simplified(), v8::internal::compiler::JSGraph::TrueConstant(), and TypeError().
Referenced by GetRepresentationFor().
|
inline |
Definition at line 217 of file representation-change.h.
References v8::internal::compiler::JSGraph::graph(), InsertChangeFloat32ToFloat64(), jsgraph(), v8::internal::compiler::kRepFloat32, v8::internal::compiler::kRepFloat64, v8::internal::compiler::kRepTagged, v8::internal::compiler::kRepWord32, v8::internal::compiler::kTypeUint32, machine(), MakeInt32Constant(), v8::internal::compiler::Graph::NewNode(), NULL, simplified(), and TypeError().
Referenced by GetRepresentationFor().
|
inline |
Definition at line 290 of file representation-change.h.
References v8::internal::compiler::kRepBit, v8::internal::compiler::kRepWord64, and TypeError().
Referenced by GetRepresentationFor().
|
inlineprivate |
Definition at line 417 of file representation-change.h.
References v8::internal::compiler::JSGraph::graph(), jsgraph(), machine(), and v8::internal::compiler::Graph::NewNode().
Referenced by GetTaggedRepresentationFor(), and GetWord32RepresentationFor().
|
inline |
Definition at line 298 of file representation-change.h.
References machine(), NULL, and UNREACHABLE.
Referenced by v8::internal::compiler::RepresentationSelector::Int32Op().
|
inlineprivate |
Definition at line 423 of file representation-change.h.
References isolate_.
Referenced by GetBitRepresentationFor().
|
inlineprivate |
Definition at line 422 of file representation-change.h.
References jsgraph_.
Referenced by GetBitRepresentationFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetTaggedRepresentationFor(), GetWord32RepresentationFor(), InsertChangeFloat32ToFloat64(), machine(), and MakeInt32Constant().
|
inlineprivate |
Definition at line 425 of file representation-change.h.
References jsgraph(), and v8::internal::compiler::JSGraph::machine().
Referenced by Float64OperatorFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetWord32RepresentationFor(), InsertChangeFloat32ToFloat64(), Int32OperatorFor(), and Uint32OperatorFor().
|
inline |
Definition at line 205 of file representation-change.h.
References DCHECK, v8::internal::compiler::JSGraph::Int32Constant(), v8::internal::IsInt32Double(), v8::internal::IsUint32Double(), and jsgraph().
Referenced by GetWord32RepresentationFor().
|
inlineprivate |
Definition at line 424 of file representation-change.h.
References simplified_.
Referenced by GetBitRepresentationFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetTaggedRepresentationFor(), and GetWord32RepresentationFor().
|
inlineprivate |
Definition at line 398 of file representation-change.h.
References v8::internal::OStringStream::c_str(), testing_type_errors_, type_error_, use(), and V8_Fatal().
Referenced by GetBitRepresentationFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetRepresentationFor(), GetTaggedRepresentationFor(), GetWord32RepresentationFor(), and GetWord64RepresentationFor().
|
inline |
Definition at line 374 of file representation-change.h.
References v8::internal::compiler::kMachAnyTagged, v8::internal::compiler::kMachPtr, and v8::internal::compiler::ElementAccess::tag().
|
inline |
Definition at line 370 of file representation-change.h.
References v8::internal::compiler::kMachAnyTagged, v8::internal::compiler::kMachPtr, and v8::internal::compiler::FieldAccess::tag().
Referenced by v8::internal::compiler::RepresentationSelector::VisitNode().
|
inline |
Definition at line 378 of file representation-change.h.
References v8::internal::TypeImpl< Config >::Is(), v8::internal::compiler::kTypeAny, v8::internal::compiler::kTypeBool, v8::internal::compiler::kTypeInt32, v8::internal::compiler::kTypeNumber, v8::internal::compiler::kTypeUint32, and v8::None.
Referenced by v8::internal::compiler::RepresentationSelector::VisitNode(), and v8::internal::compiler::RepresentationSelector::VisitPhi().
|
inline |
Definition at line 322 of file representation-change.h.
References machine(), NULL, and UNREACHABLE.
Referenced by v8::internal::compiler::RepresentationSelector::Uint32Op().
|
friend |
Definition at line 393 of file representation-change.h.
|
private |
Definition at line 391 of file representation-change.h.
Referenced by isolate().
|
private |
Definition at line 389 of file representation-change.h.
Referenced by jsgraph().
|
static |
Definition at line 32 of file representation-change.h.
Referenced by GetBitRepresentationFor(), GetFloat32RepresentationFor(), GetFloat64RepresentationFor(), GetRepresentationFor(), and GetTaggedRepresentationFor().
|
private |
Definition at line 390 of file representation-change.h.
Referenced by simplified().
|
private |
Definition at line 395 of file representation-change.h.
Referenced by TypeError().
|
private |
Definition at line 396 of file representation-change.h.
Referenced by TypeError().