summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When verifying two-address instructions, check the following:Jakob Stoklund Olesen2010-05-142-12/+21
| | | | | | | | | - Kill is implicit when use and def registers are identical. - Only virtual registers can differ. Add a -verify-fast-regalloc to run the verifier before the fast allocator. llvm-svn: 103797
* fix strip options and properly copy include/extNick Kledzik2010-05-141-3/+3
| | | | llvm-svn: 103796
* add headers and implementation for <new>, <exception>, and <typeinfo>Nick Kledzik2010-05-145-19/+349
| | | | llvm-svn: 103795
* change test case to verify unexpected() calls terminate - not is terminateNick Kledzik2010-05-141-2/+15
| | | | llvm-svn: 103794
* Remove an unused function.Anders Carlsson2010-05-142-8/+0
| | | | llvm-svn: 103793
* Move ContainsPointerToDataMember to CodeGenTypes. No functionality change.Anders Carlsson2010-05-143-25/+29
| | | | llvm-svn: 103792
* Fix so "int3" is correctly accepted, added "into" and fixed "int" with anKevin Enderby2010-05-142-2/+17
| | | | | | argument, like "int $4", to not get an Assertion error. llvm-svn: 103791
* Model VLD*_UPD and VLD*odd_UPD pair with REG_SEQUENCE.Evan Cheng2010-05-142-26/+88
| | | | llvm-svn: 103790
* MC/Mach-O/x86_64: Darwin's special "signed_N" relocation types should only beDaniel Dunbar2010-05-142-69/+75
| | | | | | used to replace a normal relocation, not a reference to a GOT entry. llvm-svn: 103789
* [rand.dist.pois.gamma]Howard Hinnant2010-05-1419-8/+755
| | | | llvm-svn: 103788
* Implement new default property synthesis rules. Essentially, no longerFariborz Jahanian2010-05-144-9/+115
| | | | | | | | | user directive is needed to force a property implementation. It is decided based on those propeties which are declared in the class (or in its protocols) but not those which must be default implemented by one of its super classes. Implements radar 7923851. llvm-svn: 103787
* Add documention on ns_returns_not_retained and cf_returns_not_retained ↵Ted Kremenek2010-05-141-0/+62
| | | | | | attributes. llvm-svn: 103785
* Simplify the handling of physreg defs and uses in RegAllocFast.Jakob Stoklund Olesen2010-05-142-110/+73
| | | | | | | This adds extra security against using clobbered physregs, and it adds kill markers to physreg uses. llvm-svn: 103784
* Improve error recovery in C/ObjC when the first argument of a functionChris Lattner2010-05-142-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | declarator is incorrect. Not being a typename causes the parser to dive down into the K&R identifier list handling stuff, which is almost never the right thing to do. Before: r.c:3:17: error: expected ')' void bar(intptr y); ^ r.c:3:9: note: to match this '(' void bar(intptr y); ^ r.c:3:10: error: a parameter list without types is only allowed in a function definition void bar(intptr y); ^ After: r.c:3:10: error: unknown type name 'intptr'; did you mean 'intptr_t'? void bar(intptr y); ^~~~~~ intptr_t r.c:1:13: note: 'intptr_t' declared here typedef int intptr_t; ^ This fixes rdar://7980651 - poor recovery for bad type in the first arg of a C function llvm-svn: 103783
* fit in 80 cols, remove prototypes for handling #assert since apparently ↵Chris Lattner2010-05-141-7/+5
| | | | | | noone cares. llvm-svn: 103782
* Refactor ParseFunctionDeclaratorIdentifierList to have the firstChris Lattner2010-05-142-11/+20
| | | | | | | identifier in the identifier list consumed before it is called. No functionality change. llvm-svn: 103781
* Added Expr::EvaluateAsAnyLValue.Abramo Bagnara2010-05-142-5/+33
| | | | llvm-svn: 103780
* Fix thinko in yesterday's fix.Devang Patel2010-05-141-1/+1
| | | | | | Providing linkage name for function static variable confuses gdb, so don't do that. llvm-svn: 103779
* Set isTerminator on TRAP instructions.Dan Gohman2010-05-142-2/+2
| | | | llvm-svn: 103778
* Don't use isBarrier for the PowerPC sync instruction. isBarrier is forDan Gohman2010-05-141-1/+0
| | | | | | control barriers, not memory ordering barriers. llvm-svn: 103777
* Add mayLoad and mayStore flags to instructions which missed them.Dan Gohman2010-05-142-2/+15
| | | | llvm-svn: 103776
* Revert r103770, "Added basic source locations to Elaborated and DependentNameDaniel Dunbar2010-05-146-183/+34
| | | | | | types.", it is breaking Clang bootstrap. llvm-svn: 103775
* Use regular PassManager instead of FunctionPassManager in opt, since itDan Gohman2010-05-141-12/+8
| | | | | | isn't doing lazy streaming. This also fixes a missing doFinalization call. llvm-svn: 103774
* Use PassManagerBase, to give clients the option of using eitherDan Gohman2010-05-141-7/+7
| | | | | | FunctionPassManager or regular PassManager. llvm-svn: 103773
* Add an isNodeHidden to the graph traits, to support definition ofDan Gohman2010-05-142-3/+24
| | | | | | subgraph views. llvm-svn: 103772
* Make sure that value-initialized pointers to data members are initialized ↵Anders Carlsson2010-05-142-1/+18
| | | | | | correctly. llvm-svn: 103771
* Added basic source locations to Elaborated and DependentName types.Abramo Bagnara2010-05-146-34/+183
| | | | llvm-svn: 103770
* XFAIL the test I added with vg_leak, apparently it is the first and only llcDaniel Dunbar2010-05-142-0/+3
| | | | | | | -filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we need to sort out the ownership model for the various MC objects. llvm-svn: 103769
* Get rid of the bit twiddling to read / set OpActions and ValueTypeActions. ↵Evan Cheng2010-05-141-26/+10
| | | | | | The small saving in memory isn't worth the increase in runtime and code complexity in my opinion. llvm-svn: 103768
* Namespaces can only be defined at global or namespace scope. Fixes PR6596.Douglas Gregor2010-05-143-0/+18
| | | | llvm-svn: 103767
* Make sure to search semantic scopes and appropriate template-parameterDouglas Gregor2010-05-143-16/+71
| | | | | | | scopes during unqualified name lookup that has fallen out to namespace scope. Fixes PR7133. llvm-svn: 103766
* Inline Asm: Ensure buffer is newline terminated to match how the text is ↵Daniel Dunbar2010-05-142-0/+20
| | | | | | | | printed. - This is a hack, but I can't decide the best place to handle this. Chris? llvm-svn: 103765
* Enable opportunistic coalescingJakob Stoklund Olesen2010-05-141-7/+18
| | | | llvm-svn: 103764
* A vtable is used if the key function is defined... even if that keyDouglas Gregor2010-05-142-3/+11
| | | | | | | function's definition is an out-of-class definition marked "inline". Fixes an assertion in WebKit. llvm-svn: 103763
* XFAIL a test on Win32.Daniel Dunbar2010-05-141-0/+4
| | | | llvm-svn: 103762
* C++/Darwin/x86: Teach IRgen it can pass reference types in registers.Daniel Dunbar2010-05-142-2/+6
| | | | llvm-svn: 103761
* Added a QQQQ register file to model 4-consecutive Q registers.Evan Cheng2010-05-147-52/+190
| | | | llvm-svn: 103760
* Driver: Enable -integrated-as by default, at least for Darwin/x86 without ↵Daniel Dunbar2010-05-142-3/+15
| | | | | | | | -static. - How else will we figure out what is broken, eh? llvm-svn: 103759
* Force -no-integrated-as in this test.Daniel Dunbar2010-05-141-1/+1
| | | | llvm-svn: 103758
* Add AsmParser support for darwin tbss directive.Eric Christopher2010-05-147-1/+100
| | | | | | Nothing uses this yet. llvm-svn: 103757
* Fix a couple of typos.Eric Christopher2010-05-141-2/+2
| | | | llvm-svn: 103756
* Fix typo.Nick Lewycky2010-05-141-1/+1
| | | | llvm-svn: 103755
* MC: Switch to completely lazy layout.Daniel Dunbar2010-05-142-19/+39
| | | | | | - The eliminates the last major algorithmic problem with MC. llvm-svn: 103754
* MC: Extend MCAsmLayout to explicitly track which fragments have been layed ↵Daniel Dunbar2010-05-142-10/+52
| | | | | | out, and enforce several invariants to LayoutFragment to ensure we only do layout in a sensible order. llvm-svn: 103753
* MC: Implicitly assign section addresses when the previous fragment is layed out.Daniel Dunbar2010-05-141-1/+11
| | | | llvm-svn: 103752
* MC: Switch MCFragment to storing the layout order index, not its index in ↵Daniel Dunbar2010-05-142-18/+19
| | | | | | the file. llvm-svn: 103751
* MC: Change LayoutSection() to only do the section initializiation.Daniel Dunbar2010-05-142-36/+16
| | | | | | Also, elimminate MCAsmLayout::set*, which are no longer needed. llvm-svn: 103750
* Fix comments.Evan Cheng2010-05-141-2/+2
| | | | llvm-svn: 103749
* Trust kill flags from isel and later passes.Jakob Stoklund Olesen2010-05-141-4/+0
| | | | llvm-svn: 103748
* Fix an embarrassing runtime regression for RegAllocFast.Jakob Stoklund Olesen2010-05-141-9/+31
| | | | | | | | | | | | This loop is quadratic in the capacity for a DenseMap: while(!map.empty()) map.erase(map.begin()); Instead we now do a normal begin() - end() iteration followed by map.clear(). That also has the nice sideeffect of shrinking the map capacity on demand. llvm-svn: 103747
OpenPOWER on IntegriCloud