summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* remove AsmPrinter::findGlobalValue, just use Value::stripPointerCasts instead.Chris Lattner2009-07-172-29/+3
| | | | llvm-svn: 76246
* Add a GEPOperator class, and move the hasNoPointerOverflowDan Gohman2009-07-173-21/+40
| | | | | | accessors into it. llvm-svn: 76245
* Regenerate configure for ddunbar.Jeffrey Yasskin2009-07-171-27/+39
| | | | llvm-svn: 76244
* Reenable asmparser dependency generation, now with improved Perl foo.Daniel Dunbar2009-07-171-0/+4
| | | | llvm-svn: 76243
* Disable llvm-config magic for AsmParser, it is isn't right & is breaking the ↵Daniel Dunbar2009-07-171-5/+0
| | | | | | build. llvm-svn: 76242
* end sentence in period, draw attention to the fact that you shouldChris Lattner2009-07-171-1/+2
| | | | | | only do this if you are a crazy russian hacker. ;-) llvm-svn: 76241
* we beat exceptions out of lib/system a long time ago.Chris Lattner2009-07-171-29/+4
| | | | llvm-svn: 76240
* Simplify some more.Evan Cheng2009-07-172-80/+5
| | | | llvm-svn: 76239
* Commit this change, to accompany r76232.Dan Gohman2009-07-171-1/+2
| | | | llvm-svn: 76238
* Use more terse and precise linkage checks.Chris Lattner2009-07-171-15/+6
| | | | llvm-svn: 76237
* Eliminate yet another copy of getOpcode.Dan Gohman2009-07-171-17/+6
| | | | llvm-svn: 76236
* Fix typoDaniel Dunbar2009-07-171-1/+1
| | | | llvm-svn: 76235
* these two pieces of code are the same because we alwaysChris Lattner2009-07-171-12/+3
| | | | | | | emit the EHFrame label next to the section_eh_frame and eh_frame_common labels. llvm-svn: 76234
* Fix a typo that Duncan spotted.Dan Gohman2009-07-171-1/+1
| | | | llvm-svn: 76233
* Add a new Operator class, for handling Instructions and ConstantExprsDan Gohman2009-07-175-147/+147
| | | | | | | | | in a convenient manner, factoring out some common code from InstructionCombining and ValueTracking. Move the contents of BinaryOperators.h into Operator.h and use Operator to generalize them to support ConstantExprs as well as Instructions. llvm-svn: 76232
* Untangle a snarl that I discovered when updating the mangler,Chris Lattner2009-07-177-33/+23
| | | | | | | | | | | | | | starting in getCurrentFunctionEHName. Among other problems, we would try to privative a "foo.eh" label, but end up emitting the label as _Lfoo.eh instead of L_foo.eh on darwin. This is really bad, and the linker has always tolerated these labels existing. For now, just emit them as _foo.eh. This patch also fixes problems with ".eh" labels on unnamed functions and eliminates two strangely defined TargetAsmInfo hooks. llvm-svn: 76231
* Sketch support for target specific assembly parser.Daniel Dunbar2009-07-1711-7/+190
| | | | | | - Not fully enabled yet, need a configure regeneration. llvm-svn: 76230
* Trailing whitespace.Mikhail Glushenkov2009-07-172-19/+19
| | | | llvm-svn: 76229
* fix include guard.Chris Lattner2009-07-171-2/+2
| | | | llvm-svn: 76228
* Simplify the coalescer (finally!) by making ↵Evan Cheng2009-07-173-159/+46
| | | | | | LiveIntervals::processImplicitDefs a little more aggressive and teaching liveintervals to make use of isUndef marker on MachineOperands. llvm-svn: 76223
* GetElementPtr instructions default to having no overflow.Dan Gohman2009-07-171-0/+9
| | | | llvm-svn: 76222
* Implement cmake LLVM_MULTITHREADED gcc atomic builtin checks.Xerxes Ranby2009-07-173-0/+24
| | | | llvm-svn: 76221
* Fix a crash in SROA. The FunctionPass::doInitialization method was neverBob Wilson2009-07-171-0/+1
| | | | | | | being called so that Context was never initialized. I'm not sure if this is the right fix but at least it keeps opt from crashing. llvm-svn: 76220
* Define a no-pointer-overflow flag for GetElementPtr instructions.Dan Gohman2009-07-171-0/+17
| | | | llvm-svn: 76218
* Add new classes for working with optional optimization dataDan Gohman2009-07-171-0/+112
| | | | | | for binary operators Add, Sub, Mul, and UDiv. llvm-svn: 76217
* Fix copy & paste errorsAnton Korobeynikov2009-07-171-8/+8
| | | | llvm-svn: 76216
* Add a method to clear optional optimization information from a Value.Dan Gohman2009-07-171-0/+6
| | | | llvm-svn: 76215
* Add missed attributes to C bindingsAnton Korobeynikov2009-07-171-0/+8
| | | | llvm-svn: 76214
* Start generating AsmMatcher.inc for X86.Daniel Dunbar2009-07-172-1/+2
| | | | llvm-svn: 76213
* tblgen/AsmMatcher: Emit simple matcher for register names.Daniel Dunbar2009-07-171-3/+30
| | | | llvm-svn: 76212
* r76102 added the MachineCodeEmitter::processDebugLoc call and called it fromJeffrey Yasskin2009-07-173-6/+4
| | | | | | | the X86 Emitter. This patch extends that to the rest of the targets that can write to a MachineCodeEmitter: ARM, Alpha, and PPC. llvm-svn: 76211
* Fix compile warning.Daniel Dunbar2009-07-171-0/+2
| | | | llvm-svn: 76210
* Add missed returnAnton Korobeynikov2009-07-171-1/+1
| | | | llvm-svn: 76209
* Move WalkAST logic for 'ChooseExpr' to 'VisitChooseExpr'.Ted Kremenek2009-07-171-34/+35
| | | | llvm-svn: 76205
* Move WalkAST logic for 'ConditionalOperator' into 'VisitConditionalOperator'.Ted Kremenek2009-07-171-58/+61
| | | | llvm-svn: 76202
* Fix indentation / trailing white space.Daniel Dunbar2009-07-171-51/+51
| | | | llvm-svn: 76200
* opt: Add -std-link-opts argument, matches llvm-ld's optimizations.Daniel Dunbar2009-07-171-6/+39
| | | | llvm-svn: 76199
* Add support for naked functionsAnton Korobeynikov2009-07-178-5/+18
| | | | llvm-svn: 76198
* rename test.Chris Lattner2009-07-171-0/+0
| | | | llvm-svn: 76197
* Remove stale comments.Ted Kremenek2009-07-171-6/+2
| | | | llvm-svn: 76196
* revert one of the loops to use indicies over iterators because there are ↵Bruno Cardoso Lopes2009-07-171-4/+3
| | | | | | vector insertions inside the loop llvm-svn: 76195
* Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methodsTed Kremenek2009-07-1751-369/+401
| | | | | | | | | until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger. llvm-svn: 76193
* Add a SubclassOptionalData field to Value. See the doxygen comment forDan Gohman2009-07-172-1/+8
| | | | | | details. llvm-svn: 76189
* Fix typo.Daniel Dunbar2009-07-171-1/+1
| | | | llvm-svn: 76186
* Initialize another Context, in the hopes of unbreaking CBE.Daniel Dunbar2009-07-171-0/+3
| | | | llvm-svn: 76184
* Fix an apparent typo.Dan Gohman2009-07-171-1/+1
| | | | llvm-svn: 76183
* Make DOUT an lvalue in release mode so that developers may use DOUT inDavid Greene2009-07-171-1/+2
| | | | | | their code in release mode. This helps to debug release-mode problems. llvm-svn: 76182
* Provide slightly more refined error message when trying to lookup a target, andDaniel Dunbar2009-07-171-1/+18
| | | | | | none are registered. llvm-svn: 76181
* clean up this code, add the fixme back.Chris Lattner2009-07-171-11/+6
| | | | llvm-svn: 76180
* objc methods can't be an operand to callexpr.Chris Lattner2009-07-171-3/+1
| | | | llvm-svn: 76179
OpenPOWER on IntegriCloud