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

Classes

struct  MemoryAccess
 

Functions

std::ostream & operator<< (std::ostream &os, const MemoryAccess &memacc)
 

Variables

static const int32_t kImmediates []
 
static const MemoryAccess kMemoryAccesses []
 

Function Documentation

◆ operator<<()

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

Definition at line 148 of file instruction-selector-ia32-unittest.cc.

148  {
149  OStringStream ost;
150  ost << memacc.type;
151  return os << ost.c_str();
152 }

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

+ Here is the call graph for this function:

Variable Documentation

◆ kImmediates

const int32_t v8::internal::compiler::anonymous_namespace{instruction-selector-ia32-unittest.cc}::kImmediates[]
static
Initial value:
= {
kMinInt, -42, -1, 0, 1, 2, 3, 4, 5,
6, 7, 8, 16, 42, 0xff, 0xffff, 0x0f0f0f0f, kMaxInt}
const int kMaxInt
Definition: globals.h:109
const int kMinInt
Definition: globals.h:110

Definition at line 14 of file instruction-selector-ia32-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-ia32-unittest.cc}::kMemoryAccesses[]
static
Initial value:
= {
{kMachInt8, kIA32Movsxbl, kIA32Movb},
{kMachUint8, kIA32Movzxbl, kIA32Movb},
{kMachInt16, kIA32Movsxwl, kIA32Movw},
{kMachUint16, kIA32Movzxwl, kIA32Movw},
{kMachInt32, kIA32Movl, kIA32Movl},
{kMachUint32, kIA32Movl, kIA32Movl},
{kMachFloat32, kIA32Movss, kIA32Movss},
{kMachFloat64, kIA32Movsd, kIA32Movsd}}

Definition at line 155 of file instruction-selector-ia32-unittest.cc.