newId static method

int newId()

Generates a new unique ID for node identification.

Returns: A unique integer ID that increments with each call

This ID is used for generating unique LLVM register names and labels to avoid conflicts in the generated IR code.

Implementation

static int newId() {
  return i++;
}