summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* On "Unix", if Program::FindProgramByName is given a name containingDan Gohman2009-07-281-1/+1
| | | | | | | slashes, just go with it, regardless of whether it looks like it will be executable. This follows the behavior of sh(1) more closely. llvm-svn: 77396
* Doxygenify comments.Bill Wendling2009-07-282-2/+4
| | | | llvm-svn: 77394
* Split out large loop into it's very own method. No intended functionality ↵Bill Wendling2009-07-282-42/+62
| | | | | | change. llvm-svn: 77393
* It isn't necessary to use F_OK when using R_OK or similar.Dan Gohman2009-07-281-2/+2
| | | | llvm-svn: 77392
* Move X86 instruction parsing into X86/AsmParser.Daniel Dunbar2009-07-281-23/+268
| | | | llvm-svn: 77384
* Output the EH TType format and base offset only if there are types that we'reBill Wendling2009-07-281-6/+15
| | | | | | going to emit. llvm-svn: 77382
* Fix a fixme; don't take binaries from the working directory.Benjamin Kramer2009-07-281-3/+3
| | | | | | | This fixes clang on non-darwin platforms if a file called 'ld' or 'as' is in the working directory. Based on patch by Pawel Worach! llvm-svn: 77379
* Remove unused method.Devang Patel2009-07-281-16/+0
| | | | llvm-svn: 77378
* Output the correct format for Darwin.Bill Wendling2009-07-281-5/+7
| | | | llvm-svn: 77376
* Use the preferred EH data format for the preferred EH data format.Bill Wendling2009-07-281-2/+2
| | | | llvm-svn: 77373
* Darwin outputs (DW_EH_PE_pcrel | DW_EH_PE_indirect | DW_EH_PE_sdata4) when we'reBill Wendling2009-07-281-2/+5
| | | | | | dealing with Data. llvm-svn: 77372
* Rename MDNode.h header. It defines MDnode and other metadata classes.Devang Patel2009-07-2820-47/+63
| | | | | | New name is Metadata.h. llvm-svn: 77370
* Fix a typo.Evan Cheng2009-07-281-1/+1
| | | | llvm-svn: 77369
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-2819-131/+116
| | | | llvm-svn: 77366
* In thumb2 mode, add pc is unpredictable. Use add + mov pc instead (that is ↵Evan Cheng2009-07-285-18/+7
| | | | | | until more optimization goes in). llvm-svn: 77364
* Remove support for ORN to workaround <rdar://problem/7096522>.David Goodwin2009-07-281-3/+5
| | | | llvm-svn: 77363
* Provide generic MCAsmParser when constructing target specific parsers.Daniel Dunbar2009-07-281-6/+8
| | | | llvm-svn: 77362
* Add DebugInfoEnumerator to collect debug info.Devang Patel2009-07-281-0/+117
| | | | llvm-svn: 77360
* Simplify LDA-internal interface.Andreas Bolka2009-07-281-12/+8
| | | | llvm-svn: 77359
* Add LDA statistics.Andreas Bolka2009-07-281-0/+14
| | | | llvm-svn: 77358
* Minor factoring, naming and formatting cleanups.Andreas Bolka2009-07-281-24/+29
| | | | llvm-svn: 77357
* Handle null and file symbol on doInitializationBruno Cardoso Lopes2009-07-282-9/+8
| | | | llvm-svn: 77354
* more simplifications and cleanup. :)Chris Lattner2009-07-281-18/+17
| | | | llvm-svn: 77350
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-2818-196/+159
| | | | llvm-svn: 77347
* Add workaround for <rdar://problem/7098328>.David Goodwin2009-07-281-1/+2
| | | | llvm-svn: 77340
* Expose Tokens to target specific assembly parsers.Daniel Dunbar2009-07-281-1/+1
| | | | llvm-svn: 77337
* Fix PR4639, a ELF-TLS regression from some of my refactoring.Chris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77336
* the apple "ld_classic" linker doesn't support .literal16 in 32-bitChris Lattner2009-07-284-8/+15
| | | | | | | mode, and "ld64" (the default linker) falls back to it in -static mode. llvm-svn: 77334
* Add Thumb-2 patterns for ARMsrl_flag and ARMsra_flag.David Goodwin2009-07-281-1/+10
| | | | llvm-svn: 77329
* Add reload and remat backscheduling. This is disabled by default. UseDavid Greene2009-07-281-26/+150
| | | | | | -schedule-spills=true to enable. llvm-svn: 77327
* fix unused variable warningChris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77326
* tADDrSPI doesn't have a predicate operand, but tADDhirr and tADDi3 have.Evan Cheng2009-07-281-0/+5
| | | | llvm-svn: 77305
* Code clean up. No functionality changes.Evan Cheng2009-07-281-21/+32
| | | | llvm-svn: 77301
* - More refactoring. This gets rid of all of the getOpcode calls.Evan Cheng2009-07-2816-566/+607
| | | | | | | | | | | - This change also makes it possible to switch between ARM / Thumb on a per-function basis. - Fixed thumb2 routine which expand reg + arbitrary immediate. It was using using ARM so_imm logic. - Use movw and movt to do reg + imm when profitable. - Other code clean ups and minor optimizations. llvm-svn: 77300
* fix a casting problem on the llvm-x86_64-linux testerChris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77295
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-2857-1255/+1452
| | | | | | | | | | | | | | | | | | | | it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294
* don't copy TargetLowering.Chris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77293
* Teach instcombine to respect and preserve inbounds. Add inboundsDan Gohman2009-07-282-22/+56
| | | | | | to a few tests where it is required for the expected transformation. llvm-svn: 77290
* Fix a small little typo.Mike Stump2009-07-281-1/+1
| | | | llvm-svn: 77289
* Replace dyn_castGetElementPtr with dyn_cast<GEPOperator>.Dan Gohman2009-07-281-15/+5
| | | | llvm-svn: 77286
* Grab the LLVMContext and parent Module of SI ahead of theDan Gohman2009-07-281-3/+4
| | | | | | | point where SI can get deleted. This fixes a use of free'd memory. This fixes Externals/Povray. llvm-svn: 77285
* ORN does not require (and can not have) the ".w" suffix. "Orthogonality" is ↵David Goodwin2009-07-271-7/+13
| | | | | | a dirty word at ARM. llvm-svn: 77275
* Fix a release-asserts warning. Debug functions should be marked used,Mike Stump2009-07-271-0/+2
| | | | | | | if there are no other uses. If people don't need this routine anymore, if should be deleted. llvm-svn: 77274
* llvm-mc: Implement .abort fully in the front endDaniel Dunbar2009-07-271-10/+0
| | | | llvm-svn: 77272
* Avoid build warnings.Mike Stump2009-07-273-0/+3
| | | | llvm-svn: 77271
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-2713-166/+121
| | | | llvm-svn: 77266
* Add a comment about the "getelementptr null" trick.Dan Gohman2009-07-271-0/+1
| | | | llvm-svn: 77262
* Add a new keyword 'inbounds' for use with getelementptr. See theDan Gohman2009-07-276-2/+30
| | | | | | LangRef.html changes for details. llvm-svn: 77259
* llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API.Daniel Dunbar2009-07-272-7/+7
| | | | | | - My DFS traversal of LLVM is, at least for now, nearly complete! :) llvm-svn: 77258
* Unbreak build.Daniel Dunbar2009-07-271-2/+0
| | | | llvm-svn: 77256
OpenPOWER on IntegriCloud