atan and atan2 are now part of libclc
Implement llvm.trunc intrinsic

Sort some functions while we are here