aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-11-27IR: add ref instructionAndrew Kelley
2016-11-26IR: support import builtin functionAndrew Kelley
2016-11-26IR: add error for non static const on switch case rangeAndrew Kelley
2016-11-26IR: switch expression works with numbersAndrew Kelley
2016-11-24IR: generating a switch statementAndrew Kelley
2016-11-21IR: implement setFnVisible builtinAndrew Kelley
2016-11-21IR: fix codegen for arraysAndrew Kelley
2016-11-21IR: implement ctz and clz builtinsAndrew Kelley
2016-11-21IR: support unwrap maybe operationAndrew Kelley
2016-11-20IR: support sizeOf builtinAndrew Kelley
2016-11-19IR: implement compileVar builtin and moreAndrew Kelley
* implicit array to slice cast * fix if statements at global scope * implement array type IR
2016-11-18IR: more maybe type supportAndrew Kelley
2016-11-18IR: correctly codegening memset and memcpyAndrew Kelley
2016-11-18IR: support setDebugSafety builtin functionAndrew Kelley
2016-11-18IR: inline assembly workingAndrew Kelley
2016-11-17IR: pointers to constants don't copy dataAndrew Kelley
2016-11-13IR: add assembly instructionAndrew Kelley
2016-11-13IR handles global variables correctlyAndrew Kelley
2016-11-09IR: move unused codegen code to commented out in bottom of ir.cppAndrew Kelley
2016-11-07IR: support slice typesAndrew Kelley
2016-11-04WIP moving all analysis to IRAndrew Kelley
2016-11-03add concept of inline for, inline while, inline varAndrew Kelley
2016-10-30*WIP*Andrew Kelley
2016-10-29ir: ability to modify global varsAndrew Kelley
2016-10-28IR: ability to assign to an array at runtimeAndrew Kelley
2016-10-27IR analysis unrolls a complicated loopAndrew Kelley
2016-10-27IR can inline loopsAndrew Kelley
2016-10-23IR supports variable assignmentAndrew Kelley
2016-10-23IR: introduce concept of lvaluesAndrew Kelley
2016-10-20add variable declaration initialization IRAndrew Kelley
2016-10-18add variable declaration IRAndrew Kelley
2016-10-16IR working for if statementsAndrew Kelley
2016-10-11IR if statements WIPAndrew Kelley
2016-10-09explicit casting works with IRAndrew Kelley
2016-10-06IR in 2 passesAndrew Kelley
2016-10-02simple add function works with IRAndrew Kelley
2016-09-30empty function compiles successfully with IRAndrew Kelley
2016-09-28fix regression: debug safety sometimes incorrectly disabledAndrew Kelley
2016-09-28remove compiler directivesAndrew Kelley
* add `setFnTest`, `setFnVisible`, `setFnStaticEval`, `setFnNoInline` builtin functions to replace previous directive functionality * add `coldcc` and `nakedcc` as keywords which can be used as part of a function prototype. * `setDebugSafety` builtin can be used to set debug safety features at a per block scope level. * closes #169
2016-09-26add this keyword refers to thing in immediate scopeAndrew Kelley
See #169
2016-09-23enums support member functionsAndrew Kelley
2016-09-23stack trace is able to figure out compilation unitAndrew Kelley
each address is contained within also fix a bug having to do with codegen for enum value initialization expressions
2016-09-21exporting an object creates an h fileAndrew Kelley
2016-09-19use size_t for indexesAndrew Kelley
protect against incorrect copies in debug mode
2016-09-18ability to specify -framework linker args for MacOSAndrew Kelley
2016-09-14darwin compat fixupsAndrew Kelley
- delete commented out code - delete redundant check for missing mmacosx-version-min/maxdir - add TODO comment in std library - rename 'os' to 'self' in io.zig - `openSelfExe` aborts on darwin instead of compile error - only allow warnings on the one parseh test that has `#include <stdint.h>`.
2016-09-14MacOSX compatibilityalter
- Implemented some syscall for MacOSX - tested on : El Capitan 10.11 x86_64 - make self hosted test run on macosx - modified run_test so it does not fail when parseh throws warnings (most of them are related to buildin types from gcc that arent defined in header files and unions) - making -mmacosx-version-min and -mios-version-min works like gcc (command line paramers have precedence over enviroment variables)
2016-09-13change `unreachable{}` to `@unreachable()`Andrew Kelley
instead of a container init expression, it's a builtin function call.
2016-09-10rename LLVMZig to ZigLLVMAndrew Kelley
2016-09-09Fix for C pointer generatorConstantine Tarasenkov