summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build/Make: Get rid of llvm-config-perobj, which isn't used anymore.Daniel Dunbar2011-11-021-44/+0
| | | | llvm-svn: 143541
* build/CMake: Remove llvm-config.target used to serialize tool builds onDaniel Dunbar2011-11-021-11/+0
| | | | | | llvm-config build, there is no longer a point to this after Chandler's work. llvm-svn: 143540
* Fixing some dead links. Patch by Jean-Daniel Dupas!David Blaikie2011-11-021-2/+2
| | | | llvm-svn: 143539
* Remove virtually empty file.Benjamin Kramer2011-11-022-18/+0
| | | | llvm-svn: 143538
* Begin collecting some of the statistics for block placement discussed onChandler Carruth2011-11-025-0/+98
| | | | | | | | | | | | | the mailing list. Suggestions for other statistics to collect would be awesome. =] Currently these are implemented as a separate pass guarded by a separate flag. I'm not thrilled by that, but I wanted to be able to collect the statistics for the old code placement as well as the new in order to have a point of comparison. I'm planning on folding them into the single pass if / when there is only one pass of interest. llvm-svn: 143537
* More AVX2 instructions and intrinsics.Craig Topper2011-11-023-12/+316
| | | | llvm-svn: 143536
* Add colors to the C++11 status page.Michael J. Spencer2011-11-021-68/+64
| | | | llvm-svn: 143535
* Add parentheses to disambiguate the precedence of these operations andChandler Carruth2011-11-021-2/+2
| | | | | | silence -Wparentheses. llvm-svn: 143534
* Invoke the Darwin assembler with -g instead of --gdwarf2.Bob Wilson2011-11-021-1/+1
| | | | | | | | | The -g and --gdwarf2 options are currently synonyms to the Darwin assembler. But clang itself does not recognize --gdwarf2, so if we want to experiment with using clang, with its integrated assembler, to replace the default assembler, it is necessary to use -g. <rdar://problem/10349486> llvm-svn: 143533
* Update the CMake build for clang-tblgen to reflect that it directlyChandler Carruth2011-11-021-0/+1
| | | | | | | depends on the Support library rather than relying on TableGen's transitive dependency. llvm-svn: 143532
* The TableGen parts of the CMake build are seriously broken. This fixesChandler Carruth2011-11-022-1/+4
| | | | | | | | | | | | | | one aspect of them by having them use the (annoying, if not broken) proper library dependency model for adding the LLVMTableGen library as a dependency. This could manifest as a link order issue in the presence of separate LLVM / Clang source builds with CMake and a linker that really cares about such things. Also, add the Support dependency to llvm-tblgen itself so that it doesn't rely on TableGen's transitive Support dependency. A parallel change for clang-tblgen will be forthcoming. llvm-svn: 143531
* Check for homogeneous aggregate return values with ARM's AAPCS-VFP ABI.Bob Wilson2011-11-022-4/+12
| | | | llvm-svn: 143530
* Add a bunch more X86 AVX2 instructions and their corresponding intrinsics.Craig Topper2011-11-024-2/+584
| | | | llvm-svn: 143529
* <rdar://problem/10020849>Greg Clayton2011-11-021-4/+23
| | | | | | | | | | | | | Fixed an issue where the DWARF might mention that a class has a constructor (default, copy or move), destructor, or an assignment operator (copy or move) and it might not have an actual implementation in your code. Then you try and use this struct or class in an expression and the JIT would ask for the address of these methods that were in the declaration, yet there are none. We now "do the right thing" for trivial ctors, dtors and assignment operators by telling the methods that they are are defaulted and trivial, and clang will then just do all of the work with builtins! llvm-svn: 143528
* Add an option to emulate the strange Apple gcc behavior of #pragma pack.Eli Friedman2011-11-027-0/+34
| | | | | | <rdar://problem/10374763> llvm-svn: 143527
* Sometimes the debug information includes artifically-Sean Callanan2011-11-024-28/+53
| | | | | | | | | | | | | generated special member functions (constructors, destructors, etc.) for classes that don't really have them. We needed to mark these as artificial to reflect the debug information; this bug does that for constructors and destructors. The "etc." case (certain assignment operators, mostly) remains to be fixed. llvm-svn: 143526
* Rename show-diagnostics to something less ambiguous.Chad Rosier2011-11-021-0/+0
| | | | llvm-svn: 143525
* Add support to the linker to lazily link in functions. This change only ↵Tanya Lattner2011-11-021-0/+58
| | | | | | links functions marked with specific linkage (internal, private, linker_private, linker_private_weak, linker_private_weak_def_auto, linkonce, linkonce_odr, and available_externally) if they have uses in the destination module. Instead of automatically linking, these functions are placed onto a worklist to be processed in the final stage of linking. We iterate over the list and if any functions on the list have uses in the destination module, we link them in and repeat the process until no changes in the state (uses) has changed. This means that any functions in the LazilyLink worklist that have a use in the destination module will be linked in and none that don't. llvm-svn: 143524
* Factor out a SelectTrunc function. No functionality change intended.Chad Rosier2011-11-021-17/+28
| | | | llvm-svn: 143523
* Broaden an assert to handle enable-iv-rewrite=true following r143183.Andrew Trick2011-11-022-1/+39
| | | | | | Narrowest possible fix for PR11279. llvm-svn: 143522
* Fixed a bug in the code to create a dwarf file and directory table entires whenKevin Enderby2011-11-012-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | it is separating the directory part from the basename of the FileName. Noticed that this: .file 1 "dir/foo" when assembled got the two parts switched. Using the Mac OS X dwarfdump tool it can be seen easily: % dwarfdump -a a.out include_directories[ 1] = 'foo' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 dir ... Which should be: ... include_directories[ 1] = 'dir' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 foo llvm-svn: 143521
* Added functionality to call Objective-C class methodsSean Callanan2011-11-015-1/+182
| | | | | | | | | | | | correctly, and added a testcase to check that it works. The main problem here is that Objective-C class method selectors are external references stored in a special data structure in the LLVM IR module for an expression. I just had to extract them and ensure that the real class object locations were properly resolved. llvm-svn: 143520
* Fix ratio arithmetic with zeroHoward Hinnant2011-11-013-0/+42
| | | | llvm-svn: 143519
* objc: warn if a readonly property has a setter attribute too.Fariborz Jahanian2011-11-014-0/+18
| | | | | | // rdar://10357768 llvm-svn: 143518
* [analyzer] Make sink attribute part of the node profile.Anna Zaks2011-11-014-57/+50
| | | | | | | This prevents caching out on nodes with different sink flag. (This is a cleaner fix for radar://10376675). llvm-svn: 143517
* [analyzer] Fix PR11282 - an assert in markAsSinkAnna Zaks2011-11-014-4/+22
| | | | | | | | This is another fallout from the refactoring. We were calling MarkAsSink on a cached out node. (Fixes radar://10376675) llvm-svn: 143516
* [analyzer] Make sure the child builder use temporary destination setsAnna Zaks2011-11-012-6/+9
| | | | | | The parent and child builders should not share node sets. llvm-svn: 143515
* [analyzer] BranchNodeBuilder should not generate autotransitions.Anna Zaks2011-11-014-2/+22
| | | | | | This fixes radar://10367606 llvm-svn: 143514
* [analyzer] CheckerContext::getPredecessor() cleanupAnna Zaks2011-11-013-4/+6
| | | | | | Remove unnecessary calls to CheckerContext::getPredecessor() + Comments. llvm-svn: 143513
* [analyzer] Remove the CheckerContext's destructor.Anna Zaks2011-11-012-4/+0
| | | | llvm-svn: 143512
* ARM label operands can be quoted.Jim Grosbach2011-11-011-0/+1
| | | | | | For example, labels from Objective-C sources. llvm-svn: 143511
* ARM label operands can have an optional '#' before them.Jim Grosbach2011-11-011-6/+4
| | | | llvm-svn: 143510
* First part of support for generating dwarf for assembly source files with theKevin Enderby2011-11-014-0/+50
| | | | | | | | | | | | -g flag. In this part we generate the .file for the source being assembled and the .loc's for the assembled instructions. The next part will be to generate the dwarf Compile Unit DIE and a dwarf subprogram DIE for each non-temporary label. Once the next part is done test cases will be added. rdar://9275556 llvm-svn: 143509
* Add missing export. Spotted by Leandro Melo.Eli Friedman2011-11-011-0/+1
| | | | llvm-svn: 143508
* Fix disassembly of some VST1 instructions.Owen Anderson2011-11-012-6/+21
| | | | llvm-svn: 143507
* When we run into a constructor or destructor that is defined in theDouglas Gregor2011-11-013-5/+23
| | | | | | | | wrong class, make sure to drop it immediately; we don't want that constructor to be available within the DeclContext. Fixes <rdar://problem/9677163>. llvm-svn: 143506
* Fix r143463 to test what it was intended to test.Richard Smith2011-11-011-2/+2
| | | | llvm-svn: 143505
* When we see an out-of-line definition of a member class template thatDouglas Gregor2011-11-012-1/+16
| | | | | | | does not match any declaration in the class (or class template), be sure to mark it as invalid. Fixes PR10924 / <rdar://problem/10119422>. llvm-svn: 143504
* rename getHostTriple into getDefaultTargetTriple in clangSebastian Pop2011-11-016-8/+8
| | | | llvm-svn: 143503
* rename getHostTriple into getDefaultTargetTripleSebastian Pop2011-11-0112-18/+18
| | | | llvm-svn: 143502
* rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLESebastian Pop2011-11-0111-22/+17
| | | | llvm-svn: 143501
* derive LLVM_HOSTTRIPLE from targetSebastian Pop2011-11-014-4/+4
| | | | llvm-svn: 143500
* Teach the x86 backend a couple tricks for dealing with v16i8 sra by a ↵Eli Friedman2011-11-012-0/+38
| | | | | | constant splat value. Fixes PR11289. llvm-svn: 143498
* Add include file install pathHoward Hinnant2011-11-011-0/+7
| | | | llvm-svn: 143497
* When constant-folding, don't look at the initializer of a global const variableRichard Smith2011-11-012-5/+15
| | | | | | if it's marked as weak: that definition may not end up being used. llvm-svn: 143496
* Temporarily disable lvalue-to-rvalue conversions on const pointers while anRichard Smith2011-11-012-2/+7
| | | | | | | apparent miscompile triggered by this is investigated. This is essentially a revert of r143298. llvm-svn: 143491
* Do not create sub_dirs. This breaks the CSS links for the website and ↵Tanya Lattner2011-11-011-1/+1
| | | | | | produces really long URLS. llvm-svn: 143487
* [libclang] Fix non-darwin buildbots.Argyrios Kyrtzidis2011-11-011-1/+2
| | | | llvm-svn: 143477
* Add bench entries.Johnny Chen2011-11-011-0/+18
| | | | llvm-svn: 143476
* Find copy constructor needed to copy an rvalue referenceFariborz Jahanian2011-11-012-1/+19
| | | | | | c++ object into block descriptor. // rdar://9971124 llvm-svn: 143475
OpenPOWER on IntegriCloud