Skip to content
  1. Jul 25, 2013
    • Rafael Espindola's avatar
      Respect llvm.used in Internalize. · 17600e29
      Rafael Espindola authored
      The language reference says that:
      
      "If a symbol appears in the @llvm.used list, then the compiler,
      assembler, and linker are required to treat the symbol as if there is
      a reference to the symbol that it cannot see"
      
      Since even the linker cannot see the reference, we must assume that
      the reference can be using the symbol table. For example, a user can add
      __attribute__((used)) to a debug helper function like dump and use it from
      a debugger.
      
      llvm-svn: 187103
      17600e29
  2. Jan 02, 2013
    • Chandler Carruth's avatar
      Move all of the header files which are involved in modelling the LLVM IR · 9fb823bb
      Chandler Carruth authored
      into their new header subdirectory: include/llvm/IR. This matches the
      directory structure of lib, and begins to correct a long standing point
      of file layout clutter in LLVM.
      
      There are still more header files to move here, but I wanted to handle
      them in separate commits to make tracking what files make sense at each
      layer easier.
      
      The only really questionable files here are the target intrinsic
      tablegen files. But that's a battle I'd rather not fight today.
      
      I've updated both CMake and Makefile build systems (I think, and my
      tests think, but I may have missed something).
      
      I've also re-sorted the includes throughout the project. I'll be
      committing updates to Clang, DragonEgg, and Polly momentarily.
      
      llvm-svn: 171366
      9fb823bb
  3. Jun 29, 2012
    • Chandler Carruth's avatar
      Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h · aafe0918
      Chandler Carruth authored
      This was always part of the VMCore library out of necessity -- it deals
      entirely in the IR. The .cpp file in fact was already part of the VMCore
      library. This is just a mechanical move.
      
      I've tried to go through and re-apply the coding standard's preferred
      header sort, but at 40-ish files, I may have gotten some wrong. Please
      let me know if so.
      
      I'll be committing the corresponding updates to Clang and Polly, and
      Duncan has DragonEgg.
      
      Thanks to Bill and Eric for giving the green light for this bit of cleanup.
      
      llvm-svn: 159421
      aafe0918
  4. Dec 15, 2011
  5. Nov 16, 2011
  6. Nov 01, 2011
Loading