aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-upgrade/UpgradeLexer.l
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-01 22:34:43 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-01 22:34:43 +0000
commitfcb5df8f2cdf6ced4c33150cd5d315b53be66714 (patch)
tree0b66cdbf59ef68161e2924a50447434ce751d9c4 /tools/llvm-upgrade/UpgradeLexer.l
parentf7bde225f337250be99cb880856bcc0d507a52dd (diff)
downloadexternal_llvm-fcb5df8f2cdf6ced4c33150cd5d315b53be66714.zip
external_llvm-fcb5df8f2cdf6ced4c33150cd5d315b53be66714.tar.gz
external_llvm-fcb5df8f2cdf6ced4c33150cd5d315b53be66714.tar.bz2
Allow the new cast instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeLexer.l')
-rw-r--r--tools/llvm-upgrade/UpgradeLexer.l12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/llvm-upgrade/UpgradeLexer.l b/tools/llvm-upgrade/UpgradeLexer.l
index b3e1264..867041d 100644
--- a/tools/llvm-upgrade/UpgradeLexer.l
+++ b/tools/llvm-upgrade/UpgradeLexer.l
@@ -184,6 +184,18 @@ setge { RET_TOK( SETGE); }
phi { RET_TOK( PHI_TOK); }
call { RET_TOK( CALL); }
cast { RET_TOK( CAST); }
+trunc { RET_TOK( TRUNC); }
+zext { RET_TOK( ZEXT); }
+sext { RET_TOK( SEXT); }
+fptrunc { RET_TOK( FPTRUNC); }
+fpext { RET_TOK( FPEXT); }
+fptoui { RET_TOK( FPTOUI); }
+fptosi { RET_TOK( FPTOSI); }
+uitofp { RET_TOK( UITOFP); }
+sitofp { RET_TOK( SITOFP); }
+ptrtoint { RET_TOK( PTRTOINT); }
+inttoptr { RET_TOK( INTTOPTR); }
+bitcast { RET_TOK( BITCAST); }
select { RET_TOK( SELECT); }
shl { RET_TOK( SHL); }
shr { RET_TOK( SHR); }