Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-29 | do not emit a branch to the relooper if the target is the default ↵ | Alon Zakai | |
destination anyhow; fixes #32 | |||
2014-04-25 | emscripten-no-aliasing-function-pointers option | Alon Zakai | |
2014-04-24 | comment | Alon Zakai | |
2014-04-08 | break phi var cycles only between actual phi vars | Alon Zakai | |
2014-03-31 | ensure a cast on everything in a return, even a nan or an inf | Alon Zakai | |
2014-03-14 | warn if given the wrong triple | Alon Zakai | |
2014-03-14 | prettyWarning utility | Alon Zakai | |
2014-03-11 | tiny indentation fix | Alon Zakai | |
2014-03-08 | resolve constants fully, through both multiple aliases and bitcasts | Alon Zakai | |
2014-03-06 | handle aliases in getConstAsOffset | Alon Zakai | |
2014-03-05 | Disable the ResolveAliases and GlobalCleanup passes. | Dan Gohman | |
Also add a test for handling of global aliases. | |||
2014-03-05 | Minor CallHandler cleanups. | Dan Gohman | |
2014-03-05 | Don't emit redirects for llvm.memcpy.p0i8.p0i8.i32 and friends. | Dan Gohman | |
We never reference these intrinsics by name, so we don't need redirects for them. | |||
2014-03-05 | Don't emit JS declarations for LLVM intrinsics expanded inline. | Dan Gohman | |
2014-03-05 | Don't run a pass to strip dead prototypes; just ignore them. | Dan Gohman | |
Also, fix the code for supressing declarations for no-op intrinsics. | |||
2014-03-05 | emscripten_debugger() intrinsic | Alon Zakai | |
2014-03-05 | Teach phi translation to also look through bitcasts. | Dan Gohman | |
This fixes a regression introduced in d95cd364f0c049d6c1b8d78746d44c00ed2f69f2; when regular expression translation looks through bitcasts but phi translation doesn't, phi translation may fail to properly detect dependencies. | |||
2014-03-05 | Trim unneeded #includes. | Dan Gohman | |
This also helps clarify that we're not using the MC framework. | |||
2014-03-05 | Eliminate a few more temporary std::strings. | Dan Gohman | |
2014-03-04 | Don't run calculateNativizedVars at -O1 and higher. | Dan Gohman | |
2014-03-04 | Don't run SimplifyAllocas at -O1 and higher. | Dan Gohman | |
2014-03-04 | Perform alloca coloring only at -O1 and higher. | Dan Gohman | |
2014-03-04 | Introduce AllocaManager, a class for managing allocas. | Dan Gohman | |
The AllocaManager performs stack layout for alloca objects. It is capable of analyzing alloca liveness and sharing space between multiple allocas. | |||
2014-03-04 | Simplify the handling of unnamed values. | Dan Gohman | |
This will also make it easier for the upcoming AllocaManager to eliminate allocas, because unnamed eliminated allocas won't be assigned names. | |||
2014-03-04 | Handle name prefixing in sanitizeGlobal/sanitizeLocal. | Dan Gohman | |
In the case of sanitizeGlobal, "_" was being prefixed in two different places; this factors it out into one place. | |||
2014-03-04 | Better integration with the LLVM Target system. | Dan Gohman | |
In particular, this is needed to make getOptLevel() work. | |||
2014-03-03 | forward assertions setting into backend, and use it to check for invalid # ↵ | Alon Zakai | |
of args in static calls | |||
2014-03-03 | Switch to 16-byte stack alignment. | Dan Gohman | |
When we support 16-byte SIMD types, it will be nice to be able to store them on the stack aligned without dynamic stack pointer realignment. | |||
2014-03-03 | Optimize out code and variables for no-op pointer casts. | Dan Gohman | |
2014-03-03 | Don't store padding zeros for a ConstantAggregateZero. | Dan Gohman | |
2014-02-28 | Move ExpandI64 into lib/Target/JSBackend. | Dan Gohman | |
2014-02-28 | fix check on whether a global is external; fixes issue #24 | Alon Zakai | |
2014-02-28 | use use_empty | Alon Zakai | |
2014-02-27 | emit assigns only for variables actually used | Alon Zakai | |
2014-02-25 | Fix handling of ConstantExpr Selects. | Dan Gohman | |
2014-02-25 | Support GEP and ConstantExprs directly in the JSBackend. | Dan Gohman | |
This patch also lays the groundwork for the single-use instruction trick to reduce the number of temporary variables. | |||
2014-02-20 | indirectbr support | Alon Zakai | |
2014-02-19 | tolerate arbitrary illegal chars in global names, lower all of them to _ | Alon Zakai | |
2014-02-19 | Fix atomic decrement (operand order of emitted code was flipped). | jonas echterhoff | |
2014-02-18 | guarantee that sanitize() returns a proper non-colliding value for each input | Alon Zakai | |
2014-02-18 | leave lines with calls to no-ops without a ; | Alon Zakai | |
2014-02-17 | support reserved function pointers | Alon Zakai | |
2014-02-17 | only emit declares with uses | Alon Zakai | |
2014-02-14 | emit an abort if calling an absolute address | Alon Zakai | |
2014-02-14 | Minor code simplification. | Dan Gohman | |
2014-02-14 | Don't try to nativize aggregate allocas. | Dan Gohman | |
2014-02-14 | Handle pointer types and ConstantExprs in more places. | Dan Gohman | |
2014-02-14 | Use DataLayout to determine type size. | Dan Gohman | |
getPrimitiveSizeInBits works on integer types but not on pointer types. This change makes the code more robust, and will help support the removal of the pointer lowering pass. This also requires removing const from some Type pointers. Types are immutable, so the convention is that const is redundant. | |||
2014-02-14 | Respect the requested signedness for pointer values. | Dan Gohman | |
2014-02-14 | Handle ConstantPointerNull correctly in more places. | Dan Gohman | |