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:
parent
c6e12fd929
commit
5901f8d32b
9 changed files with 897 additions and 803 deletions
1
tools/genopcodes.sh
Executable file
1
tools/genopcodes.sh
Executable 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);}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue