Migrate to LLVM 2.6 (KS Sreeram) (Issue #25)

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@83 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-10-28 06:02:04 +00:00
commit 5901f8d32b
9 changed files with 897 additions and 803 deletions

1
tools/genopcodes.sh Executable file
View file

@ -0,0 +1 @@
cat ~/local/include/llvm/Instruction.def | grep '^HANDLE' | sed -e 's/^[^(]*(//' | sed -e 's#).*$##' | sed -e 's/,[^,]*$//' | sed -e 's/,//' | awk '{printf("OPCODE_%-14s = %s\n", $2, $1);}'