llvm on Android

AndroidSDK r10をインストールしたら、RenderScript用と思われるllvmコンパイラが入ってた。

 $ cd android-sdk-linux_x86/platform-tools
 $ ls -l
 total 19144 
 -rwxrwxrwx 1 koba koba  3703535 2011-03-24 14:10 aapt
 -rwxrwxrwx 1 koba koba   362601 2011-03-24 14:10 adb
 -rwxrwxrwx 1 koba koba   905898 2011-03-24 14:10 aidl
 -rwxrwxrwx 1 koba koba   327500 2011-03-24 14:10 dexdump
 -rwxrwxrwx 1 koba koba     2603 2011-03-24 14:10 dx
 drwxr-xr-x 2 koba koba     4096 2011-03-24 14:10 lib
 -rwxrwxrwx 1 koba koba 14269620 2011-03-24 14:10 llvm-rs-cc
 -rw-r--r-- 1 koba koba    10800 2011-03-24 14:10 NOTICE.txt
 -rw-r--r-- 1 koba koba      291 2011-03-24 14:10 source.properties
 $
$ ./llvm-rs-cc --version
Low Level Virtual Machine (http://llvm.org/):
  llvm version 2.8svn
  Optimized build.
  Built Feb 16 2011 (19:26:29).
  Host: i386-unknown-linux
  Host CPU: corei7

  Registered Targets:
    arm    - ARM
    thumb  - Thumb
    x86    - 32-bit X86: Pentium-Pro and above
    x86-64 - 64-bit X86: EM64T and AMD64
$
$ ./llvm-rs-cc --help
OVERVIEW: RenderScript source compiler

USAGE: llvm-rs-cc [options] 

OPTIONS:
  -I           Add directory to include search path
  -additional-dep-target 
                          Additional targets to show up in dependencies output
  -allow-rs-prefix        Allow user-defined function prefixed with 'rs'
  -bitcode-storage 
                           should be 'ar' or 'jc'
  -emit-asm               Emit target assembly files
  -emit-bc                Build ASTs then convert to LLVM, emit .bc file
  -emit-llvm              Build ASTs then convert to LLVM, emit .ll file
  -emit-nothing           Build ASTs then convert to LLVM, but emit nothing
  -help                   Print this help text
  -java-reflection-package-name 
                          Specify the package name that reflected Java files belong to
  -java-reflection-path-base 
                          Base directory for output reflected Java files
  -output-dep-dir 
                          Specify output directory for dependencies output
  -o           Specify output directory
  -target-cpu      Target a specific cpu type
  -target-feature  Target specific attributes
  -triple          Specify target triple (e.g. i686-apple-darwin9)
  -version                Print the assembler version
$