LLVMIR sorts and LLVMCode transformation