comparison graal/Compiler/src/com/sun/c1x/lir/LIROpcode.java @ 2507:9ec15d6914ca

Pull over of compiler from maxine repository.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 11:43:22 +0200
parents
children
comparison
equal deleted inserted replaced
2506:4a3bf8a5bf41 2507:9ec15d6914ca
1 /*
2 * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23 package com.sun.c1x.lir;
24
25 /**
26 * The {@code LirOpcode} enum represents the Operation code of each LIR instruction.
27 *
28 * @author Marcelo Cintra
29 * @author Thomas Wuerthinger
30 */
31 public enum LIROpcode {
32 // Checkstyle: stop
33 // @formatter:off
34 BeginOp0,
35 Label,
36 OsrEntry,
37 Here,
38 Info,
39 Alloca,
40 Breakpoint,
41 Pause,
42 RuntimeCall,
43 Membar,
44 Branch,
45 CondFloatBranch,
46 EndOp0,
47 BeginOp1,
48 NullCheck,
49 Return,
50 Lea,
51 Neg,
52 TableSwitch,
53 Move,
54 Prefetchr,
55 Prefetchw,
56 Convert,
57 Lsb,
58 Msb,
59 MonitorAddress,
60 EndOp1,
61 BeginOp2,
62 Cmp,
63 Cmpl2i,
64 Ucmpfd2i,
65 Cmpfd2i,
66 Cmove,
67 Add,
68 Sub,
69 Mul,
70 Div,
71 Rem,
72 Sqrt,
73 Abs,
74 Sin,
75 Cos,
76 Tan,
77 Log,
78 Log10,
79 LogicAnd,
80 LogicOr,
81 LogicXor,
82 Shl,
83 Shr,
84 Ushr,
85 Throw,
86 Unwind,
87 CompareTo,
88 EndOp2,
89 BeginOp3,
90 Idiv,
91 Irem,
92 Ldiv,
93 Lrem,
94 Wdiv,
95 Wdivi,
96 Wrem,
97 Wremi,
98 EndOp3,
99 NativeCall,
100 DirectCall,
101 ConstDirectCall,
102 IndirectCall,
103 TemplateCall,
104 InstanceOf,
105 CheckCast,
106 StoreCheck,
107 CasLong,
108 CasWord,
109 CasObj,
110 CasInt,
111 Xir,
112 // @formatter:on
113 // Checkstyle: resume
114 }