Added a few constant-expression helpers.
Add fast path for integer constants. Make note of LLVM bug.