- Feb 08, 2013
-
-
rdar://problem/12867368Bob Wilson authored
This reverts r171041. This was a nice idea that didn't work out well. Clang warnings need to be associated with warning groups so that they can be selectively disabled, promoted to errors, etc. This simplistic patch didn't allow for that. Enhancing it to provide some way for the backend to specify a front-end warning type seems like overkill for the few uses of this, at least for now. llvm-svn: 174748
-
- 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
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
-
- Dec 26, 2012
-
-
Nick Lewycky authored
llvm-svn: 171120
-
- Dec 25, 2012
-
-
Bob Wilson authored
These are now generally used for all diagnostics from the backend, not just for inline assembly, so this drops the "InlineAsm" from the names. No functional change. (I've left aliases for the old names but only for long enough to let me switch over clang to use the new ones.) llvm-svn: 171047
-
- Dec 24, 2012
-
-
rdar://problem/12867368Bob Wilson authored
When the backend is used from clang, it should produce proper diagnostics instead of just printing messages to errs(). Other clients may also want to register their own error handlers with the LLVMContext, and the same handler should work for warnings in the same way as the existing emitError methods. llvm-svn: 171041
-
- Dec 03, 2012
-
-
Chandler Carruth authored
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
-
- Sep 13, 2012
-
-
Dan Gohman authored
llvm-svn: 163815
-
- Jun 19, 2012
-
-
Nuno Lopes authored
revert r158660, since Chris has some issues with this patch (namely using code to reprent information only used by the compiler) Original commit msg: add the 'alloc' metadata node to represent the size of offset of buffers pointed to by pointers. This metadata can be attached to any instruction returning a pointer llvm-svn: 158688
-
- Jun 18, 2012
-
-
Nuno Lopes authored
This metadata can be attached to any instruction returning a pointer llvm-svn: 158660
-
- Apr 14, 2012
-
-
Duncan Sands authored
thinking of generalizing it to be able to specify other freedoms beyond accuracy (such as that NaN's don't have to be respected). I'd like the 3.1 release (the first one with this metadata) to have the more generic name already rather than having to auto-upgrade it in 3.2. llvm-svn: 154744
-
- Mar 24, 2012
-
-
Rafael Espindola authored
metadata. llvm-svn: 153359
-
- Jan 04, 2012
-
-
Chris Lattner authored
llvm-svn: 147501
-
- Oct 27, 2011
-
-
Peter Collingbourne authored
llvm-svn: 143135
-
- Oct 16, 2011
-
-
Chris Lattner authored
string, pass it around as an enum. llvm-svn: 142107
-
- Jul 06, 2011
-
-
Jakub Staszak authored
llvm-svn: 134516
-
- Dec 19, 2010
-
-
Nick Lewycky authored
llvm-svn: 122193
-
Nick Lewycky authored
headers provide symbols outside namespace std and the LLVM coding standards state that we should prefix all of them. llvm-svn: 122192
-
- Dec 18, 2010
-
-
Bob Wilson authored
llvm-svn: 122099
-
- Nov 17, 2010
-
-
Chris Lattner authored
cookie argument to the SourceMgr diagnostic stuff. This cleanly separates LLVMContext's inlineasm handler from the sourcemgr error handling definition, increasing type safety and cleaning things up. llvm-svn: 119486
-
- Sep 14, 2010
-
-
Dan Gohman authored
isn't a good level of abstraction for memdep. Instead, generalize AliasAnalysis::alias and related interfaces with a new Location class for describing a memory location. For now, this is the same Pointer and Size as before, plus an additional field for a TBAA tag. Also, introduce a fixed MD_tbaa metadata tag kind. llvm-svn: 113858
-
- Sep 08, 2010
-
-
Owen Anderson authored
modules are instantiated in them. If the context is deleted, all of its owned modules are also deleted. llvm-svn: 113374
-
- Jul 20, 2010
-
-
Dan Gohman authored
bitcode file, so that two bitcode files where the same metadata kind name happens to have been assigned a different ID can still be linked together. Eliminate the restriction that metadata kind IDs can't be 0. Change MD_dbg from 1 to 0, because we can now, and because it's less mysterious that way. llvm-svn: 108939
-
- Apr 08, 2010
-
-
Chris Lattner authored
and use it in one place in inline asm handling stuff. Before we'd generate this for an invalid modifier letter: $ clang asm.c -c -o t.o fatal error: error in backend: Invalid operand found in inline asm: 'abc incl ${0:Z}' INLINEASM <es:abc incl ${0:Z}>, 10, %EAX<def>, 2147483657, %EAX, 14, %EFLAGS<earlyclobber,def,dead>, <!-1> Now we generate this: $ clang asm.c -c -o t.o error: invalid operand in inline asm: 'incl ${0:Z}' asm.c:3:12: note: generated from here __asm__ ("incl %Z0" : "+r" (X)); ^ 1 error generated. This is much better but still admittedly not great ("why" is the operand invalid??), codegen should try harder with its diagnostics :) llvm-svn: 100723
-
- Apr 06, 2010
-
-
Chris Lattner authored
llvm-svn: 100506
-
- Mar 31, 2010
-
-
Chris Lattner authored
the storage of !dbg metadata kinds in the instruction themselves. The on-the-side hash table works great for metadata that not-all instructions get, or for metadata that only exists when optimizing. But when compile-time is everything, it isn't great. I'm not super thrilled with the fact that this plops a TrackingVH in Instruction, because it grows it by 3 words. I'm investigating alternatives, but this should be a step in the right direction in any case. llvm-svn: 99957
-
- Mar 30, 2010
-
-
Chris Lattner authored
llvm-svn: 99927
-
- Dec 29, 2009
-
-
Chris Lattner authored
getMDKindID/getMDKindNames methods to LLVMContext (and add convenience methods to Module), eliminating MetadataContext. Move the state that it maintains out to LLVMContext. llvm-svn: 92259
-
- Dec 28, 2009
-
-
Chris Lattner authored
llvm-svn: 92212
-
- Oct 22, 2009
-
-
Devang Patel authored
llvm-svn: 84801
-
- Sep 28, 2009
-
-
Devang Patel authored
llvm-svn: 83019
-
- Sep 16, 2009
-
-
Devang Patel authored
This interface will be used to attach metadata with an instruction. llvm-svn: 82060
-
- Sep 04, 2009
-
-
Devang Patel authored
MDNode's operand list does not include all elements. llvm-svn: 81045
-
- Sep 03, 2009
-
-
Devang Patel authored
llvm-svn: 80928
-
Devang Patel authored
Use CallbackVH, instead of WeakVH, to hold MDNode elements. Use FoldingSetNode to unique MDNodes in a context. Use CallbackVH hooks to update context's MDNodeSet appropriately. llvm-svn: 80868
-
- Sep 02, 2009
-
-
Devang Patel authored
llvm-svn: 80841
-
Devang Patel authored
Use FoldingSetNode to unique MDNodes in a context. Use CallbackVH hooks to update context's MDNodeSet appropriately. llvm-svn: 80839
-
Devang Patel authored
For now disable MDNode uniquing. This fixes llvm-gcc bootstrap failure on certain Mac OS X 10.5. I am working on a proper fix. llvm-svn: 80738
-
- Aug 14, 2009
-
-
Owen Anderson authored
llvm-svn: 78955
-
- Aug 11, 2009
-
-
Benjamin Kramer authored
llvm-svn: 78690
-