FreeBASIC  0.91.0
ast-op.bi
Go to the documentation of this file.
1 #ifndef __AST_OP_BI__
2 #define __AST_OP_BI__
3 
4 '' if changed, update ast.bas:ast_opTB() and ast-node-misc.bas:dbg_astNodeOpNames()
5 enum AST_OP
6  '' ini self ops (see below: AST_OP_SELFBASE and AST_OP_SELFOPS)
7  AST_OP_ASSIGN = 0
30  AST_OP_PTRINDEX '' fake [] operator, only to allow it to be overloaded
35  '' end self ops
36 
44  AST_OP_OR
54 
55  AST_OP_EQ
56  AST_OP_GT
57  AST_OP_LT
58  AST_OP_NE
59  AST_OP_GE
60  AST_OP_LE
61  AST_OP_IS
62 
66 
67  AST_OP_HADD '' horizontal add
68 
79  AST_OP_RSQRT '' reciprocal square root
80  AST_OP_RCP '' reciprocal
86  AST_OP_CONVFD2FS '' used internally by ASM backend
87 
88  AST_OP_SWZ_REPEAT '' swizzle; repeat value
89 
92 
93  AST_OP_NEW '' global
94  AST_OP_NEW_VEC '' /
95  AST_OP_DEL '' /
96  AST_OP_DEL_VEC '' /
97 
100 
103 
105 
107  AST_OP_POP
110 
111  AST_OP_JEQ
112  AST_OP_JGT
113  AST_OP_JLT
114  AST_OP_JNE
115  AST_OP_JGE
116  AST_OP_JLE
117  AST_OP_JMP
119 
121  AST_OP_RET
125 
130 
135 
138 
139  '' used internally, not passed to IR
142 
143  AST_OPCODES '' total
144 end enum
145 
148 
149 #endif '' __AST_OP_BI__
150