summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make raw_null_ostream flush its buffer in its destructor, so thatDan Gohman2009-07-271-0/+9
| | | | | | | it conforms to the assertion added in r77245. This fixes a failure in qa_override.c in clang's testsuite. llvm-svn: 77255
* hoist MCContext/MCStreamer up to AsmPrinter since we're going to start creatingChris Lattner2009-07-273-30/+12
| | | | | | | MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252
* Move MCContext and friends to StringRef based APIs.Daniel Dunbar2009-07-271-6/+6
| | | | llvm-svn: 77251
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-2717-164/+147
| | | | llvm-svn: 77247
* Add an assertion check to raw_ostream's destructor to verifyDan Gohman2009-07-271-0/+5
| | | | | | that the subclass hasn't left any pending data in the buffer. llvm-svn: 77245
* Remove TPat. No patterns depend on just isThumb(). Must use either T1Pat ↵David Goodwin2009-07-272-30/+26
| | | | | | (isThumb1Only()) or T2Pat (is Thumb2). llvm-svn: 77242
* fix commentBruno Cardoso Lopes2009-07-271-1/+1
| | | | llvm-svn: 77239
* add module identifier to the elf object fileBruno Cardoso Lopes2009-07-273-9/+26
| | | | llvm-svn: 77238
* Sink getSectionPrefixForUniqueGlobal down into the TAI Chris Lattner2009-07-273-111/+148
| | | | | | implementations that need it, rearrange ELFTAI. llvm-svn: 77236
* remove dead code.Chris Lattner2009-07-272-6/+3
| | | | llvm-svn: 77233
* Handle external symbols for ELF and add some static methods to ELFSymBruno Cardoso Lopes2009-07-274-46/+155
| | | | llvm-svn: 77232
* More DCE.Evan Cheng2009-07-274-17/+1
| | | | llvm-svn: 77231
* convertToThreeAddress can't handle Thumb2 instructions (which don't have ↵Evan Cheng2009-07-271-10/+7
| | | | | | same address mode as ARM instructions). llvm-svn: 77230
* Initialize mdnNext.Devang Patel2009-07-271-1/+1
| | | | llvm-svn: 77229
* Get rid of more dead code.Evan Cheng2009-07-275-9/+1
| | | | llvm-svn: 77227
* Cosmetic change.Evan Cheng2009-07-271-2/+4
| | | | llvm-svn: 77222
* Clean up.Evan Cheng2009-07-272-5/+6
| | | | llvm-svn: 77221
* Get rid of some more getOpcode calls.Evan Cheng2009-07-276-33/+46
| | | | | | This also fixes potential problems in ARMBaseInstrInfo routines not recognizing thumb1 instructions when 32-bit and 16-bit instructions mix. llvm-svn: 77218
* Fix build.Mike Stump2009-07-271-0/+1
| | | | llvm-svn: 77217
* Remove duplicate entries while printing decls for external symbols.Sanjiv Gupta2009-07-271-2/+23
| | | | | | Some libcall names are same, so they were getting printed twice. llvm-svn: 77215
* CMake: make sure that the *.inc files for libSystem show up in the resulting Douglas Gregor2009-07-271-0/+23
| | | | | | project. llvm-svn: 77213
* add an explanatory comment about why we drop these in readonly andChris Lattner2009-07-271-2/+6
| | | | | | not in mergable llvm-svn: 77210
* Do not seed mstadata into the value map.Devang Patel2009-07-271-25/+4
| | | | llvm-svn: 77208
* make COFF work like ELF and macho, by splitting out into its ownChris Lattner2009-07-273-67/+83
| | | | | | header even though there is only one COFF target. llvm-svn: 77204
* don't create default text/data sections for all targets.Chris Lattner2009-07-271-2/+0
| | | | llvm-svn: 77203
* Apparently alpha doesn't use ElfTargetAsmInfo (?)Chris Lattner2009-07-271-0/+3
| | | | llvm-svn: 77202
* Thumb-2 does not have RSC.David Goodwin2009-07-271-34/+1
| | | | llvm-svn: 77201
* Add ".w" suffix for wide thumb-2 instructions.David Goodwin2009-07-271-45/+43
| | | | llvm-svn: 77199
* inline a method.Chris Lattner2009-07-271-28/+24
| | | | llvm-svn: 77198
* apparently we have "windows" and "coff", which are different(?)Chris Lattner2009-07-271-0/+3
| | | | llvm-svn: 77197
* sink text/data section creation down into the target-specific places that Chris Lattner2009-07-272-1/+5
| | | | | | | should know about them. PECoff doesn't share these, and I want all sections to be created by object-file-specific code. llvm-svn: 77196
* Change the assembly syntax for nsw, nuw, and exact, putting themDan Gohman2009-07-272-98/+78
| | | | | | | after their associated opcodes rather than before. This makes them a little easier to read. llvm-svn: 77194
* Fix wording in comments.Dan Gohman2009-07-271-1/+1
| | | | llvm-svn: 77193
* 32-bit darwin targets support .literal16 too.Chris Lattner2009-07-272-10/+4
| | | | llvm-svn: 77191
* Test commit: fix typoBenjamin Kramer2009-07-271-1/+1
| | | | llvm-svn: 77187
* Eliminate getNamed/getUnnamedSection, adding a new and unified ↵Chris Lattner2009-07-2714-107/+105
| | | | | | | | getOrCreateSection instead. llvm-svn: 77186
* Eliminate SectionFlags, just embed a SectionKind into SectionChris Lattner2009-07-2722-170/+161
| | | | | | instead and drive things based off of that. llvm-svn: 77184
* If CPSR is modified but the def is dead, then it's ok to fold the load / store.Evan Cheng2009-07-271-2/+3
| | | | llvm-svn: 77182
* Use t2LDRi12 and t2STRi12 to load / store to / from stack frames. Eliminate ↵Evan Cheng2009-07-277-31/+76
| | | | | | more getOpcode calls. llvm-svn: 77181
* Generate a libcall for i8 multiply.Sanjiv Gupta2009-07-272-0/+16
| | | | llvm-svn: 77179
* fixed incorrect lowering of ISD::SUB node. SUB has only one result value.Sanjiv Gupta2009-07-271-5/+14
| | | | | | It wasn't caught during tests because we never got a sub generated, (i8 was always getting promoted to int, which in turn was broken into subc/sube). Though the optimizer leaves an i8 sub now. llvm-svn: 77178
* Use the right instructions to copy between GPR and the more strictive tGPR ↵Evan Cheng2009-07-272-5/+12
| | | | | | classes. t2MOV does not match the RC requirements. llvm-svn: 77175
* Merge isLoadFromStackSlot into one since it behaves the same regardless of ↵Evan Cheng2009-07-273-49/+23
| | | | | | sub-target. llvm-svn: 77174
* Just use a single isMoveInstr to catch all the cases.Evan Cheng2009-07-273-32/+12
| | | | llvm-svn: 77173
* Rename tMOVhi2lor to tMOVgpr2tgpr. It's not moving from a high register to a ↵Evan Cheng2009-07-264-24/+24
| | | | | | low register. It's moving from a GPR register class to a more restrictive tGPR class. Also change tMOVlor2hir, and tMOVhir2hir. llvm-svn: 77172
* Reorganize code a bit to reduce indentation. No visible functionality Eli Friedman2009-07-261-287/+287
| | | | | | change. llvm-svn: 77171
OpenPOWER on IntegriCloud