Home
last modified time | relevance | path

Searched refs:memacc (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32-unittest.cc89 std::ostream& operator<<(std::ostream& os, const MemoryAccess& memacc) { in operator <<() argument
91 ost << memacc.type; in operator <<()
114 const MemoryAccess memacc = GetParam(); in TEST_P() local
115 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32); in TEST_P()
116 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
119 EXPECT_EQ(memacc.load_opcode, s[0]->arch_opcode()); in TEST_P()
126 const MemoryAccess memacc = GetParam(); in TEST_P() local
128 StreamBuilder m(this, memacc.type, kMachPtr); in TEST_P()
129 m.Return(m.Load(memacc.type, m.Int32Constant(base), m.Parameter(0))); in TEST_P()
132 EXPECT_EQ(memacc.load_opcode, s[0]->arch_opcode()); in TEST_P()
[all …]
/external/v8/src/compiler/x64/
Dinstruction-selector-x64-unittest.cc54 std::ostream& operator<<(std::ostream& os, const MemoryAccess& memacc) { in operator <<() argument
56 ost << memacc.type; in operator <<()
81 const MemoryAccess memacc = GetParam(); in TEST_P() local
82 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32); in TEST_P()
83 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
86 EXPECT_EQ(memacc.load_opcode, s[0]->arch_opcode()); in TEST_P()
93 const MemoryAccess memacc = GetParam(); in TEST_P() local
94 StreamBuilder m(this, kMachInt32, kMachPtr, kMachInt32, memacc.type); in TEST_P()
95 m.Store(memacc.type, m.Parameter(0), m.Parameter(1), m.Parameter(2)); in TEST_P()
99 EXPECT_EQ(memacc.store_opcode, s[0]->arch_opcode()); in TEST_P()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64-unittest.cc882 std::ostream& operator<<(std::ostream& os, const MemoryAccess& memacc) { in operator <<() argument
884 ost << memacc.type; in operator <<()
929 const MemoryAccess memacc = GetParam(); in TEST_P() local
930 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32); in TEST_P()
931 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
934 EXPECT_EQ(memacc.ldr_opcode, s[0]->arch_opcode()); in TEST_P()
942 const MemoryAccess memacc = GetParam(); in TEST_P() local
943 TRACED_FOREACH(int32_t, index, memacc.immediates) { in TEST_P()
944 StreamBuilder m(this, memacc.type, kMachPtr); in TEST_P()
945 m.Return(m.Load(memacc.type, m.Parameter(0), m.Int32Constant(index))); in TEST_P()
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm-unittest.cc1206 std::ostream& operator<<(std::ostream& os, const MemoryAccess& memacc) { in operator <<() argument
1208 ost << memacc.type; in operator <<()
1272 const MemoryAccess memacc = GetParam(); in TEST_P() local
1273 StreamBuilder m(this, memacc.type, kMachPtr, kMachInt32); in TEST_P()
1274 m.Return(m.Load(memacc.type, m.Parameter(0), m.Parameter(1))); in TEST_P()
1277 EXPECT_EQ(memacc.ldr_opcode, s[0]->arch_opcode()); in TEST_P()
1281 EXPECT_TRUE((s.*memacc.val_predicate)(s[0]->Output())); in TEST_P()
1286 const MemoryAccess memacc = GetParam(); in TEST_P() local
1287 TRACED_FOREACH(int32_t, index, memacc.immediates) { in TEST_P()
1288 StreamBuilder m(this, memacc.type, kMachPtr); in TEST_P()
[all …]