• Home
  • Raw
  • Download

Lines Matching refs:opcodes

44   DebugFrameOpCodeWriter<> opcodes;  in TEST_F()  local
49 opcodes.AdvancePC(pc); in TEST_F()
58 opcodes.DefCFA(reg, offset); in TEST_F()
60 opcodes.DefCFA(reg, -offset); in TEST_F()
62 opcodes.DefCFARegister(reg); in TEST_F()
64 opcodes.DefCFAOffset(offset); in TEST_F()
66 opcodes.DefCFAOffset(-offset); in TEST_F()
69 opcodes.DefCFAExpression(expr, arraysize(expr)); in TEST_F()
71 opcodes.Undefined(reg); in TEST_F()
73 opcodes.SameValue(reg); in TEST_F()
75 opcodes.Offset(Reg(0x3F), -offset); in TEST_F()
77 opcodes.Offset(Reg(0x40), -offset); in TEST_F()
79 opcodes.Offset(Reg(0x40), offset); in TEST_F()
81 opcodes.ValOffset(reg, -offset); in TEST_F()
83 opcodes.ValOffset(reg, offset); in TEST_F()
85 opcodes.Register(reg, Reg(1)); in TEST_F()
87 opcodes.Expression(reg, expr, arraysize(expr)); in TEST_F()
89 opcodes.ValExpression(reg, expr, arraysize(expr)); in TEST_F()
91 opcodes.Restore(Reg(0x3F)); in TEST_F()
93 opcodes.Restore(Reg(0x40)); in TEST_F()
95 opcodes.Restore(reg); in TEST_F()
97 opcodes.RememberState(); in TEST_F()
99 opcodes.RestoreState(); in TEST_F()
101 opcodes.Nop(); in TEST_F()
105 opcodes.DefCFA(Reg(4), 100); // ESP in TEST_F()
107 opcodes.AdjustCFAOffset(8); in TEST_F()
109 opcodes.RelOffset(Reg(0), 0); // push R0 in TEST_F()
111 opcodes.RelOffset(Reg(1), 4); // push R1 in TEST_F()
113 opcodes.RelOffsetForMany(Reg(2), 8, 1 | (1 << 3), 4); // push R2 and R5 in TEST_F()
116 opcodes.RestoreMany(Reg(2), 1 | (1 << 3)); // pop R2 and R5 in TEST_F()
126 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
136 DebugFrameOpCodeWriter<> opcodes; in TEST_F() local
141 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
152 DebugFrameOpCodeWriter<> opcodes; in TEST_F() local
154 opcodes.RelOffset(Reg::X86_64Core(i), 0); in TEST_F()
179 ArrayRef<const uint8_t>(*opcodes.data()), in TEST_F()
188 DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits); in TEST_F() local
204 opcodes.SetAddress(0x01000000); in TEST_F()
206 opcodes.AddRow(); in TEST_F()
208 opcodes.AdvancePC(0x01000100); in TEST_F()
210 opcodes.SetFile(2); in TEST_F()
212 opcodes.AdvanceLine(3); in TEST_F()
214 opcodes.SetColumn(4); in TEST_F()
216 opcodes.SetIsStmt(true); in TEST_F()
218 opcodes.SetIsStmt(false); in TEST_F()
220 opcodes.SetBasicBlock(); in TEST_F()
222 opcodes.SetPrologueEnd(); in TEST_F()
224 opcodes.SetEpilogueBegin(); in TEST_F()
226 opcodes.SetISA(5); in TEST_F()
228 opcodes.EndSequence(); in TEST_F()
230 opcodes.DefineFile("file.c", 0, 1000, 2000); in TEST_F()
235 WriteDebugLineTable(include_directories, files, opcodes, &debug_line_data_); in TEST_F()
246 DebugLineOpCodeWriter<> opcodes(is64bit, code_factor_bits); in TEST_F() local
247 opcodes.SetAddress(pc); in TEST_F()
258 opcodes.AddRow(pc, line); in TEST_F()
260 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F()
261 ASSERT_EQ(opcodes.CurrentLine(), line); in TEST_F()
267 EXPECT_LT(opcodes.data()->size(), num_rows * 3); in TEST_F()
271 WriteDebugLineTable(directories, files, opcodes, &debug_line_data_); in TEST_F()