The operands for an llvm::User (e.g. instruction) are llvm::Values.
After the mem2reg pass, variables are in SSA form, and their names as corresponding to t
If you are using a recent version of Clang some of the other approaches will not work. Instead, use the -fno-discard-value-names flag for clang. This will make the llvm::Values keep their original names