php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
ir_x86.h File Reference

Go to the source code of this file.

Data Structures

struct  _ir_tmp_reg
 
struct  _ir_target_constraints
 

Macros

#define IR_GP_REG_ENUM(code, name64, name32, name16, name8, name8h)
 
#define IR_FP_REG_ENUM(code, name)
 
#define IR_REG_GP_FIRST   IR_REG_R0
 
#define IR_REG_FP_FIRST   IR_REG_XMM0
 
#define IR_REG_GP_LAST   (IR_REG_FP_FIRST - 1)
 
#define IR_REG_FP_LAST   (IR_REG_NUM - 1)
 
#define IR_REG_SCRATCH   (IR_REG_NUM) /* special name for regset */
 
#define IR_REG_ALL   (IR_REG_NUM + 1) /* special name for regset */
 
#define IR_REGSET_64BIT   0
 
#define IR_REG_STACK_POINTER    IR_REG_RSP
 
#define IR_REG_FRAME_POINTER    IR_REG_RBP
 
#define IR_REGSET_FIXED    (IR_REGSET(IR_REG_RSP))
 
#define IR_REGSET_GP    IR_REGSET_DIFFERENCE(IR_REGSET_INTERVAL(IR_REG_GP_FIRST, IR_REG_GP_LAST), IR_REGSET_FIXED)
 
#define IR_REGSET_FP    IR_REGSET_DIFFERENCE(IR_REGSET_INTERVAL(IR_REG_FP_FIRST, IR_REG_FP_LAST), IR_REGSET_FIXED)
 
#define IR_REG_RAX   IR_REG_R0
 
#define IR_REG_RCX   IR_REG_R1
 
#define IR_REG_RDX   IR_REG_R2
 
#define IR_REG_RBX   IR_REG_R3
 
#define IR_REG_RSP   IR_REG_R4
 
#define IR_REG_RBP   IR_REG_R5
 
#define IR_REG_RSI   IR_REG_R6
 
#define IR_REG_RDI   IR_REG_R7
 

Typedefs

typedef struct _ir_tmp_reg ir_tmp_reg
 

Enumerations

enum  _ir_reg { _IR_REG_NONE = -1 , IR_REG_NUM }
 

Macro Definition Documentation

◆ IR_FP_REG_ENUM

#define IR_FP_REG_ENUM ( code,
name )
Value:
IR_REG_ ## code,

Definition at line 77 of file ir_x86.h.

◆ IR_GP_REG_ENUM

#define IR_GP_REG_ENUM ( code,
name64,
name32,
name16,
name8,
name8h )
Value:
IR_REG_ ## code,

Definition at line 74 of file ir_x86.h.

◆ IR_REG_ALL

#define IR_REG_ALL   (IR_REG_NUM + 1) /* special name for regset */

Definition at line 92 of file ir_x86.h.

◆ IR_REG_FP_FIRST

#define IR_REG_FP_FIRST   IR_REG_XMM0

Definition at line 88 of file ir_x86.h.

◆ IR_REG_FP_LAST

#define IR_REG_FP_LAST   (IR_REG_NUM - 1)

Definition at line 90 of file ir_x86.h.

◆ IR_REG_FRAME_POINTER

#define IR_REG_FRAME_POINTER    IR_REG_RBP

Definition at line 98 of file ir_x86.h.

◆ IR_REG_GP_FIRST

#define IR_REG_GP_FIRST   IR_REG_R0

Definition at line 87 of file ir_x86.h.

◆ IR_REG_GP_LAST

#define IR_REG_GP_LAST   (IR_REG_FP_FIRST - 1)

Definition at line 89 of file ir_x86.h.

◆ IR_REG_RAX

#define IR_REG_RAX   IR_REG_R0

Definition at line 107 of file ir_x86.h.

◆ IR_REG_RBP

#define IR_REG_RBP   IR_REG_R5

Definition at line 112 of file ir_x86.h.

◆ IR_REG_RBX

#define IR_REG_RBX   IR_REG_R3

Definition at line 110 of file ir_x86.h.

◆ IR_REG_RCX

#define IR_REG_RCX   IR_REG_R1

Definition at line 108 of file ir_x86.h.

◆ IR_REG_RDI

#define IR_REG_RDI   IR_REG_R7

Definition at line 114 of file ir_x86.h.

◆ IR_REG_RDX

#define IR_REG_RDX   IR_REG_R2

Definition at line 109 of file ir_x86.h.

◆ IR_REG_RSI

#define IR_REG_RSI   IR_REG_R6

Definition at line 113 of file ir_x86.h.

◆ IR_REG_RSP

#define IR_REG_RSP   IR_REG_R4

Definition at line 111 of file ir_x86.h.

◆ IR_REG_SCRATCH

#define IR_REG_SCRATCH   (IR_REG_NUM) /* special name for regset */

Definition at line 91 of file ir_x86.h.

◆ IR_REG_STACK_POINTER

#define IR_REG_STACK_POINTER    IR_REG_RSP

Definition at line 96 of file ir_x86.h.

◆ IR_REGSET_64BIT

#define IR_REGSET_64BIT   0

Definition at line 94 of file ir_x86.h.

◆ IR_REGSET_FIXED

#define IR_REGSET_FIXED    (IR_REGSET(IR_REG_RSP))

Definition at line 100 of file ir_x86.h.

◆ IR_REGSET_FP

#define IR_REGSET_FP    IR_REGSET_DIFFERENCE(IR_REGSET_INTERVAL(IR_REG_FP_FIRST, IR_REG_FP_LAST), IR_REGSET_FIXED)

Definition at line 104 of file ir_x86.h.

◆ IR_REGSET_GP

#define IR_REGSET_GP    IR_REGSET_DIFFERENCE(IR_REGSET_INTERVAL(IR_REG_GP_FIRST, IR_REG_GP_LAST), IR_REGSET_FIXED)

Definition at line 102 of file ir_x86.h.

Typedef Documentation

◆ ir_tmp_reg

typedef struct _ir_tmp_reg ir_tmp_reg

Enumeration Type Documentation

◆ _ir_reg

enum _ir_reg
Enumerator
_IR_REG_NONE 
IR_REG_NUM 

Definition at line 80 of file ir_x86.h.