V8 Project
v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc} Namespace Reference

Classes

struct  DPI
 
struct  ODPI
 
struct  Shift
 
struct  MemoryAccess
 

Typedefs

typedef RawMachineAssembler::Label MLabel
 
typedef Node *(RawMachineAssembler::* Constructor) (Node *, Node *)
 

Functions

std::ostream & operator<< (std::ostream &os, const DPI &dpi)
 
std::ostream & operator<< (std::ostream &os, const ODPI &odpi)
 
std::ostream & operator<< (std::ostream &os, const Shift &shift)
 
std::ostream & operator<< (std::ostream &os, const MemoryAccess &memacc)
 

Variables

static const DPI kDPIs []
 
static const ODPI kODPIs []
 
static const Shift kShifts []
 
static const int32_t kImmediates []
 
static const MemoryAccess kMemoryAccesses []
 

Typedef Documentation

◆ Constructor

typedef Node*(RawMachineAssembler::* v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::Constructor) (Node *, Node *)

Definition at line 14 of file instruction-selector-arm-unittest.cc.

◆ MLabel

typedef RawMachineAssembler::Label v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::MLabel

Definition at line 13 of file instruction-selector-arm-unittest.cc.

Function Documentation

◆ operator<<() [1/4]

std::ostream& v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::operator<< ( std::ostream &  os,
const DPI dpi 
)

Definition at line 27 of file instruction-selector-arm-unittest.cc.

27  {
28  return os << dpi.constructor_name;
29 }

References v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::DPI::constructor_name.

◆ operator<<() [2/4]

std::ostream& v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::operator<< ( std::ostream &  os,
const MemoryAccess memacc 
)

Definition at line 1206 of file instruction-selector-arm-unittest.cc.

1206  {
1207  OStringStream ost;
1208  ost << memacc.type;
1209  return os << ost.c_str();
1210 }

References v8::internal::OStringStream::c_str(), and v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::MemoryAccess::type.

+ Here is the call graph for this function:

◆ operator<<() [3/4]

std::ostream& v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::operator<< ( std::ostream &  os,
const ODPI odpi 
)

Definition at line 49 of file instruction-selector-arm-unittest.cc.

49  {
50  return os << odpi.constructor_name;
51 }

References v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::ODPI::constructor_name.

◆ operator<<() [4/4]

std::ostream& v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::operator<< ( std::ostream &  os,
const Shift shift 
)

Definition at line 71 of file instruction-selector-arm-unittest.cc.

71  {
72  return os << shift.constructor_name;
73 }
enable harmony numeric enable harmony object literal extensions Optimize object Array shift

References shift.

Variable Documentation

◆ kDPIs

const DPI v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::kDPIs[]
static
Initial value:
= {
{&RawMachineAssembler::Word32And, "Word32And", kArmAnd, kArmAnd, kArmTst},
{&RawMachineAssembler::Word32Or, "Word32Or", kArmOrr, kArmOrr, kArmOrr},
{&RawMachineAssembler::Word32Xor, "Word32Xor", kArmEor, kArmEor, kArmTeq},
{&RawMachineAssembler::Int32Add, "Int32Add", kArmAdd, kArmAdd, kArmCmn},
{&RawMachineAssembler::Int32Sub, "Int32Sub", kArmSub, kArmRsb, kArmCmp}}

Definition at line 32 of file instruction-selector-arm-unittest.cc.

◆ kImmediates

const int32_t v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::kImmediates[]
static
Initial value:
= {
-2147483617, -2147483606, -2113929216, -2080374784, -1996488704,
-1879048192, -1459617792, -1358954496, -1342177265, -1275068414,
-1073741818, -1073741777, -855638016, -805306368, -402653184,
-268435444, -16777216, 0, 35, 61,
105, 116, 171, 245, 255,
692, 1216, 1248, 1520, 1600,
1888, 3744, 4080, 5888, 8384,
9344, 9472, 9792, 13312, 15040,
15360, 20736, 22272, 23296, 32000,
33536, 37120, 45824, 47872, 56320,
59392, 65280, 72704, 101376, 147456,
161792, 164864, 167936, 173056, 195584,
209920, 212992, 356352, 655360, 704512,
716800, 851968, 901120, 1044480, 1523712,
2572288, 3211264, 3588096, 3833856, 3866624,
4325376, 5177344, 6488064, 7012352, 7471104,
14090240, 16711680, 19398656, 22282240, 28573696,
30408704, 30670848, 43253760, 54525952, 55312384,
56623104, 68157440, 115343360, 131072000, 187695104,
188743680, 195035136, 197132288, 203423744, 218103808,
267386880, 268435470, 285212672, 402653185, 415236096,
595591168, 603979776, 603979778, 629145600, 1073741835,
1073741855, 1073741861, 1073741884, 1157627904, 1476395008,
1476395010, 1610612741, 2030043136, 2080374785, 2097152000}

Definition at line 88 of file instruction-selector-arm-unittest.cc.

Referenced by v8::internal::compiler::TEST_F(), and v8::internal::compiler::TEST_P().

◆ kMemoryAccesses

const MemoryAccess v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::kMemoryAccesses[]
static

Definition at line 1213 of file instruction-selector-arm-unittest.cc.

◆ kODPIs

const ODPI v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::kODPIs[]
static
Initial value:
= {{&RawMachineAssembler::Int32AddWithOverflow,
"Int32AddWithOverflow", kArmAdd, kArmAdd},
{&RawMachineAssembler::Int32SubWithOverflow,
"Int32SubWithOverflow", kArmSub, kArmRsb}}

Definition at line 54 of file instruction-selector-arm-unittest.cc.

◆ kShifts

const Shift v8::internal::compiler::anonymous_namespace{instruction-selector-arm-unittest.cc}::kShifts[]
static
Initial value:
= {
{&RawMachineAssembler::Word32Sar, "Word32Sar", 1, 32,
kMode_Operand2_R_ASR_I, kMode_Operand2_R_ASR_R},
{&RawMachineAssembler::Word32Shl, "Word32Shl", 0, 31,
kMode_Operand2_R_LSL_I, kMode_Operand2_R_LSL_R},
{&RawMachineAssembler::Word32Shr, "Word32Shr", 1, 32,
kMode_Operand2_R_LSR_I, kMode_Operand2_R_LSR_R},
{&RawMachineAssembler::Word32Ror, "Word32Ror", 1, 31,
kMode_Operand2_R_ROR_I, kMode_Operand2_R_ROR_R}}

Definition at line 76 of file instruction-selector-arm-unittest.cc.

Referenced by v8::internal::compiler::TEST_P().