Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | On "Unix", if Program::FindProgramByName is given a name containing | Dan Gohman | 2009-07-28 | 1 | -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 Wendling | 2009-07-28 | 2 | -2/+4 | |
| | | | | llvm-svn: 77394 | |||||
* | Split out large loop into it's very own method. No intended functionality ↵ | Bill Wendling | 2009-07-28 | 2 | -42/+62 | |
| | | | | | | change. llvm-svn: 77393 | |||||
* | It isn't necessary to use F_OK when using R_OK or similar. | Dan Gohman | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77392 | |||||
* | Move X86 instruction parsing into X86/AsmParser. | Daniel Dunbar | 2009-07-28 | 1 | -23/+268 | |
| | | | | llvm-svn: 77384 | |||||
* | Output the EH TType format and base offset only if there are types that we're | Bill Wendling | 2009-07-28 | 1 | -6/+15 | |
| | | | | | | going to emit. llvm-svn: 77382 | |||||
* | Fix a fixme; don't take binaries from the working directory. | Benjamin Kramer | 2009-07-28 | 1 | -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 Patel | 2009-07-28 | 1 | -16/+0 | |
| | | | | llvm-svn: 77378 | |||||
* | Output the correct format for Darwin. | Bill Wendling | 2009-07-28 | 1 | -5/+7 | |
| | | | | llvm-svn: 77376 | |||||
* | Use the preferred EH data format for the preferred EH data format. | Bill Wendling | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77373 | |||||
* | Darwin outputs (DW_EH_PE_pcrel | DW_EH_PE_indirect | DW_EH_PE_sdata4) when we're | Bill Wendling | 2009-07-28 | 1 | -2/+5 | |
| | | | | | | dealing with Data. llvm-svn: 77372 | |||||
* | Rename MDNode.h header. It defines MDnode and other metadata classes. | Devang Patel | 2009-07-28 | 20 | -47/+63 | |
| | | | | | | New name is Metadata.h. llvm-svn: 77370 | |||||
* | Fix a typo. | Evan Cheng | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77369 | |||||
* | Return ConstantVector to 2.5 API. | Owen Anderson | 2009-07-28 | 19 | -131/+116 | |
| | | | | llvm-svn: 77366 | |||||
* | In thumb2 mode, add pc is unpredictable. Use add + mov pc instead (that is ↵ | Evan Cheng | 2009-07-28 | 5 | -18/+7 | |
| | | | | | | until more optimization goes in). llvm-svn: 77364 | |||||
* | Remove support for ORN to workaround <rdar://problem/7096522>. | David Goodwin | 2009-07-28 | 1 | -3/+5 | |
| | | | | llvm-svn: 77363 | |||||
* | Provide generic MCAsmParser when constructing target specific parsers. | Daniel Dunbar | 2009-07-28 | 1 | -6/+8 | |
| | | | | llvm-svn: 77362 | |||||
* | Add DebugInfoEnumerator to collect debug info. | Devang Patel | 2009-07-28 | 1 | -0/+117 | |
| | | | | llvm-svn: 77360 | |||||
* | Simplify LDA-internal interface. | Andreas Bolka | 2009-07-28 | 1 | -12/+8 | |
| | | | | llvm-svn: 77359 | |||||
* | Add LDA statistics. | Andreas Bolka | 2009-07-28 | 1 | -0/+14 | |
| | | | | llvm-svn: 77358 | |||||
* | Minor factoring, naming and formatting cleanups. | Andreas Bolka | 2009-07-28 | 1 | -24/+29 | |
| | | | | llvm-svn: 77357 | |||||
* | Handle null and file symbol on doInitialization | Bruno Cardoso Lopes | 2009-07-28 | 2 | -9/+8 | |
| | | | | llvm-svn: 77354 | |||||
* | more simplifications and cleanup. :) | Chris Lattner | 2009-07-28 | 1 | -18/+17 | |
| | | | | llvm-svn: 77350 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 18 | -196/+159 | |
| | | | | llvm-svn: 77347 | |||||
* | Add workaround for <rdar://problem/7098328>. | David Goodwin | 2009-07-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 77340 | |||||
* | Expose Tokens to target specific assembly parsers. | Daniel Dunbar | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77337 | |||||
* | Fix PR4639, a ELF-TLS regression from some of my refactoring. | Chris Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77336 | |||||
* | the apple "ld_classic" linker doesn't support .literal16 in 32-bit | Chris Lattner | 2009-07-28 | 4 | -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 Goodwin | 2009-07-28 | 1 | -1/+10 | |
| | | | | llvm-svn: 77329 | |||||
* | Add reload and remat backscheduling. This is disabled by default. Use | David Greene | 2009-07-28 | 1 | -26/+150 | |
| | | | | | | -schedule-spills=true to enable. llvm-svn: 77327 | |||||
* | fix unused variable warning | Chris Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77326 | |||||
* | tADDrSPI doesn't have a predicate operand, but tADDhirr and tADDi3 have. | Evan Cheng | 2009-07-28 | 1 | -0/+5 | |
| | | | | llvm-svn: 77305 | |||||
* | Code clean up. No functionality changes. | Evan Cheng | 2009-07-28 | 1 | -21/+32 | |
| | | | | llvm-svn: 77301 | |||||
* | - More refactoring. This gets rid of all of the getOpcode calls. | Evan Cheng | 2009-07-28 | 16 | -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 tester | Chris Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77295 | |||||
* | Rip all of the global variable lowering logic out of TargetAsmInfo. Since | Chris Lattner | 2009-07-28 | 57 | -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 Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77293 | |||||
* | Teach instcombine to respect and preserve inbounds. Add inbounds | Dan Gohman | 2009-07-28 | 2 | -22/+56 | |
| | | | | | | to a few tests where it is required for the expected transformation. llvm-svn: 77290 | |||||
* | Fix a small little typo. | Mike Stump | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77289 | |||||
* | Replace dyn_castGetElementPtr with dyn_cast<GEPOperator>. | Dan Gohman | 2009-07-28 | 1 | -15/+5 | |
| | | | | llvm-svn: 77286 | |||||
* | Grab the LLVMContext and parent Module of SI ahead of the | Dan Gohman | 2009-07-28 | 1 | -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 Goodwin | 2009-07-27 | 1 | -7/+13 | |
| | | | | | | a dirty word at ARM. llvm-svn: 77275 | |||||
* | Fix a release-asserts warning. Debug functions should be marked used, | Mike Stump | 2009-07-27 | 1 | -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 end | Daniel Dunbar | 2009-07-27 | 1 | -10/+0 | |
| | | | | llvm-svn: 77272 | |||||
* | Avoid build warnings. | Mike Stump | 2009-07-27 | 3 | -0/+3 | |
| | | | | llvm-svn: 77271 | |||||
* | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 13 | -166/+121 | |
| | | | | llvm-svn: 77266 | |||||
* | Add a comment about the "getelementptr null" trick. | Dan Gohman | 2009-07-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 77262 | |||||
* | Add a new keyword 'inbounds' for use with getelementptr. See the | Dan Gohman | 2009-07-27 | 6 | -2/+30 | |
| | | | | | | LangRef.html changes for details. llvm-svn: 77259 | |||||
* | llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API. | Daniel Dunbar | 2009-07-27 | 2 | -7/+7 | |
| | | | | | | - My DFS traversal of LLVM is, at least for now, nearly complete! :) llvm-svn: 77258 | |||||
* | Unbreak build. | Daniel Dunbar | 2009-07-27 | 1 | -2/+0 | |
| | | | | llvm-svn: 77256 |