summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Register list operands are not allowed to contain only a single register. ↵Owen Anderson2011-11-021-1/+5
| | | | | | Alternate encodings are used in that case. llvm-svn: 143552
* Don't print two 0x prefixes when printing an address.Benjamin Kramer2011-11-021-1/+1
| | | | llvm-svn: 143549
* Add back the top-level target for 'llvm-config' and the dependency edgeChandler Carruth2011-11-021-0/+7
| | | | | | | | | | | | to force it to build after all library targets so it has complete dependency information. This should fix broken 'make install' with CMake. This is a partial revert of r143540, but it doesn't revert the most important part of that change: removing the dependency edge from LLVM tools to the llvm-config script. llvm-svn: 143548
* Factor out an EmitIntExt function. No functionality change intended.Chad Rosier2011-11-021-31/+37
| | | | llvm-svn: 143547
* Rewrite LinearFunctionTestReplace to handle pointer-type IVs.Andrew Trick2011-11-022-84/+231
| | | | | | | | We've been hitting asserts in this code due to the many supported combintions of modes (iv-rewrite/no-iv-rewrite) and IV types. This second rewrite of the code attempts to deal with these cases systematically. llvm-svn: 143546
* Fix a typo noticed by Peter Collingbourne. No one depends on thisChandler Carruth2011-11-021-1/+1
| | | | | | | working today, but it shouldn't corrupt state for some poor soul to debug later. llvm-svn: 143545
* docs: Remove an out-of-date and unnecessary tool list.Daniel Dunbar2011-11-021-19/+1
| | | | llvm-svn: 143544
* docs: Separate development process type of documentation from programmingDaniel Dunbar2011-11-021-16/+22
| | | | | | documentation. llvm-svn: 143543
* docs: Remove UsingLibraries page, which was inaccurate / out-of-date and notDaniel Dunbar2011-11-022-441/+0
| | | | | | particularly useful. llvm-svn: 143542
* 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
* 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 parentheses to disambiguate the precedence of these operations andChandler Carruth2011-11-021-2/+2
| | | | | | silence -Wparentheses. llvm-svn: 143534
* 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
* Add a bunch more X86 AVX2 instructions and their corresponding intrinsics.Craig Topper2011-11-024-2/+584
| | | | llvm-svn: 143529
* 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
* 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
* Fix disassembly of some VST1 instructions.Owen Anderson2011-11-012-6/+21
| | | | llvm-svn: 143507
* 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
* Ignore MachO symbol flags in the upper nibble of n_desc.Jim Grosbach2011-11-011-2/+4
| | | | | | They don't impact the MCJIT rtdyld, so just mask them off for now. llvm-svn: 143472
* Support/Compiler: Add LLVM_EXTENSION for use where we want to hide pedantic ↵Daniel Dunbar2011-11-011-0/+8
| | | | | | diags. llvm-svn: 143468
* Don't fold negative offsets into cp / dp accesses to avoid relocation errors.Richard Osborne2011-11-012-2/+27
| | | | | | This can happen if the address + addend is less than the start of the cp / dp. llvm-svn: 143459
* Combine various XCore tests for floating point intrinsic support into a ↵Richard Osborne2011-11-0111-180/+171
| | | | | | single test. llvm-svn: 143458
* Move various XCore tests to FileCheckRichard Osborne2011-11-0117-60/+92
| | | | llvm-svn: 143457
* Fix operand type for x86 pmadd_ub_sw intrinsic.Craig Topper2011-11-012-5/+5
| | | | llvm-svn: 143455
* Remove a couple unused methods. PR11201.Eli Friedman2011-11-014-37/+0
| | | | llvm-svn: 143452
* Make sure we use the right insertion point when instcombine replaces a PHI ↵Eli Friedman2011-11-012-3/+29
| | | | | | with another instruction. (Specifically, don't insert an arbitrary instruction before a PHI.) Fixes PR11275. llvm-svn: 143437
* A couple misc fixes so that bugpoint doesn't explode reducing code ↵Eli Friedman2011-11-011-1/+5
| | | | | | containing landingpads. llvm-svn: 143435
* Add LuaAV to external projects list.Bill Wendling2011-11-011-0/+13
| | | | llvm-svn: 143431
* Move x86-specific tests into X86 folder.Eli Friedman2011-11-013-6/+11
| | | | llvm-svn: 143424
* Move another test requiring x86 into X86 directory.Eli Friedman2011-11-011-0/+0
| | | | llvm-svn: 143421
* Move test requiring x86 backend into X86 directory.Eli Friedman2011-11-011-0/+0
| | | | llvm-svn: 143420
* ARM VLD/VST assembly parsing for symbolic address operands.Jim Grosbach2011-11-013-2/+36
| | | | llvm-svn: 143413
* Update split candidate correctly when interference cache is full.Jakob Stoklund Olesen2011-11-011-0/+2
| | | | | | No test case, spotted by inspection. llvm-svn: 143407
* Add support for new atomics to cpp backend. Misc other fixes while I'm ↵Eli Friedman2011-10-311-2/+97
| | | | | | here. PR11268. llvm-svn: 143406
* Add utility to append a function to the list of global constructors. Devang Patel2011-10-313-0/+86
| | | | | | Patch by Kostya Serebryany. llvm-svn: 143405
* Change the actual tests to match the input directory rename (duh)Matt Beaumont-Gay2011-10-319-23/+23
| | | | llvm-svn: 143404
* Reapply r141657.Tanya Lattner2011-10-311-614/+827
| | | | | | Also revert the change to CREATE_SUBDIRS as this is what caused the CSS to break on the website and generate the much longer URLs. llvm-svn: 143401
* Rename "TestObjectFiles" to "Inputs" (like the pattern for Clang tests)Matt Beaumont-Gay2011-10-318-0/+0
| | | | llvm-svn: 143400
* ARM VST1 w/ writeback assembly parsing and encoding.Jim Grosbach2011-10-315-59/+168
| | | | llvm-svn: 143369
OpenPOWER on IntegriCloud