summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: Avoid spurious use of /dev/null.Daniel Dunbar2010-05-101-1/+1
| | | | llvm-svn: 103446
* Refactor the constant-evaluator so that it only supports a single formJohn McCall2010-05-102-70/+80
| | | | | | | | | of constant-evaluation. Formerly you could control whether it accepted local l-values or not; now it always evaluates local l-values in the core routines, but filters them out where consumed by the top-level routines. This will make it much easier to cache evaluability. llvm-svn: 103444
* MC/Mach-O: Fix another mismatch with .weak_definition, we shouldn't use aDaniel Dunbar2010-05-102-34/+44
| | | | | | scattered relocation entry with a .weak_definition. llvm-svn: 103443
* MC/Mach-O: Factor out doesSymbolRequireExternRelocation.Daniel Dunbar2010-05-101-10/+20
| | | | llvm-svn: 103442
* Indentation.Evan Cheng2010-05-101-4/+4
| | | | llvm-svn: 103441
* Objective-C++ Code gen. Handle code gen. for propertyFariborz Jahanian2010-05-103-2/+33
| | | | | | | reference dot-syntax notation in a varierty of cases. Fixes radar 7964490. llvm-svn: 103440
* Enable multiple Compile Units in one module.Devang Patel2010-05-103-162/+258
| | | | | | This means now 'llvm-ld a.bc b.bc' will preserve debug info appropriately. llvm-svn: 103439
* MC/Mach-O: Explicitly track atoms, as represented by their defining symbol, ↵Daniel Dunbar2010-05-103-13/+46
| | | | | | for each fragment (not yet used). llvm-svn: 103438
* Model some vld3 instructions with REG_SEQUENCE.Evan Cheng2010-05-102-30/+87
| | | | llvm-svn: 103437
* It's not safe to propagate implicit_def that defines part of a register.Evan Cheng2010-05-101-0/+2
| | | | llvm-svn: 103436
* Clear RegSequences vector after eliminating REG_SEQUENCE instructions.Evan Cheng2010-05-101-0/+1
| | | | llvm-svn: 103435
* this really is needed. :(Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103434
* just remove this, it isn't needed.Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103432
* simplify more.Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103431
* Simplify by using startswith instead of substr.Chris Lattner2010-05-101-2/+2
| | | | llvm-svn: 103430
* Allocate most of DeclarationNamesTable using ASTContext's allcocator. The ↵Ted Kremenek2010-05-103-31/+23
| | | | | | | | only things that aren't allocated this way are the internal FoldingSets. llvm-svn: 103429
* fix PR7105 by enumerating MDNodes on all @llvm.fooChris Lattner2010-05-102-5/+23
| | | | | | function calls, not just recognized intrinsics. llvm-svn: 103428
* fix a pretty obvious typo. We test things before committing them, right?Chris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103427
* Start converting pieces of DeclarationNameTable to be allocated using ↵Ted Kremenek2010-05-104-7/+23
| | | | | | | | | | ASTContext's allocator. While DeclarationNameTable doesn't leak, it uses 'malloc' too often. Start with having 'CXXLiteralOperatorNames' allocated using ASTContext's allocator and add a 'DoDestroy()' method to DeclarationNameTable that is called by ~ASTContext. llvm-svn: 103426
* Fix PR6875:David Greene2010-05-103-15/+44
| | | | | | | | | | | | | | | This includes a patch by Roman Divacky to fix the initial crash. Move the actual addition of passes from *PassManager::add to *PassManager::addImpl. That way, when adding printer passes we won't recurse infinitely. Finally, check to make sure that we are actually adding a FunctionPass to a FunctionPassManager before doing a print before or after it. Immutable passes are strange in this way because they aren't FunctionPasses yet they can be and are added to the FunctionPassManager. llvm-svn: 103425
* Add an explicit keyword.Dan Gohman2010-05-101-1/+1
| | | | llvm-svn: 103424
* Add new configure option, --disable-timestamps, intended to turn off ↵Daniel Dunbar2010-05-106-4/+62
| | | | | | | | | anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files. llvm-svn: 103423
* Fix whitespace in debug output to be consistent.Dan Gohman2010-05-101-1/+1
| | | | llvm-svn: 103422
* Convert CXXTempory[] in CXXExprWithTemporaries to be allocated using ↵Ted Kremenek2010-05-103-13/+12
| | | | | | ASTContext's allocator. Fixes <rdar://problem/7961605>. llvm-svn: 103421
* Delete an obsolete comment.Dan Gohman2010-05-101-3/+0
| | | | llvm-svn: 103420
* Be careful with operand promotion. For a binary operation, the source ↵Evan Cheng2010-05-102-4/+21
| | | | | | operands may be the same. PR7018. rdar://7939869. llvm-svn: 103419
* Test case for 103414.Devang Patel2010-05-101-0/+43
| | | | llvm-svn: 103415
* Improved -ast-print-xml for C++, from Sebastien Binet!Douglas Gregor2010-05-105-5/+192
| | | | llvm-svn: 103412
* Model vld2 / vst2 with reg_sequence.Evan Cheng2010-05-103-18/+95
| | | | llvm-svn: 103411
* Re-defined valno is always valno even for partial re-def's.Evan Cheng2010-05-101-2/+1
| | | | llvm-svn: 103410
* Alternative workaround for MSVC compilation failure, from Dimitry AndricDouglas Gregor2010-05-101-8/+1
| | | | llvm-svn: 103409
* If variable location is invalid then use current location.Devang Patel2010-05-102-1/+23
| | | | | | This fixes radar 7959934. llvm-svn: 103408
* Fix PR7096. When a block containing multiple defs is tail duplicated, theBob Wilson2010-05-101-1/+1
| | | | | | | SSAUpdater for the value from the first def may see uses of undefined values, because the later defs will not have been updated yet. llvm-svn: 103407
* Fix refacto in r103387, noticed by Christopher Jefferson.Daniel Dunbar2010-05-101-1/+1
| | | | llvm-svn: 103406
* Add an UpdateVBases parameter to UpdateEmptyClassOffsets. Not used just yet.Anders Carlsson2010-05-102-8/+13
| | | | llvm-svn: 103403
* More work on handling empty classes.Anders Carlsson2010-05-102-9/+16
| | | | llvm-svn: 103402
* Fix encoding of 'sf' and 'sfh' instructions.Kalle Raiskila2010-05-102-3/+29
| | | | llvm-svn: 103399
* Add command line option --gcc to bugpoint.Kalle Raiskila2010-05-103-17/+30
| | | | | | Remove sending duplicate of the --gcc-tool-args parameters to gcc. llvm-svn: 103397
* Add an assertion to catch attempts to access off the end of the array.Duncan Sands2010-05-101-0/+2
| | | | | | Based on a patch by Javier Martinez. llvm-svn: 103391
* pch'ify CXXNewExpr and CXXZeroInitValueExprChris Lattner2010-05-106-11/+155
| | | | llvm-svn: 103390
* Doxygen-ify a comment and add an example of when this AST node is required.Chandler Carruth2010-05-101-2/+14
| | | | llvm-svn: 103389
* fix refactor-oChris Lattner2010-05-101-1/+1
| | | | llvm-svn: 103388
* pchify CXXTemporary, CXXBindTemporaryExpr, and Chris Lattner2010-05-1010-18/+120
| | | | | | CXXExprWithTemporaries. llvm-svn: 103387
* remove a dead file.Chris Lattner2010-05-091-51/+0
| | | | llvm-svn: 103383
* Fix typo.Chandler Carruth2010-05-091-1/+1
| | | | llvm-svn: 103378
* updated handling dllexport in X86AsmPrinterNathan Jeffords2010-05-091-8/+22
| | | | | | changed dllexport code to use EmitBytes instead of EmitRawText, and changed the export option to use /EXPORT: instead of -export: on the windows platform llvm-svn: 103377
* pch'ify default argument definitions and uses.Chris Lattner2010-05-096-11/+61
| | | | llvm-svn: 103376
* pch'ify 'this' and 'throw'Chris Lattner2010-05-095-2/+57
| | | | llvm-svn: 103375
* pch'ify typeid.Chris Lattner2010-05-097-10/+72
| | | | llvm-svn: 103374
* made COFF target dllexport logic apply to all subtargetsNathan Jeffords2010-05-091-28/+26
| | | | llvm-svn: 103373
OpenPOWER on IntegriCloud