- Jan 02, 2013
-
-
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
-
Chandler Carruth authored
utils/sort_includes.py script. Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes. llvm-svn: 171362
-
Chandler Carruth authored
Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
-
Craig Topper authored
llvm-svn: 171356
-
Craig Topper authored
llvm-svn: 171355
-
Rafael Espindola authored
llvm-svn: 171352
-
- Jan 01, 2013
-
-
Craig Topper authored
llvm-svn: 171351
-
Benjamin Kramer authored
llvm-svn: 171349
-
Benjamin Kramer authored
No functionality change. llvm-svn: 171348
-
Michael Gottesman authored
Added DEBUG message when ObjCARC replaces a call which returns its argument verbatim with its argument to temporarily undo an optimization. Specifically these calls return their argument verbatim, as a low-level optimization. However, this makes high-level optimizations harder. We undo any uses of this optimization that the front-end emitted. We redo them later in the contract pass. llvm-svn: 171346
-
Michael Gottesman authored
Added DEBUG messages to the top of several processing loops in ObjCARC.cpp that emit what instructions are being visited. This is a part of a larger effort of adding DEBUG messages to the ARC Optimizer Backend. llvm-svn: 171345
-
Craig Topper authored
llvm-svn: 171340
-
Craig Topper authored
llvm-svn: 171339
-
Craig Topper authored
llvm-svn: 171338
-
Craig Topper authored
llvm-svn: 171337
-
Craig Topper authored
Use packed instead of scalar itineraries for SSE1/2 SQRTPS/PD, RCPPS, and RSQRTPS. VEX-encoded forms already use packed. llvm-svn: 171336
-
Chandler Carruth authored
I'm simplifying this interface as much as I can before merging it with the new process interface. llvm-svn: 171334
-
Chandler Carruth authored
llvm-svn: 171332
-
Chandler Carruth authored
users over to the new one. No sense maintaining this "compatibility" layer it seems. llvm-svn: 171331
-
Chandler Carruth authored
Implement the old API in terms of the new one. This simplifies the implementation on Windows which can now re-use the self_process's once initialization. llvm-svn: 171330
-
- Dec 31, 2012
-
-
Chandler Carruth authored
llvm-svn: 171327
-
Nuno Lopes authored
The new code is an improved copy of the code I deleted from Analysis/Loads.cpp. One less compute-constant-gep-offset implementation. yay :) llvm-svn: 171326
-
Nuno Lopes authored
recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hopefully with bugs corrected now. llvm-svn: 171325
-
Benjamin Kramer authored
This reverts r171298. Breaks clang selfhost. llvm-svn: 171318
-
Jakub Staszak authored
Also add an assert to avoid confusion in the code where is known that C1 <= C2. llvm-svn: 171310
-
Nuno Lopes authored
llvm-svn: 171308
-
Nuno Lopes authored
llvm-svn: 171307
-
Nuno Lopes authored
llvm-svn: 171306
-
Nuno Lopes authored
llvm-svn: 171303
-
Nuno Lopes authored
llvm-svn: 171298
-
Bill Wendling authored
llvm-svn: 171294
-
Chandler Carruth authored
Fix a truly odd namespace qualifier that was flat out wrong in the process. The fully qualified namespace would have been llvm::sys::TimeValue, llvm::TimeValue makes no sense. llvm-svn: 171292
-
Chandler Carruth authored
llvm-svn: 171291
-
Chandler Carruth authored
llvm-svn: 171290
-
Chandler Carruth authored
The coding style used here is not LLVM's style because this is modeled after a Boost interface and thus done in the style of a candidate C++ standard library interface. I'll probably end up proposing it as a standard C++ library if it proves to be reasonably portable and useful. This is just the most basic parts of the interface -- getting the process ID out of it. However, it helps sketch out some of the boiler plate such as the base class, derived class, shared code, and static factory function. It also introduces a unittest so that I can incrementally ensure this stuff works. However, I've not even compiled this code for Windows yet. I'll try to fix any Windows fallout from the bots, and if I can't fix it I'll revert and get someone on Windows to help out. There isn't a lot more that is mandatory, so soon I'll switch to just stubbing out the Windows side and get Michael Spencer to help with implementation as he can test it directly. llvm-svn: 171289
-
Chris Lattner authored
promoting a store in a loop. This was noticed when working on PR14753, but isn't directly related. llvm-svn: 171281
-
Chris Lattner authored
PR14753 llvm-svn: 171279
-
Jakub Staszak authored
llvm-svn: 171272
-
Bill Wendling authored
Remove the getAttributesAtIndex and getNumAttrs methods in favor of using the getAttrSomewhere predicate. This prevents the uses of 'Attribute' as a collection of attributes. llvm-svn: 171271
-
Jakub Staszak authored
if C1 and C2 differ only with one bit. Fixes PR14708. llvm-svn: 171270
-