Lines Matching defs:state
18 /// This structure tracks the state of the interactive debugger.
56 DebuggerState &state = getGlobalDebuggerState();
57 if (!state.actionActiveStack) {
62 state.actionActiveStack->getAction().getContextIRUnits();
74 DebuggerState &state = getGlobalDebuggerState();
75 if (!state.actionActiveStack) {
79 state.actionActiveStack->print(llvm::outs(), withContext);
87 auto &state = getGlobalDebuggerState();
88 if (!state.cursor) {
92 state.cursor.print(llvm::outs(), OpPrintingFlags()
100 auto &state = getGlobalDebuggerState();
101 if (!state.actionActiveStack) {
106 state.actionActiveStack->getAction().getContextIRUnits();
112 state.cursor = units[index];
113 state.cursor.print(llvm::outs());
118 auto &state = getGlobalDebuggerState();
119 if (!state.cursor) {
123 IRUnit *unit = &state.cursor;
125 state.cursor = op->getBlock();
127 state.cursor = region->getParentOp();
129 state.cursor = block->getParent();
134 state.cursor.print(llvm::outs());
139 auto &state = getGlobalDebuggerState();
140 if (!state.cursor) {
144 IRUnit *unit = &state.cursor;
151 state.cursor = &op->getRegion(index);
165 state.cursor = &*block;
179 state.cursor = &*op;
184 state.cursor.print(llvm::outs());
189 auto &state = getGlobalDebuggerState();
190 if (!state.cursor) {
194 IRUnit *unit = &state.cursor;
201 state.cursor = previous;
213 state.cursor =
221 state.cursor = previous;
226 state.cursor.print(llvm::outs());
231 auto &state = getGlobalDebuggerState();
232 if (!state.cursor) {
236 IRUnit *unit = &state.cursor;
243 state.cursor = next;
254 state.cursor =
262 state.cursor = next;
267 state.cursor.print(llvm::outs());
284 DebuggerState &state = getGlobalDebuggerState();
286 state.tagBreakpointManager.addBreakpoint(StringRef(tag, strlen(tag)));
287 int breakpointId = state.breakpointIdsMap.size() + 1;
288 state.breakpointIdsMap[breakpointId] = breakpoint;
336 auto &state = getGlobalDebuggerState();
337 state.actionActiveStack = actionStack;
350 auto &state = getGlobalDebuggerState();
351 state.actionActiveStack = action;
354 auto &state = getGlobalDebuggerState();
355 state.actionActiveStack = action->getParent();
356 state.cursor = nullptr;
364 DebuggerState &state = getGlobalDebuggerState();
367 executionContext.addBreakpointManager(&state.fileLineColLocBreakpointManager);
368 executionContext.addBreakpointManager(&state.tagBreakpointManager);