89 Commits (8df220a53b049871dca56c2ef45437e0ccd0ffd9)

Author SHA1 Message Date
Ayke van Laethem 8df220a53b
Move to my own fork of LLVM 7 years ago
Ayke van Laethem 1eccae287b
tgo: Fix runtime.TargetBits 7 years ago
Ayke van Laethem d1dbca53ff
tgo: Eliminate most debug prints 7 years ago
Ayke van Laethem 315e39b164
tgo: Remove getGlobalName from Compiler object 7 years ago
Ayke van Laethem 2390b24c5a
tgo: Add extra chip types for nRF 7 years ago
Ayke van Laethem 5fa39adb81
tgo: Allow anonymous function declarations 7 years ago
Ayke van Laethem 588910792d
Translate bootstrapping main from C to LLVM IR 7 years ago
Ayke van Laethem a9bbed2f6c
tgo: Implement special case for LLVM intrinsics 7 years ago
Ayke van Laethem 320c583221
Implement printing of int8/uint8/pointers 7 years ago
Ayke van Laethem e171f32493
Implement minimal bump pointer allocator 7 years ago
Ayke van Laethem 16489c0df6 compiler: Workaround for runtime.boundsCheck in runtime dependencies 7 years ago
Ayke van Laethem 01602309fd compiler: Implement register loads and stores 7 years ago
Ayke van Laethem 3b4621c215 compiler: Implement XOR (^x) 7 years ago
Ayke van Laethem 877d0817ea compiler: Comments 7 years ago
Ayke van Laethem 84b45a33f1 compiler: Implement initializers for arrays in global structs 7 years ago
Ayke van Laethem db8b6c6900 compiler: Fix package dependency order calculation 7 years ago
Ayke van Laethem 88f143f3e6 compiler: Implement initializers for global structs 7 years ago
Ayke van Laethem b0cb51bdd8 compiler: Do not pre-define runtime functions by the compiler 7 years ago
Ayke van Laethem b11a618d99 compiler: Set actual initializer for global variables 7 years ago
Ayke van Laethem c5a82bb916 compiler: Fix globals so they actually work 7 years ago
Ayke van Laethem 14cbc1555d compiler: Use zeroinitializer instead of memset 7 years ago
Ayke van Laethem 6ed1ca11c7 compiler: Use correct package path for global 7 years ago
Ayke van Laethem 2534111141 compiler: comments 7 years ago
Ayke van Laethem e895372918 compiler: Don't externally link runtime.init 7 years ago
Ayke van Laethem 5bbd41e9fb compiler: Implement -ffunction-sections work 7 years ago
Ayke van Laethem f7c2d0124d compiler: Support bitcasting non-integers 7 years ago
Ayke van Laethem bddb0c49b2 compiler: Add boolean constants 7 years ago
Ayke van Laethem 6ad451a582 compiler: Fix named global path 7 years ago
Ayke van Laethem 4491a63fe8 Add print() for 64-bit integers 7 years ago
Ayke van Laethem d17c21681b compiler: Accept more variable types in print() 7 years ago
Ayke van Laethem d13566b302 compiler: Don't ignore errors in parsePackage 7 years ago
Ayke van Laethem c940617849 compiler: Implement init() 7 years ago
Ayke van Laethem 9a988dd1d1 compiler: Refactor Compiler.Parse: extract parsePackage 7 years ago
Ayke van Laethem 2d19bb11ba compiler: Merge the runtime into the Go code, for better code size 7 years ago
Ayke van Laethem 775445cceb compiler: Reduce code size 7 years ago
Ayke van Laethem a446b4de97 Be able to actually run the blinky example on an nRF 7 years ago
Ayke van Laethem e80f06bc5e Implement more type casting 7 years ago
Ayke van Laethem 69140c240b Implement named binop types 7 years ago
Ayke van Laethem b4ba90d7f5 Implement uintptr type 7 years ago
Ayke van Laethem 51b947956f Use Clang as CGo compiler 7 years ago
Ayke van Laethem 93399c009e Emit textual LLVM IR 7 years ago
Ayke van Laethem cefce41df0 Correct function name for calls to other packages 7 years ago
Ayke van Laethem 9d3dfd8868 Make package process order deterministic: based on import order 7 years ago
Ayke van Laethem 03c6b7256e Simplify parseConstInt 7 years ago
Ayke van Laethem 5067891236 Implement unsigned integers 7 years ago
Ayke van Laethem cf9cea7a0d Implement array bounds check 7 years ago
Ayke van Laethem 1f0651c84c Implement string out of bounds checks 7 years ago
Ayke van Laethem db66039dfe Implement panic() 7 years ago
Ayke van Laethem d812873e60 Add support for (zero-initialized) arrays 7 years ago
Ayke van Laethem 02332080e6 Use LLVM API for type size calculations 7 years ago