Lines Matching defs:address

147   static int call_instruction(address destination, address pc) { return Assembler::op(Assembler::call_op) | Assembler::wdisp((intptr_t)destination, (intptr_t)pc, 30); }
162 address addr_at(int offset) const { return address(this) + offset; }
166 void set_addr_at(int offset, address x); /* deals with I-cache */
168 address instruction_address() const { return addr_at(0); }
169 address next_instruction_address() const { return addr_at(BytesPerInstWord); }
245 static intptr_t data64( address pc, int arith_insn ) {
256 static void set_data64_sethi(address instaddr, intptr_t x);
257 static void verify_data64_sethi(address instaddr, intptr_t x);
285 // routine. Extracts the 54 bits of address from the instruction
288 static address gethi( unsigned int *pc ) {
302 return ( (address)adr );
317 return ( (address)adr );
327 inline friend NativeInstruction* nativeInstruction_at(address address);
330 inline NativeInstruction* nativeInstruction_at(address address) {
331 NativeInstruction* inst = (NativeInstruction*)address;
344 inline NativeCall* nativeCall_at(address instr);
345 inline NativeCall* nativeCall_overwriting_at(address instr,
346 address destination);
347 inline NativeCall* nativeCall_before(address return_address);
357 address instruction_address() const { return addr_at(0); }
358 address next_instruction_address() const { return addr_at(instruction_size); }
359 address return_address() const { return addr_at(return_address_offset); }
361 address destination() const { return inv_wdisp(long_at(0), call_displacement_width) + instruction_address(); }
362 address displacement_address() const { return addr_at(displacement_offset); }
363 void set_destination(address dest) { set_long_at(0, set_wdisp(long_at(0), dest - instruction_address(), call_displacement_width)); }
364 void set_destination_mt_safe(address dest);
374 friend inline NativeCall* nativeCall_at(address instr);
375 friend NativeCall* nativeCall_overwriting_at(address instr, address destination = NULL) {
386 friend inline NativeCall* nativeCall_before(address return_address) {
394 static bool is_call_at(address instr) {
398 static bool is_call_before(address instr) {
402 static bool is_call_to(address instr, address target) {
408 static void insert(address code_pos, address entry) {
412 static void replace_mt_safe(address instr_addr, address code_buffer);
414 inline NativeCall* nativeCall_at(address instr) {
424 // anywhere in the address space, possibly out of reach of a call instruction.
430 inline NativeFarCall* nativeFarCall_at(address instr);
433 friend inline NativeFarCall* nativeFarCall_at(address instr) { return (NativeFarCall*)nativeCall_at(instr); }
434 friend NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL)
436 friend NativeFarCall* nativeFarCall_before(address return_address)
447 inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination);
448 inline NativeFarCall* nativeFarCall_at(address instr);
459 address instruction_address() const { return addr_at(0); }
460 address next_instruction_address() const { return addr_at(instruction_size); }
461 address return_address() const { return addr_at(return_address_offset); }
463 address destination() const {
464 return (address) data64(addr_at(0), long_at(jmpl_offset));
466 address displacement_address() const { return addr_at(displacement_offset); }
467 void set_destination(address dest);
478 friend inline NativeFarCall* nativeFarCall_at(address instr) {
486 friend inline NativeFarCall* nativeFarCall_overwriting_at(address instr, address destination = NULL) {
492 friend NativeFarCall* nativeFarCall_before(address return_address) {
500 static bool is_call_at(address instr);
503 static void insert(address code_pos, address entry) {
506 static void replace_mt_safe(address instr_addr, address code_buffer);
516 inline NativeMovConstReg* nativeMovConstReg_at(address address);
530 address instruction_address() const { return addr_at(0); }
531 address next_instruction_address() const { return addr_at(instruction_size); }
547 friend inline NativeMovConstReg* nativeMovConstReg_at(address address) {
548 NativeMovConstReg* test = (NativeMovConstReg*)address;
556 friend NativeMovConstReg* nativeMovConstReg_before(address address) {
557 NativeMovConstReg* test = (NativeMovConstReg*)(address - instruction_size);
576 inline NativeMovConstRegPatching* nativeMovConstRegPatching_at(address address);class NativeMovConstRegPatching: public NativeInstruction {
589 address instruction_address() const { return addr_at(0); }
590 address next_instruction_address() const { return addr_at(instruction_size); }
606 friend inline NativeMovConstRegPatching* nativeMovConstRegPatching_at(address address) {
607 NativeMovConstRegPatching* test = (NativeMovConstRegPatching*)address;
615 friend NativeMovConstRegPatching* nativeMovConstRegPatching_before(address address) {
616 NativeMovConstRegPatching* test = (NativeMovConstRegPatching*)(address - instruction_size);
634 inline NativeMovRegMem* nativeMovRegMem_at (address address);
672 address instruction_address() const { return addr_at(0); }
673 address next_instruction_address() const {
696 void copy_instruction_to(address new_instruction_address);
705 friend inline NativeMovRegMem* nativeMovRegMem_at (address address) {
706 NativeMovRegMem* test = (NativeMovRegMem*)address;
726 inline NativeMovRegMemPatching* nativeMovRegMemPatching_at (address address);
765 address instruction_address() const { return addr_at(0); }
766 address next_instruction_address() const {
786 void copy_instruction_to(address new_instruction_address);
795 friend inline NativeMovRegMemPatching* nativeMovRegMemPatching_at (address address) {
796 NativeMovRegMemPatching* test = (NativeMovRegMemPatching*)address;
811 inline NativeJump* nativeJump_at(address address);
830 address instruction_address() const { return addr_at(0); }
831 address next_instruction_address() const { return addr_at(instruction_size); }
834 address jump_destination() const {
835 return (address) data64(instruction_address(), long_at(jmpl_offset));
837 void set_jump_destination(address dest) {
842 address jump_destination() const {
843 return (address) data32(long_at(sethi_offset), long_at(jmpl_offset));
845 void set_jump_destination(address dest) {
852 friend inline NativeJump* nativeJump_at(address address) {
853 NativeJump* jump = (NativeJump*)address;
867 static void insert(address code_pos, address entry);
869 static void check_verified_entry_alignment(address entry, address verified_entry) {
872 static void patch_verified_entry(address entry, address verified_entry, address dest);
879 inline NativeGeneralJump* nativeGeneralJump_at(address address);
886 address instruction_address() const { return addr_at(0); }
887 address jump_destination() const { return addr_at(0) + branch_destination_offset(long_at(0)); }
888 void set_jump_destination(address dest) {
901 friend inline NativeGeneralJump* nativeGeneralJump_at(address address) {
902 NativeGeneralJump* jump = (NativeGeneralJump*)(address);
910 static void insert_unconditional(address code_pos, address entry);
911 static void replace_mt_safe(address instr_addr, address code_buffer);
923 // Insert illegal opcode as specific address
924 static void insert(address code_pos);