Searched refs:Bytecodes (Results 1 - 25 of 189) sorted by relevance

12345678

/openjdk10/hotspot/src/share/vm/shark/
H A DsharkInliner.cpp109 Bytecodes::Code bc() {
252 case Bytecodes::_nop:
255 case Bytecodes::_aconst_null:
259 case Bytecodes::_iconst_0:
262 case Bytecodes::_iconst_m1:
263 case Bytecodes::_iconst_1:
264 case Bytecodes::_iconst_2:
265 case Bytecodes::_iconst_3:
266 case Bytecodes::_iconst_4:
267 case Bytecodes
[all...]
H A DsharkBlock.cpp55 tty->print_cr("%4d: %s", bci(), Bytecodes::name(bc()));
67 case Bytecodes::_goto:
68 case Bytecodes::_ifnull:
69 case Bytecodes::_ifnonnull:
70 case Bytecodes::_if_acmpeq:
71 case Bytecodes::_if_acmpne:
72 case Bytecodes::_ifeq:
73 case Bytecodes::_ifne:
74 case Bytecodes::_iflt:
75 case Bytecodes
[all...]
/openjdk10/hotspot/src/share/vm/compiler/
H A DmethodLiveness.cpp242 Bytecodes::Code code = bytes.next();
249 case Bytecodes::_ifeq:
250 case Bytecodes::_ifne:
251 case Bytecodes::_iflt:
252 case Bytecodes::_ifge:
253 case Bytecodes::_ifgt:
254 case Bytecodes::_ifle:
255 case Bytecodes::_if_icmpeq:
256 case Bytecodes::_if_icmpne:
257 case Bytecodes
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/interpreter/
H A DBytecodeDisassembler.java46 addBytecodeClass(Bytecodes._anewarray, BytecodeANewArray.class);
47 addBytecodeClass(Bytecodes._bipush, BytecodeBipush.class);
48 addBytecodeClass(Bytecodes._checkcast, BytecodeCheckCast.class);
49 addBytecodeClass(Bytecodes._getfield, BytecodeGetField.class);
50 addBytecodeClass(Bytecodes._getstatic, BytecodeGetStatic.class);
51 addBytecodeClass(Bytecodes._goto, BytecodeGoto.class);
52 addBytecodeClass(Bytecodes._goto_w, BytecodeGotoW.class);
53 addBytecodeClass(Bytecodes._ifeq, BytecodeIf.class);
54 addBytecodeClass(Bytecodes._ifne, BytecodeIf.class);
55 addBytecodeClass(Bytecodes
[all...]
H A DBytecodeStore.java44 case Bytecodes._istore:
45 case Bytecodes._lstore:
46 case Bytecodes._fstore:
47 case Bytecodes._dstore:
48 case Bytecodes._astore:
H A DBytecodeLoad.java44 case Bytecodes._iload:
45 case Bytecodes._lload:
46 case Bytecodes._fload:
47 case Bytecodes._dload:
48 case Bytecodes._aload:
H A DBytecode.java57 public boolean hasIndexU4() { return code() == Bytecodes._invokedynamic; }
63 return (VM.getVM().isBigEndian() || Bytecodes.native_byte_order(bc /*, is_wide*/));
83 return Bytecodes.codeAt(method(), bci());
88 return Bytecodes.javaCode(code());
92 return Bytecodes.name(code());
96 return Bytecodes.name(javaCode());
100 return Bytecodes.lengthAt(method(), bci());
104 return Bytecodes.javaLengthAt(method(), bci());
/openjdk10/hotspot/src/share/vm/interpreter/
H A DbytecodeStream.cpp29 Bytecodes::Code RawBytecodeStream::raw_next_special(Bytecodes::Code code) {
34 int len = Bytecodes::raw_special_length_at(bcp, end);
37 code = Bytecodes::_illegal;
43 if (code == Bytecodes::_wide) {
45 code = Bytecodes::_illegal;
47 code = (Bytecodes::Code)bcp[1];
58 if (raw_code() == Bytecodes::_invokedynamic && is_raw()) {
H A Dbytecode.cpp39 void Bytecode::assert_same_format_as(Bytecodes::Code testbc, bool is_wide) const {
40 Bytecodes::Code thisbc = Bytecodes::cast(byte_at(0));
41 if (thisbc == Bytecodes::_breakpoint) return; // let the assertion fail silently
43 assert(thisbc == Bytecodes::_wide, "expected a wide instruction");
44 thisbc = Bytecodes::cast(byte_at(1));
45 if (thisbc == Bytecodes::_breakpoint) return;
47 int thisflags = Bytecodes::flags(testbc, is_wide) & Bytecodes::_all_fmt_bits;
48 int testflags = Bytecodes
[all...]
H A DbytecodeStream.hpp40 // Bytecodes::Code c;
61 Bytecodes::Code _raw_code;
95 Bytecodes::Code raw_code() const { return _raw_code; }
128 Bytecodes::Code raw_next() {
129 Bytecodes::Code code;
135 code = Bytecodes::code_or_bp_at(bcp);
138 int len = Bytecodes::length_for(code);
140 assert(code != Bytecodes::_wide && code != Bytecodes::_tableswitch
141 && code != Bytecodes
[all...]
H A DtemplateTable.cpp51 Bytecodes::Code Template::bytecode() const {
53 if (i < 0 || i >= Bytecodes::number_of_codes) i = this - TemplateTable::_template_table_wide;
54 return Bytecodes::cast(i);
172 Template TemplateTable::_template_table [Bytecodes::number_of_codes];
173 Template TemplateTable::_template_table_wide[Bytecodes::number_of_codes];
180 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(), char filler) {
186 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(int arg), int arg) {
206 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(Operation op), Operation op) {
211 void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(bool arg ), bool arg) {
216 void TemplateTable::def(Bytecodes
[all...]
H A DbytecodeTracer.cpp51 Bytecodes::Code _code;
67 Bytecodes::Code raw_code() { return Bytecodes::Code(_code); }
83 _code = Bytecodes::_illegal;
103 Bytecodes::Code code;
106 code = Bytecodes::code_at(method(), bcp+1);
108 code = Bytecodes::code_at(method(), bcp);
115 BytecodeCounter::counter_value(), bci, tos, tos2, Bytecodes::name(code));
118 BytecodeCounter::counter_value(), bci, Bytecodes::name(code));
124 _is_wide = (code == Bytecodes
[all...]
H A Dbytecode.hpp43 const Bytecodes::Code _code;
58 Bytecode(Method* method, address bcp): _bcp(bcp), _code(Bytecodes::code_at(method, addr_at(0))) {
66 int instruction_size() const { return Bytecodes::length_for_code_at(_code, bcp()); }
68 Bytecodes::Code code() const { return _code; }
69 Bytecodes::Code java_code() const { return Bytecodes::java_code(code()); }
70 Bytecodes::Code invoke_code() const { return (code() == Bytecodes::_invokehandle) ? code() : java_code(); }
73 int get_index_u1(Bytecodes::Code bc) const {
77 int get_index_u2(Bytecodes
[all...]
H A DabstractInterpreter.cpp243 Bytecodes::Code code = method()->code_at(bci);
245 if (!Bytecodes::must_rewrite(code)) {
310 Bytecodes::Code code = Bytecodes::java_code_at(method, bcp);
316 const int length = Bytecodes::length_at(method, bcp);
322 case Bytecodes::_invokevirtual :
323 case Bytecodes::_invokespecial :
324 case Bytecodes::_invokestatic :
325 case Bytecodes::_invokeinterface: {
339 case Bytecodes
[all...]
/openjdk10/hotspot/src/share/vm/prims/
H A DmethodComparator.cpp56 Bytecodes::Code c_old, c_new;
68 bool MethodComparator::args_same(Bytecodes::Code c_old, Bytecodes::Code c_new) {
72 case Bytecodes::_new : // fall through
73 case Bytecodes::_anewarray : // fall through
74 case Bytecodes::_multianewarray : // fall through
75 case Bytecodes::_checkcast : // fall through
76 case Bytecodes::_instanceof : {
81 if (c_old == Bytecodes::_multianewarray &&
87 case Bytecodes
[all...]
H A DmethodComparator.hpp41 static bool args_same(Bytecodes::Code c_old, Bytecodes::Code c_new);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.bytecode/src/org/graalvm/compiler/bytecode/
H A DBytecodeStream.java27 * prone. For example, it handles the {@link Bytecodes#WIDE} instruction and wide variants of
83 * Gets the current opcode. This method will never return the {@link Bytecodes#WIDE WIDE}
86 * @return the current opcode; {@link Bytecodes#END} if at or beyond the end of the code
89 if (opcode == Bytecodes.WIDE) {
104 if (opcode == Bytecodes.WIDE) {
111 * Read the delta for an {@link Bytecodes#IINC} bytecode.
117 if (opcode == Bytecodes.WIDE) {
124 * Read the destination of a {@link Bytecodes#GOTO} or {@code IF} instructions.
130 if (opcode == Bytecodes.GOTO_W || opcode == Bytecodes
[all...]
H A DBytecodeDisassembler.java25 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD;
26 import static org.graalvm.compiler.bytecode.Bytecodes.ANEWARRAY;
27 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE;
28 import static org.graalvm.compiler.bytecode.Bytecodes.BIPUSH;
29 import static org.graalvm.compiler.bytecode.Bytecodes.CHECKCAST;
30 import static org.graalvm.compiler.bytecode.Bytecodes.DLOAD;
31 import static org.graalvm.compiler.bytecode.Bytecodes.DSTORE;
32 import static org.graalvm.compiler.bytecode.Bytecodes.FLOAD;
33 import static org.graalvm.compiler.bytecode.Bytecodes.FSTORE;
34 import static org.graalvm.compiler.bytecode.Bytecodes
[all...]
/openjdk10/hotspot/src/share/vm/ci/
H A DbcEscapeAnalyzer.cpp250 void BCEscapeAnalyzer::invoke(StateInfo &state, Bytecodes::Code code, ciMethod* target, ciKlass* holder) {
263 case Bytecodes::_invokevirtual:
264 code = Bytecodes::_invokespecial;
266 case Bytecodes::_invokehandle:
267 code = target->is_static() ? Bytecodes::_invokestatic : Bytecodes::_invokespecial;
282 (code != Bytecodes::_invokevirtual || target->is_final_method() || state._stack[arg_base] .is_empty());
291 if (code == Bytecodes::_invokedynamic) {
308 if (code == Bytecodes::_invokestatic
309 || code == Bytecodes
[all...]
H A DciStreams.cpp91 Bytecodes::Code ciBytecodeStream::next_wide_or_table(Bytecodes::Code bc) {
93 case Bytecodes::_wide:
96 assert(Bytecodes::Code(_pc[0]) == Bytecodes::_wide, "");
97 bc = Bytecodes::java_code(_raw_bc = (Bytecodes::Code)_pc[1]);
98 assert(Bytecodes::wide_length_for(bc) > 2, "must make progress");
99 _pc += Bytecodes::wide_length_for(bc);
104 case Bytecodes
[all...]
H A DciTypeFlow.cpp210 Bytecodes::Code code = str->cur_bc();
211 if (code == Bytecodes::_jsr) {
215 } else if (code == Bytecodes::_jsr_w) {
219 } else if (code == Bytecodes::_ret) {
657 if (str->cur_bc() == Bytecodes::_invokedynamic) {
874 Bytecodes::name(str->cur_bc()));
878 case Bytecodes::_aaload: do_aaload(str); break;
880 case Bytecodes::_aastore:
887 case Bytecodes::_aconst_null:
892 case Bytecodes
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.java/src/org/graalvm/compiler/java/
H A DLocalLiveness.java25 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD;
26 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_0;
27 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_1;
28 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_2;
29 import static org.graalvm.compiler.bytecode.Bytecodes.ALOAD_3;
30 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE;
31 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_0;
32 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_1;
33 import static org.graalvm.compiler.bytecode.Bytecodes.ASTORE_2;
34 import static org.graalvm.compiler.bytecode.Bytecodes
[all...]
/openjdk10/hotspot/src/share/vm/oops/
H A DgenerateOopMap.cpp231 Bytecodes::Code bytecode;
235 case Bytecodes::_jsr:
238 case Bytecodes::_jsr_w:
416 Bytecodes::Code bytecode;
428 case Bytecodes::_jsr:
430 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
432 case Bytecodes::_jsr_w:
434 bb_mark_fct(this, bci + Bytecodes::length_for(bytecode), NULL);
484 Bytecodes::Code bytecode = bcs.code();
492 case Bytecodes
[all...]
/openjdk10/hotspot/src/share/vm/runtime/
H A Drelocator.cpp205 bool Relocator::is_opcode_lookupswitch(Bytecodes::Code bc) {
207 case Bytecodes::_tableswitch: return false;
208 case Bytecodes::_lookupswitch: // not rewritten on ia64
209 case Bytecodes::_fast_linearswitch: // rewritten _lookupswitch
210 case Bytecodes::_fast_binaryswitch: return true; // rewritten _lookupswitch
219 Bytecodes::Code bc= code_at(bci);
223 case Bytecodes::_tableswitch:
224 case Bytecodes::_lookupswitch:
225 case Bytecodes::_fast_linearswitch:
226 case Bytecodes
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/
H A DGenerateOopMap.java230 case Bytecodes._jsr:
233 case Bytecodes._jsr_w:
563 tty.print(" " + Bytecodes.name(currentBC.code()));
565 case Bytecodes._invokevirtual:
566 case Bytecodes._invokespecial:
567 case Bytecodes._invokestatic:
568 case Bytecodes._invokeinterface:
569 case Bytecodes._invokedynamic:
600 Bytecodes.name(currentBC.code()));
605 case Bytecodes
[all...]

Completed in 106 milliseconds

12345678