static single assignment in clang

Hi,
  During which part of compilation does clang generate the SSA form? I have
a program that creates and parses an AST. Can I access the use def chains
for a variable?

Regards,
Adil

Hi,
  During which part of compilation does clang generate the SSA form?

During lowering to LLVM IR. (well, I suspect Clang emits lots of
things/everything as memory operands & then LLVM's mem2reg cleans it
all up into more SSA variable usage)

I have
a program that creates and parses an AST. Can I access the use def chains
for a variable?

Not so much, no (so far as I understand it). We don't build a
full-input-language-fidelity SSA graph.

- David