Lines Matching defs:pos

46 	insn->pos = current_pos;
67 static struct basic_block *alloc_basic_block(struct entrypoint *ep, struct position pos)
71 bb->pos = pos;
514 printf("%s:%d\n", stream_name(bb->pos.stream), bb->pos.line);
542 stream_name(from->pos.stream), from->pos.line, from->pos.pos);
550 stream_name(to->pos.stream), to->pos.line, to->pos.pos);
629 static void bind_label(struct symbol *label, struct basic_block *bb, struct position pos)
632 warning(pos, "label '%s' already bound", show_ident(label->ident));
641 bb = alloc_basic_block(ep, label->pos);
732 bb = alloc_basic_block(ep, label->pos);
962 warning(expr->pos, "generating address of non-lvalue (%d)", expr->type);
1362 const struct position pos = current_pos;
1383 warning(pos, "non size-preserving integer to pointer cast");
1391 warning(pos, "non size-preserving pointer to integer cast");
1661 bb_false = alloc_basic_block(ep, expr_false->pos);
1662 merge = alloc_basic_block(ep, expr->pos);
1687 bb_true = alloc_basic_block(ep, expr_true->pos);
1688 bb_false = alloc_basic_block(ep, expr_false->pos);
1689 merge = alloc_basic_block(ep, expr->pos);
1728 other = alloc_basic_block(ep, expr->right->pos);
1729 merge = alloc_basic_block(ep, expr->pos);
1815 struct basic_block *next = alloc_basic_block(ep, expr->pos);
1877 current_pos = expr->pos;
1943 warning(expr->pos, "unexpected initializer expression (%d %d)", expr->type, expr->op);
1946 warning(expr->pos, "unknown expression (%d %d)", expr->type, expr->op);
2055 bb->pos = stmt->pos;
2140 warning(stmt->pos, "expected string in inline asm");
2231 struct basic_block *switch_end = alloc_basic_block(ep, stmt->pos);
2242 active = alloc_basic_block(ep, stmt->pos);
2279 bind_label(stmt->switch_break, switch_end, stmt->pos);
2313 loop_body = loop_top = alloc_basic_block(ep, stmt->pos);
2314 loop_continue = alloc_basic_block(ep, stmt->pos);
2315 loop_end = alloc_basic_block(ep, stmt->pos);
2319 loop_top = alloc_basic_block(ep, stmt->pos);
2326 bind_label(stmt->iterator_continue, loop_continue, stmt->pos);
2327 bind_label(stmt->iterator_break, loop_end, stmt->pos);
2353 bb->pos = stmt->pos;
2354 current_pos = stmt->pos;
2449 bb_true = alloc_basic_block(ep, stmt->pos);
2450 bb_false = endif = alloc_basic_block(ep, stmt->pos);
2462 endif = alloc_basic_block(ep, stmt->pos);
2493 warning(insn->pos, "divide by zero");
2504 warning(insn->pos, "shift count is negative (%lld)", sval);
2506 warning(insn->pos, "shift too big (%llu) for type %s", uval, show_typename(insn->type));
2550 bb = alloc_basic_block(ep, sym->pos);
2588 current_pos = sym->pos;