aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/JSBackend/CallHandlers.h
AgeCommit message (Collapse)Author
2014-03-31suppress args warnings when the number is forced anyhowAlon Zakai
2014-03-31truncate arguments that are not in the actual function being calledAlon Zakai
2014-03-25emit output variable for calls to absolute values, even though they ↵Alon Zakai
segfault, to not break validation
2014-03-14prettyWarning utilityAlon Zakai
2014-03-11mention the function in the asm() errorAlon Zakai
2014-03-10update float ffi rulesAlon Zakai
2014-03-06do not warn on invalid argument numbers or types in varargs callsAlon Zakai
2014-03-05Minor CallHandler cleanups.Dan Gohman
2014-03-05Don'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-05Tidy up the output for memset and memcpy, and add a test.Dan Gohman
2014-03-05emscripten_debugger() intrinsicAlon Zakai
2014-03-05Clean up the handling of inline asm.Dan Gohman
Make inline asm a report_fatal_error instead of an assertion failure so that it's a little friendlier, and add a test to make sure llc -march=js rejects inline asm. Also disable the PNaCl inline asm("":::"memory") lowering pass. If people are using this, it's best that we diagnose it as it likely isn't portable. There are usually better alternatives.
2014-03-03check argument and return types staticallyAlon Zakai
2014-03-03forward assertions setting into backend, and use it to check for invalid # ↵Alon Zakai
of args in static calls
2014-02-28Implement llvm.flt.rounds and disable the createRewriteLLVMIntrinsicsPass pass.Dan Gohman
2014-02-25properly handle align 0 on memcpy and memset, warning if asked forAlon Zakai
2014-02-25comment on technically incorrect handling of alignment 0 in memcpy and memsetAlon Zakai
2014-02-25Eliminate a few more temporary std::strings.Dan Gohman
2014-02-25Support 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-18remove locale call handlers, we do this in the js library nowAlon Zakai
2014-02-14emit nothing for lifetime intrinsicsAlon Zakai
2014-02-14emit an abort if calling an absolute addressAlon Zakai
2014-02-14Handle pointer types and ConstantExprs in more places.Dan Gohman
2014-02-07fewer casts on math callsAlon Zakai
2014-02-06handle align 0 in memcpy and memsetAlon Zakai
2014-02-06optimize partially aligned memcpysAlon Zakai
2014-02-06optimize partially aligned memsetsAlon Zakai
2014-02-06optimize constant memsetsAlon Zakai
2014-02-06optimize memcpy loopsAlon Zakai
2014-02-06optimize small constant memcpyAlon Zakai
2014-02-04wip to remove casts on math callsAlon Zakai
2014-02-03make SItoF and UItoF support floatsAlon Zakai
2014-02-03temp fix for Math float issueAlon Zakai
2014-02-03fix asm casts of float as ffi paramsAlon Zakai
2014-02-03handle floats in casts to intAlon Zakai
2014-02-03do not emit ffi casts on Math_* builtinsAlon Zakai
2014-02-03emit ffi casts only when necessaryAlon Zakai
2014-02-03ffi call support for floatsAlon Zakai
2014-01-31Simply handling of llvm_dbg_value.Dan Gohman
2014-01-22handle fptosi|ui on both floats and doublesAlon Zakai
2014-01-22typoAlon Zakai
2014-01-20initialize start of setjmp tableAlon Zakai
2014-01-20commentAlon Zakai
2014-01-20fix longjmp rethrowAlon Zakai
2014-01-20get first setjmp test passingAlon Zakai
2014-01-20setjmp fixesAlon Zakai
2014-01-19setjmp fixesAlon Zakai
2014-01-19initial work on setjmp/longjmp for emscriptenAlon Zakai
2014-01-15update call handlers for latest libc++ in emscriptenAlon Zakai
2014-01-12handle preinvoke/postinvoke pairs where the call in the middle was optimized ↵Alon Zakai
out; helps #5