Commits

Show all
Author Commit Message Labels Comments Date
Gordon Henriksen
CollectorMetadata and Collector are rejiggered to get along with per-function collector model. Collector is now the factory for CollectorMetadata, so the latter may be subclassed.
Tags
2 tags
Gordon Henriksen
Project file maintenance.
Chris Lattner
Move TargetData::hostIsLittleEndian out of line, which means we don't have to #include config.h in it. #including config.h breaks other projects that have their own autoconf stuff and try to #include the llvm headers. One obscure example is llvm-gcc.
Gordon Henriksen
Adding Ocaml bindings for the bitreader as requested by Sarah Thompson. Usage should be something like this: open Llvm open Llvm_bitreader match read_bitcode_file fn with | Bitreader_failure msg -> prerr_endline msg | Bitreader_success m -> ...; dispose_module m Compile with: ocamlc llvm.cma llvm_bitreader.cma ocamlopt llvm.cmxa llvm_bitreader.cmxa
Anton Korobeynikov
Hey, English is not my native language :)
Anton Korobeynikov
Clarify the need of CFI() stuff
Anton Korobeynikov
Provide convenient way to disable CFI stuff for old/broken assemblers. Use it for Darwin.
Chris Lattner
Fix PR1850 by removing an unsafe transformation from VMCore/ConstantFold.cpp. Reimplement the xform in Analysis/ConstantFolding.cpp where we can use targetdata to validate that it is safe. While I'm in there, fix some const correctness issues and generalize the interface to the "operand folder".
Ted Kremenek
Added two bounds checks to the BitVector class to detect out-of-bounds bit accesses. The checks are only performed in a Debug build.
Chris Lattner
split isBinaryOp into a static and member version.
John T. Criswell
Fix some wording.
Tags
2 tags
Chuck Rose III
Add StringPool + new CodeGen files to win32 build
Chris Lattner
Disable cfi directives for now, darwin does't support them. These should probably be something like: CFI(".cfi_def_cfa_offset 16\n") where CFI is defined to a noop on darwin and other platforms that don't support those directives.
Duncan Sands
Make PruneEH update the nounwind/noreturn attributes on functions as it calculates them.
Duncan Sands
Fix PR1836: in the interpreter, read and write apints using the minimum possible number of bytes. For little endian targets run on little endian machines, apints are stored in memory from LSB to MSB as before. For big endian targets on big endian machines they are stored from MSB to LSB which wasn't always the case before (if the target and host endianness doesn't match values are stored according to the host's endianness). Doing this requires kno…
Anton Korobeynikov
And finally annotate X86-64 version of callback. All bad stuff from SSE version is implicitely inherited :)
Anton Korobeynikov
Provide annotation for SSE version of callback. It's even more broken, because doesn't mark xmm regs properly
Anton Korobeynikov
Annotate JIT callback function with call frame infromation. This will allow us (theoretically) to unwind through JITer. The code wasn't verified, so I'm pretty sure offsets are wrong :)
Duncan Sands
It looks like this has been broken for some time - get it to compile.
Owen Anderson
A little more progress on StrongPHIElimination, now that I have a better sense of how the CodeGen machinery works.
Christopher Lamb
Improve branch folding by recgonizing that explict successor relationships impact the value of fall-through choices.
Gordon Henriksen
Delete the CollectorNamePool if it should become empty.
Gordon Henriksen
Fix a typo spotted by Nick Lewycky.
Gordon Henriksen
Adding a collector name attribute to Function in the IR. These methods are new to Function: bool hasCollector() const; const std::string &getCollector() const; void setCollector(const std::string &); void clearCollector(); The assembly representation is as such: define void @f() gc "shadow-stack" { ... The implementation uses an on-the-side table to map Functions to collector names, such that there is no overhead. A StringPool is further used to unique collector names, which…
Gordon Henriksen
Reverting dtor devirtualization patch. _sabre_: it has a major problem: by the time ~Value is run, all of the "parts" of the derived classes have been destroyed _sabre_: the vtable lives to fight another day
Chris Lattner
remove some dead code.
Chris Lattner
fix some warnings.
Chris Lattner
Fix a big problem in the recent dtor refactoring work, now it passes 2007-11-19-InlineAsm.ll
Gordon Henriksen
Devirtualizing Value destructor (PR889). Patch by Pawel Kunio!
Chris Lattner
Duncan points out that the subtraction is unneeded since hte code knows the vector is not pow2
  1. Prev
  2. Next