├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── composer.json ├── composer.lock ├── examples ├── 00-basic-usage │ ├── README.md │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.c │ ├── libgccjit.s │ ├── libjit.bc │ ├── libjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── 01-branching │ ├── README.md │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.c │ ├── libgccjit.s │ ├── libjit.bc │ ├── libjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── 02-function_calls │ ├── README.md │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.bc │ ├── libgccjit.c │ ├── libgccjit.s │ ├── libjit.bc │ ├── libjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── 03-iterated-function-calls │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.bc │ ├── libgccjit.c │ ├── libgccjit.s │ ├── libjit.bc │ ├── libjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── 04-structs │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.c │ ├── libgccjit.s │ ├── libjit.bc │ ├── libjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── 05-imported_functions │ ├── example.ir │ ├── example.output │ ├── example.php │ ├── libgccjit.c │ ├── libgccjit.s │ ├── llvm.bc │ ├── llvm.s │ └── php.php ├── README.md ├── common.php └── rebuild.php ├── ffi ├── libgccjit.php ├── libjit.php ├── llvm.php └── rebuild.php ├── lib ├── Backend.php ├── Backend │ ├── LIBGCCJIT.php │ ├── LIBGCCJIT │ │ └── CompiledUnit.php │ ├── LIBJIT.php │ ├── LIBJIT │ │ └── CompiledUnit.php │ ├── LLVM.php │ ├── LLVM │ │ └── CompiledUnit.php │ ├── PHP.php │ └── PHP │ │ └── CompiledUnit.php ├── BackendAbstract.php ├── Builder.php ├── Builder │ ├── BlockBuilder.php │ ├── ConstBuilder.php │ ├── FunctionBuilder.php │ ├── GlobalBuilder.php │ └── TypeBuilder.php ├── CompiledUnit.php ├── Context.php ├── IR │ ├── Block.php │ ├── Function_.php │ ├── Function_ │ │ ├── AlwaysInline.php │ │ ├── Exported.php │ │ ├── Implemented.php │ │ ├── Imported.php │ │ └── Static_.php │ ├── Op.php │ ├── Op │ │ ├── BinaryOp.php │ │ ├── BinaryOp │ │ │ ├── Add.php │ │ │ ├── BitwiseAnd.php │ │ │ ├── BitwiseOr.php │ │ │ ├── BitwiseXor.php │ │ │ ├── Div.php │ │ │ ├── EQ.php │ │ │ ├── GE.php │ │ │ ├── GT.php │ │ │ ├── LE.php │ │ │ ├── LT.php │ │ │ ├── LogicalAnd.php │ │ │ ├── LogicalOr.php │ │ │ ├── Mod.php │ │ │ ├── Mul.php │ │ │ ├── NE.php │ │ │ ├── SL.php │ │ │ ├── SR.php │ │ │ └── Sub.php │ │ ├── BlockCall.php │ │ ├── Call.php │ │ ├── CallNoReturn.php │ │ ├── ConditionalBlockCall.php │ │ ├── FieldRead.php │ │ ├── FieldWrite.php │ │ ├── Free.php │ │ ├── Malloc.php │ │ ├── Realloc.php │ │ ├── ReturnValue.php │ │ ├── ReturnVoid.php │ │ ├── UnaryOp.php │ │ └── UnaryOp │ │ │ ├── BitwiseNot.php │ │ │ ├── Cast.php │ │ │ ├── LogicalNot.php │ │ │ └── Minus.php │ ├── OpAbstract.php │ ├── Parameter.php │ ├── TerminalOp.php │ ├── Value.php │ └── Value │ │ ├── Constant.php │ │ ├── Local.php │ │ ├── Null.php │ │ └── Value.php ├── Printer.php ├── Type.php ├── Type │ ├── ArrayType.php │ ├── Const_.php │ ├── Pointer.php │ ├── Primitive.php │ ├── Struct.php │ ├── Struct │ │ └── Field.php │ └── Volatile.php └── TypeAbstract.php ├── phpunit.xml.dist ├── rebuild.php └── test └── Generic └── CompilerTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/composer.lock -------------------------------------------------------------------------------- /examples/00-basic-usage/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/00-basic-usage/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/example.ir -------------------------------------------------------------------------------- /examples/00-basic-usage/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/example.output -------------------------------------------------------------------------------- /examples/00-basic-usage/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/example.php -------------------------------------------------------------------------------- /examples/00-basic-usage/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/libgccjit.c -------------------------------------------------------------------------------- /examples/00-basic-usage/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/libgccjit.s -------------------------------------------------------------------------------- /examples/00-basic-usage/libjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/libjit.bc -------------------------------------------------------------------------------- /examples/00-basic-usage/libjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/libjit.s -------------------------------------------------------------------------------- /examples/00-basic-usage/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/llvm.bc -------------------------------------------------------------------------------- /examples/00-basic-usage/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/llvm.s -------------------------------------------------------------------------------- /examples/00-basic-usage/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/00-basic-usage/php.php -------------------------------------------------------------------------------- /examples/01-branching/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/01-branching/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/example.ir -------------------------------------------------------------------------------- /examples/01-branching/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/example.output -------------------------------------------------------------------------------- /examples/01-branching/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/example.php -------------------------------------------------------------------------------- /examples/01-branching/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/libgccjit.c -------------------------------------------------------------------------------- /examples/01-branching/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/libgccjit.s -------------------------------------------------------------------------------- /examples/01-branching/libjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/libjit.bc -------------------------------------------------------------------------------- /examples/01-branching/libjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/libjit.s -------------------------------------------------------------------------------- /examples/01-branching/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/llvm.bc -------------------------------------------------------------------------------- /examples/01-branching/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/llvm.s -------------------------------------------------------------------------------- /examples/01-branching/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/01-branching/php.php -------------------------------------------------------------------------------- /examples/02-function_calls/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/02-function_calls/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/example.ir -------------------------------------------------------------------------------- /examples/02-function_calls/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/example.output -------------------------------------------------------------------------------- /examples/02-function_calls/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/example.php -------------------------------------------------------------------------------- /examples/02-function_calls/libgccjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/libgccjit.bc -------------------------------------------------------------------------------- /examples/02-function_calls/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/libgccjit.c -------------------------------------------------------------------------------- /examples/02-function_calls/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/libgccjit.s -------------------------------------------------------------------------------- /examples/02-function_calls/libjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/libjit.bc -------------------------------------------------------------------------------- /examples/02-function_calls/libjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/libjit.s -------------------------------------------------------------------------------- /examples/02-function_calls/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/llvm.bc -------------------------------------------------------------------------------- /examples/02-function_calls/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/llvm.s -------------------------------------------------------------------------------- /examples/02-function_calls/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/02-function_calls/php.php -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/example.ir -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/example.output -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/example.php -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/libgccjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/libgccjit.bc -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/libgccjit.c -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/libgccjit.s -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/libjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/libjit.bc -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/libjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/libjit.s -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/llvm.bc -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/llvm.s -------------------------------------------------------------------------------- /examples/03-iterated-function-calls/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/03-iterated-function-calls/php.php -------------------------------------------------------------------------------- /examples/04-structs/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/example.ir -------------------------------------------------------------------------------- /examples/04-structs/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/example.output -------------------------------------------------------------------------------- /examples/04-structs/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/example.php -------------------------------------------------------------------------------- /examples/04-structs/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/libgccjit.c -------------------------------------------------------------------------------- /examples/04-structs/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/libgccjit.s -------------------------------------------------------------------------------- /examples/04-structs/libjit.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/libjit.bc -------------------------------------------------------------------------------- /examples/04-structs/libjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/libjit.s -------------------------------------------------------------------------------- /examples/04-structs/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/llvm.bc -------------------------------------------------------------------------------- /examples/04-structs/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/llvm.s -------------------------------------------------------------------------------- /examples/04-structs/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/04-structs/php.php -------------------------------------------------------------------------------- /examples/05-imported_functions/example.ir: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/example.ir -------------------------------------------------------------------------------- /examples/05-imported_functions/example.output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/example.output -------------------------------------------------------------------------------- /examples/05-imported_functions/example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/example.php -------------------------------------------------------------------------------- /examples/05-imported_functions/libgccjit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/libgccjit.c -------------------------------------------------------------------------------- /examples/05-imported_functions/libgccjit.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/libgccjit.s -------------------------------------------------------------------------------- /examples/05-imported_functions/llvm.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/llvm.bc -------------------------------------------------------------------------------- /examples/05-imported_functions/llvm.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/llvm.s -------------------------------------------------------------------------------- /examples/05-imported_functions/php.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/05-imported_functions/php.php -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/common.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/common.php -------------------------------------------------------------------------------- /examples/rebuild.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/examples/rebuild.php -------------------------------------------------------------------------------- /ffi/libgccjit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/ffi/libgccjit.php -------------------------------------------------------------------------------- /ffi/libjit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/ffi/libjit.php -------------------------------------------------------------------------------- /ffi/llvm.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/ffi/llvm.php -------------------------------------------------------------------------------- /ffi/rebuild.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/ffi/rebuild.php -------------------------------------------------------------------------------- /lib/Backend.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend.php -------------------------------------------------------------------------------- /lib/Backend/LIBGCCJIT.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LIBGCCJIT.php -------------------------------------------------------------------------------- /lib/Backend/LIBGCCJIT/CompiledUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LIBGCCJIT/CompiledUnit.php -------------------------------------------------------------------------------- /lib/Backend/LIBJIT.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LIBJIT.php -------------------------------------------------------------------------------- /lib/Backend/LIBJIT/CompiledUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LIBJIT/CompiledUnit.php -------------------------------------------------------------------------------- /lib/Backend/LLVM.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LLVM.php -------------------------------------------------------------------------------- /lib/Backend/LLVM/CompiledUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/LLVM/CompiledUnit.php -------------------------------------------------------------------------------- /lib/Backend/PHP.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/PHP.php -------------------------------------------------------------------------------- /lib/Backend/PHP/CompiledUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Backend/PHP/CompiledUnit.php -------------------------------------------------------------------------------- /lib/BackendAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/BackendAbstract.php -------------------------------------------------------------------------------- /lib/Builder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder.php -------------------------------------------------------------------------------- /lib/Builder/BlockBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder/BlockBuilder.php -------------------------------------------------------------------------------- /lib/Builder/ConstBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder/ConstBuilder.php -------------------------------------------------------------------------------- /lib/Builder/FunctionBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder/FunctionBuilder.php -------------------------------------------------------------------------------- /lib/Builder/GlobalBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder/GlobalBuilder.php -------------------------------------------------------------------------------- /lib/Builder/TypeBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Builder/TypeBuilder.php -------------------------------------------------------------------------------- /lib/CompiledUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/CompiledUnit.php -------------------------------------------------------------------------------- /lib/Context.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Context.php -------------------------------------------------------------------------------- /lib/IR/Block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Block.php -------------------------------------------------------------------------------- /lib/IR/Function_.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_.php -------------------------------------------------------------------------------- /lib/IR/Function_/AlwaysInline.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_/AlwaysInline.php -------------------------------------------------------------------------------- /lib/IR/Function_/Exported.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_/Exported.php -------------------------------------------------------------------------------- /lib/IR/Function_/Implemented.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_/Implemented.php -------------------------------------------------------------------------------- /lib/IR/Function_/Imported.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_/Imported.php -------------------------------------------------------------------------------- /lib/IR/Function_/Static_.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Function_/Static_.php -------------------------------------------------------------------------------- /lib/IR/Op.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/Add.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/Add.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/BitwiseAnd.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/BitwiseAnd.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/BitwiseOr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/BitwiseOr.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/BitwiseXor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/BitwiseXor.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/Div.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/Div.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/EQ.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/EQ.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/GE.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/GE.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/GT.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/GT.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/LE.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/LE.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/LT.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/LT.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/LogicalAnd.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/LogicalAnd.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/LogicalOr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/LogicalOr.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/Mod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/Mod.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/Mul.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/Mul.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/NE.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/NE.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/SL.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/SL.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/SR.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/SR.php -------------------------------------------------------------------------------- /lib/IR/Op/BinaryOp/Sub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BinaryOp/Sub.php -------------------------------------------------------------------------------- /lib/IR/Op/BlockCall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/BlockCall.php -------------------------------------------------------------------------------- /lib/IR/Op/Call.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/Call.php -------------------------------------------------------------------------------- /lib/IR/Op/CallNoReturn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/CallNoReturn.php -------------------------------------------------------------------------------- /lib/IR/Op/ConditionalBlockCall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/ConditionalBlockCall.php -------------------------------------------------------------------------------- /lib/IR/Op/FieldRead.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/FieldRead.php -------------------------------------------------------------------------------- /lib/IR/Op/FieldWrite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/FieldWrite.php -------------------------------------------------------------------------------- /lib/IR/Op/Free.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/Free.php -------------------------------------------------------------------------------- /lib/IR/Op/Malloc.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/Malloc.php -------------------------------------------------------------------------------- /lib/IR/Op/Realloc.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/Realloc.php -------------------------------------------------------------------------------- /lib/IR/Op/ReturnValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/ReturnValue.php -------------------------------------------------------------------------------- /lib/IR/Op/ReturnVoid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/ReturnVoid.php -------------------------------------------------------------------------------- /lib/IR/Op/UnaryOp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/UnaryOp.php -------------------------------------------------------------------------------- /lib/IR/Op/UnaryOp/BitwiseNot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/UnaryOp/BitwiseNot.php -------------------------------------------------------------------------------- /lib/IR/Op/UnaryOp/Cast.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/UnaryOp/Cast.php -------------------------------------------------------------------------------- /lib/IR/Op/UnaryOp/LogicalNot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/UnaryOp/LogicalNot.php -------------------------------------------------------------------------------- /lib/IR/Op/UnaryOp/Minus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Op/UnaryOp/Minus.php -------------------------------------------------------------------------------- /lib/IR/OpAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/OpAbstract.php -------------------------------------------------------------------------------- /lib/IR/Parameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Parameter.php -------------------------------------------------------------------------------- /lib/IR/TerminalOp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/TerminalOp.php -------------------------------------------------------------------------------- /lib/IR/Value.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Value.php -------------------------------------------------------------------------------- /lib/IR/Value/Constant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Value/Constant.php -------------------------------------------------------------------------------- /lib/IR/Value/Local.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Value/Local.php -------------------------------------------------------------------------------- /lib/IR/Value/Null.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Value/Null.php -------------------------------------------------------------------------------- /lib/IR/Value/Value.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/IR/Value/Value.php -------------------------------------------------------------------------------- /lib/Printer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Printer.php -------------------------------------------------------------------------------- /lib/Type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type.php -------------------------------------------------------------------------------- /lib/Type/ArrayType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/ArrayType.php -------------------------------------------------------------------------------- /lib/Type/Const_.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Const_.php -------------------------------------------------------------------------------- /lib/Type/Pointer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Pointer.php -------------------------------------------------------------------------------- /lib/Type/Primitive.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Primitive.php -------------------------------------------------------------------------------- /lib/Type/Struct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Struct.php -------------------------------------------------------------------------------- /lib/Type/Struct/Field.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Struct/Field.php -------------------------------------------------------------------------------- /lib/Type/Volatile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/Type/Volatile.php -------------------------------------------------------------------------------- /lib/TypeAbstract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/lib/TypeAbstract.php -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /rebuild.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/rebuild.php -------------------------------------------------------------------------------- /test/Generic/CompilerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ircmaxell/php-compiler-toolkit/HEAD/test/Generic/CompilerTest.php --------------------------------------------------------------------------------