Lines Matching refs:opcodes

43   DebugFrameOpCodeWriter<> opcodes;  in TEST_F()  local
50 opcodes.AdvancePC(pc); in TEST_F()
59 opcodes.DefCFA(reg, offset); in TEST_F()
61 opcodes.DefCFA(reg, -offset); in TEST_F()
63 opcodes.DefCFARegister(reg); in TEST_F()
65 opcodes.DefCFAOffset(offset); in TEST_F()
67 opcodes.DefCFAOffset(-offset); in TEST_F()
70 opcodes.DefCFAExpression(expr, arraysize(expr)); in TEST_F()
72 opcodes.Undefined(reg); in TEST_F()
74 opcodes.SameValue(reg); in TEST_F()
76 opcodes.Offset(Reg(0x3F), -offset); in TEST_F()
78 opcodes.Offset(Reg(0x40), -offset); in TEST_F()
80 opcodes.Offset(Reg(0x40), offset); in TEST_F()
82 opcodes.ValOffset(reg, -offset); in TEST_F()
84 opcodes.ValOffset(reg, offset); in TEST_F()
86 opcodes.Register(reg, Reg(1)); in TEST_F()
88 opcodes.Expression(reg, expr, arraysize(expr)); in TEST_F()
90 opcodes.ValExpression(reg, expr, arraysize(expr)); in TEST_F()
92 opcodes.Restore(Reg(0x3F)); in TEST_F()
94 opcodes.Restore(Reg(0x40)); in TEST_F()
96 opcodes.Restore(reg); in TEST_F()
98 opcodes.RememberState(); in TEST_F()
100 opcodes.RestoreState(); in TEST_F()
102 opcodes.Nop(); in TEST_F()
106 opcodes.DefCFA(Reg(4), 100); // ESP in TEST_F()
108 opcodes.AdjustCFAOffset(8); in TEST_F()
110 opcodes.RelOffset(Reg(0), 0); // push R0 in TEST_F()
112 opcodes.RelOffset(Reg(1), 4); // push R1 in TEST_F()
114 opcodes.RelOffsetForMany(Reg(2), 8, 1 | (1 << 3), 4); // push R2 and R5 in TEST_F()
117 opcodes.RestoreMany(Reg(2), 1 | (1 << 3)); // pop R2 and R5 in TEST_F()
127 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
137 DebugFrameOpCodeWriter<> opcodes; in TEST_F() local
143 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
154 DebugFrameOpCodeWriter<> opcodes; in TEST_F() local
157 opcodes.RelOffset(Reg::X86_64Core(i), 0); in TEST_F()
184 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
193 DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits); in TEST_F() local
226 opcodes.SetAddress(0x01000000); in TEST_F()
227 opcodes.SetIsStmt(true); in TEST_F()
228 opcodes.AddRow(); in TEST_F()
229 opcodes.AdvancePC(0x01000100); in TEST_F()
230 opcodes.SetFile(2); in TEST_F()
231 opcodes.AdvanceLine(3); in TEST_F()
232 opcodes.SetColumn(4); in TEST_F()
233 opcodes.SetIsStmt(false); in TEST_F()
234 opcodes.SetBasicBlock(); in TEST_F()
235 opcodes.SetPrologueEnd(); in TEST_F()
236 opcodes.SetEpilogueBegin(); in TEST_F()
237 opcodes.SetISA(5); in TEST_F()
238 opcodes.EndSequence(); in TEST_F()
239 opcodes.DefineFile("file.c", 0, 1000, 2000); in TEST_F()
245 WriteDebugLineTable(include_directories, files, opcodes, &debug_line_data_); in TEST_F()
256 DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits); in TEST_F() local
257 opcodes.SetAddress(pc); in TEST_F()
268 opcodes.AddRow(pc, line); in TEST_F()
270 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F()
271 ASSERT_EQ(opcodes.CurrentLine(), line); in TEST_F()
277 opcodes.EndSequence(); in TEST_F()
278 EXPECT_LT(opcodes.data()->size(), num_rows * 3); in TEST_F()
282 WriteDebugLineTable(directories, files, opcodes, &debug_line_data_); in TEST_F()