V8 Project
|
#include <instruction-selector-impl.h>
Protected Member Functions | |
Graph * | graph () const |
InstructionSelector * | selector () const |
InstructionSequence * | sequence () const |
Isolate * | isolate () const |
Zone * | zone () const |
Private Member Functions | |
UnallocatedOperand * | Define (Node *node, UnallocatedOperand *operand) |
UnallocatedOperand * | Use (Node *node, UnallocatedOperand *operand) |
UnallocatedOperand * | ToUnallocatedOperand (LinkageLocation location, MachineType type) |
Static Private Member Functions | |
static Constant | ToConstant (const Node *node) |
Private Attributes | |
InstructionSelector * | selector_ |
Definition at line 18 of file instruction-selector-impl.h.
|
inlineexplicit |
Definition at line 20 of file instruction-selector-impl.h.
|
inlineprivate |
Definition at line 165 of file instruction-selector-impl.h.
References DCHECK_NOT_NULL, selector(), and v8::internal::compiler::UnallocatedOperand::set_virtual_register().
Referenced by DefineAsFixed(), DefineAsLocation(), DefineAsRegister(), and DefineSameAsFirst().
|
inline |
Definition at line 45 of file instruction-selector-impl.h.
References selector(), sequence(), ToConstant(), and zone().
|
inline |
Definition at line 39 of file instruction-selector-impl.h.
References Define(), v8::internal::compiler::UnallocatedOperand::FIXED_DOUBLE_REGISTER, v8::internal::DwVfpRegister::ToAllocationIndex(), and zone().
|
inline |
Definition at line 33 of file instruction-selector-impl.h.
References Define(), v8::internal::compiler::UnallocatedOperand::FIXED_REGISTER, v8::internal::Register::ToAllocationIndex(), and zone().
|
inline |
Definition at line 51 of file instruction-selector-impl.h.
References Define(), and ToUnallocatedOperand().
|
inline |
Definition at line 23 of file instruction-selector-impl.h.
References Define(), v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, and zone().
Referenced by v8::internal::compiler::EmitBic(), v8::internal::compiler::VisitBinop(), v8::internal::compiler::VisitDiv(), v8::internal::compiler::VisitMod(), v8::internal::compiler::VisitRRRFloat64(), v8::internal::compiler::VisitShift(), and v8::internal::compiler::VisitWordCompare().
|
inline |
Definition at line 28 of file instruction-selector-impl.h.
References Define(), v8::internal::compiler::UnallocatedOperand::SAME_AS_FIRST_INPUT, and zone().
|
inlineprotected |
Definition at line 136 of file instruction-selector-impl.h.
References selector().
|
inlineprotected |
Definition at line 139 of file instruction-selector-impl.h.
References v8::internal::Zone::isolate(), and zone().
|
inline |
Definition at line 130 of file instruction-selector-impl.h.
References TempImmediate().
Referenced by v8::internal::compiler::VisitBinop(), v8::internal::compiler::VisitShift(), and v8::internal::compiler::VisitWordCompare().
|
inlineprotected |
Definition at line 137 of file instruction-selector-impl.h.
References selector_.
Referenced by Define(), DefineAsConstant(), graph(), sequence(), Use(), and zone().
|
inlineprotected |
Definition at line 138 of file instruction-selector-impl.h.
References selector().
Referenced by DefineAsConstant(), TempDoubleRegister(), TempImmediate(), TempRegister(), and UseImmediate().
|
inline |
Definition at line 111 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, sequence(), v8::internal::compiler::UnallocatedOperand::set_virtual_register(), v8::internal::compiler::UnallocatedOperand::USED_AT_START, v8::internal::compiler::UnallocatedOperand::virtual_register(), and zone().
Referenced by v8::internal::compiler::EmitDiv().
|
inline |
Definition at line 125 of file instruction-selector-impl.h.
References sequence(), and zone().
Referenced by Label().
|
inline |
Definition at line 103 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, sequence(), v8::internal::compiler::UnallocatedOperand::set_virtual_register(), v8::internal::compiler::UnallocatedOperand::USED_AT_START, and zone().
Referenced by v8::internal::compiler::VisitMod().
|
inline |
Definition at line 120 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::FIXED_REGISTER, v8::internal::Register::ToAllocationIndex(), and zone().
|
inlinestaticprivate |
Definition at line 143 of file instruction-selector-impl.h.
References v8::internal::handle(), v8::internal::compiler::OpParameter(), and UNREACHABLE.
Referenced by DefineAsConstant(), and UseImmediate().
|
inlineprivate |
Definition at line 181 of file instruction-selector-impl.h.
References v8::internal::compiler::LinkageLocation::ANY_REGISTER, v8::internal::compiler::UnallocatedOperand::FIXED_DOUBLE_REGISTER, v8::internal::compiler::UnallocatedOperand::FIXED_REGISTER, v8::internal::compiler::UnallocatedOperand::FIXED_SLOT, v8::internal::compiler::kRepFloat64, v8::internal::compiler::LinkageLocation::location_, v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, v8::internal::compiler::RepresentationOf(), and zone().
Referenced by DefineAsLocation(), and UseLocation().
|
inline |
Definition at line 56 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::ANY, v8::internal::compiler::UnallocatedOperand::USED_AT_START, and zone().
Referenced by UseFixed(), UseLocation(), UseRegister(), UseUnique(), and UseUniqueRegister().
|
inlineprivate |
Definition at line 173 of file instruction-selector-impl.h.
References DCHECK_NOT_NULL, selector(), and v8::internal::compiler::UnallocatedOperand::set_virtual_register().
|
inline |
Definition at line 87 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::FIXED_DOUBLE_REGISTER, v8::internal::DwVfpRegister::ToAllocationIndex(), Use(), and zone().
|
inline |
Definition at line 81 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::FIXED_REGISTER, v8::internal::Register::ToAllocationIndex(), Use(), and zone().
|
inline |
Definition at line 93 of file instruction-selector-impl.h.
References sequence(), ToConstant(), and zone().
Referenced by v8::internal::compiler::TryMatchASR(), v8::internal::compiler::TryMatchImmediateOrShift(), v8::internal::compiler::TryMatchLSL(), v8::internal::compiler::TryMatchLSR(), v8::internal::compiler::TryMatchROR(), v8::internal::compiler::ArmOperandGenerator::UseOperand(), and v8::internal::compiler::UseOrImmediate().
|
inline |
Definition at line 98 of file instruction-selector-impl.h.
References ToUnallocatedOperand(), and Use().
|
inline |
Definition at line 62 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, Use(), v8::internal::compiler::UnallocatedOperand::USED_AT_START, and zone().
Referenced by v8::internal::compiler::EmitBic(), v8::internal::compiler::TryMatchASR(), v8::internal::compiler::TryMatchLSL(), v8::internal::compiler::TryMatchLSR(), v8::internal::compiler::TryMatchROR(), v8::internal::compiler::ArmOperandGenerator::UseOperand(), v8::internal::compiler::VisitBinop(), v8::internal::compiler::VisitDiv(), v8::internal::compiler::VisitMod(), v8::internal::compiler::VisitRRRFloat64(), and v8::internal::compiler::VisitWordCompare().
|
inline |
Definition at line 70 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::ANY, Use(), and zone().
Referenced by v8::internal::compiler::UseOrImmediate().
|
inline |
Definition at line 76 of file instruction-selector-impl.h.
References v8::internal::compiler::UnallocatedOperand::MUST_HAVE_REGISTER, Use(), and zone().
|
inlineprotected |
Definition at line 140 of file instruction-selector-impl.h.
References selector().
Referenced by DefineAsConstant(), DefineAsFixed(), DefineAsRegister(), DefineSameAsFirst(), isolate(), TempDoubleRegister(), TempImmediate(), TempRegister(), ToUnallocatedOperand(), Use(), UseFixed(), UseImmediate(), UseRegister(), UseUnique(), and UseUniqueRegister().
|
private |
Definition at line 199 of file instruction-selector-impl.h.
Referenced by selector().