summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct CodeGen assumption that LongTy == Int32Ty in a few places. This ↵Sebastian Redl2008-12-041-2/+2
| | | | | | makes several CodeGenObjC tests pass on 64-bit by fixing assertions. This doesn't mean that the result is actually what the GNU runtime expects, though. llvm-svn: 60515
* add a debugging option to help track down j-t problems.Chris Lattner2008-12-041-1/+14
| | | | llvm-svn: 60514
* Fix some type punning errors in SizeOfAlignOf and Typeid AST nodes. This ↵Sebastian Redl2008-12-035-15/+32
| | | | | | should satisfy compilers and language lawyers alike. llvm-svn: 60511
* Rewrite the liveness bookkeeping code to fix a bunch ofDan Gohman2008-12-031-34/+42
| | | | | | issues with subreg operands and tied operands. llvm-svn: 60510
* Make the debugging dump be a full line.Dale Johannesen2008-12-031-0/+1
| | | | llvm-svn: 60509
* Remove an unused field.Dale Johannesen2008-12-031-8/+1
| | | | llvm-svn: 60508
* Have PseudoSourceValue override Value::dump, so that it worksDan Gohman2008-12-033-2/+11
| | | | | | | on PseudoSourceValue values. This also fixes a FIXME in lib/VMCode/AsmWriter.cpp. llvm-svn: 60507
* Fix a misspelled function name.Dale Johannesen2008-12-031-4/+4
| | | | llvm-svn: 60506
* Added GDM query functions "contains" for the data types that support the ↵Ted Kremenek2008-12-031-1/+12
| | | | | | "Contains" method. llvm-svn: 60505
* Added partial specialization of GRStatePartialTrait<T> with T = ↵Ted Kremenek2008-12-031-0/+39
| | | | | | ImmutableSet<...>. llvm-svn: 60504
* Overload resolution for the operator new function. Member version is still ↵Sebastian Redl2008-12-034-11/+255
| | | | | | untested. llvm-svn: 60503
* Properly "include" abs_path.Ted Kremenek2008-12-031-1/+1
| | | | llvm-svn: 60502
* Factor some code into a new FoldSingleEntryPHINodes method.Chris Lattner2008-12-036-24/+37
| | | | llvm-svn: 60501
* Fix an inconsistency in a comment.Dan Gohman2008-12-031-4/+3
| | | | llvm-svn: 60500
* Use mmx (punpckldq VR64, (mmx_v_set0)) to clear high 32-bits of a VR64 register.Evan Cheng2008-12-032-3/+37
| | | | llvm-svn: 60499
* Don't charge the full latency for anti and output dependencies. This isDan Gohman2008-12-031-3/+6
| | | | | | | an area where eventually it would be good to use target-dependent information. llvm-svn: 60498
* A step towards geting linux ppc to work (see PR 3099)Dale Johannesen2008-12-031-0/+2
| | | | llvm-svn: 60497
* When looking for anti-dependences on the critical path, don't botherDan Gohman2008-12-031-0/+4
| | | | | | examining non-anti-dependence edges. llvm-svn: 60496
* Add a comment about callee-saved registers.Dan Gohman2008-12-031-0/+2
| | | | llvm-svn: 60495
* Fix a really wrong comment.Dale Johannesen2008-12-031-1/+1
| | | | llvm-svn: 60494
* Use abs_path to resolve symbolic links and '..' in report table.Ted Kremenek2008-12-031-1/+1
| | | | llvm-svn: 60493
* fix a really incorrect comment.Chris Lattner2008-12-031-2/+2
| | | | llvm-svn: 60492
* Don't have special treatment from pruning the common suffices of files in ↵Ted Kremenek2008-12-031-4/+0
| | | | | | /Developer, /usr, etc. llvm-svn: 60491
* BasicConstraintManager:Ted Kremenek2008-12-032-3/+32
| | | | | | | | | | | - Fix nonsensical logic in AssumeSymGE. When comparing 'sym >= constant' and the constant is the maximum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymGT. When comparing 'sym > constant' and constant is the maximum integer value we know the path is infeasible. - Add test case for this enhancement to AssumeSymGT. llvm-svn: 60490
* BasicConstraintManager:Ted Kremenek2008-12-032-6/+34
| | | | | | | | | | | | - Fix nonsensical logic in AssumeSymLE. When comparing 'sym <= constant' and the constant is the minimum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymLT to address <rdar://problem/6407949>. When comparing 'sym < constant' and constant is the minimum integer value we know the path is infeasible. - Add test case for <rdar://problem/6407949>. llvm-svn: 60489
* Split foldMemoryOperand into public non-virtual and protected virtualDan Gohman2008-12-0316-105/+191
| | | | | | | parts, and add target-independent code to add/preserve MachineMemOperands. llvm-svn: 60488
* Rename isSimpleLoad to canFoldAsLoad, to better reflect its meaning.Dan Gohman2008-12-0322-54/+54
| | | | llvm-svn: 60487
* Extend X86's addFrameReference to add a MachineMemOperand forDan Gohman2008-12-033-4/+26
| | | | | | | the frame reference. This will help post-RA scheduling determine that spills to distinct stack slots are independent. llvm-svn: 60486
* Fix some tests. The grep for "il" was matching "file".Rafael Espindola2008-12-036-8/+10
| | | | llvm-svn: 60485
* Update a comment.Dan Gohman2008-12-031-3/+4
| | | | llvm-svn: 60484
* Fix typo in index operator overloading.Sebastian Redl2008-12-031-1/+1
| | | | llvm-svn: 60483
* Only check that the result of the mapping was notDuncan Sands2008-12-031-0/+1
| | | | | | a new node if the node was actually remapped. llvm-svn: 60482
* Fix bug 3140.Rafael Espindola2008-12-036-2/+22
| | | | | | Print a single parameter .file directive if we have an ELF target. llvm-svn: 60480
* Add support for ISD::TRAP to the XCore backendRichard Osborne2008-12-033-1/+27
| | | | llvm-svn: 60479
* Refactor code. No functionality change.Evan Cheng2008-12-031-72/+75
| | | | llvm-svn: 60478
* CC should only be a ConstantSDNode at this point. Just use 'cast' instead of ↵Bill Wendling2008-12-031-9/+9
| | | | | | 'dyn_cast'. llvm-svn: 60477
* Fix test.Evan Cheng2008-12-031-4/+2
| | | | llvm-svn: 60476
* testcase for br undef folding.Chris Lattner2008-12-031-0/+12
| | | | llvm-svn: 60471
* Teach jump threading some more simple tricks:Chris Lattner2008-12-032-16/+178
| | | | | | | | | | | | | | | | 1) have it fold "br undef", which does occur with surprising frequency as jump threading iterates. 2) teach j-t to delete dead blocks. This removes the successor edges, reducing the in-edges of other blocks, allowing recursive simplification. 3) Fold things like: br COND, BBX, BBY BBX: br COND, BBZ, BBW which also happens because jump threading iterates. llvm-svn: 60470
* third time is the charm.Chris Lattner2008-12-031-1/+3
| | | | llvm-svn: 60469
* fix assertion.Chris Lattner2008-12-031-1/+1
| | | | llvm-svn: 60468
* don't spew tons of stuff to the output. This testcase is *not* forChris Lattner2008-12-031-1/+1
| | | | | | loop deletion (it is for a ton of passes), which is very bad. llvm-svn: 60465
* Rename DeleteBlockIfDead to DeleteDeadBlock and make it Chris Lattner2008-12-033-14/+8
| | | | | | | unconditionally delete the block. All likely clients will do the checking anyway. llvm-svn: 60464
* Factor some code out of SimplifyCFG, forming a new Chris Lattner2008-12-033-21/+39
| | | | | | DeleteBlockIfDead method. llvm-svn: 60463
* If a global var decl has an initializer, make sure to always set its linkage ↵Anders Carlsson2008-12-032-0/+9
| | | | | | to external. llvm-svn: 60462
* Mark x86's V_SET0 and V_SETALLONES with isSimpleLoad, and teach X86'sDan Gohman2008-12-037-20/+164
| | | | | | | | | | | | foldMemoryOperand how to "fold" them, by converting them into constant-pool loads. When they aren't folded, they use xorps/cmpeqd, but for example when register pressure is high, they may now be folded as memory operands, which reduces register pressure. Also, mark V_SET0 isAsCheapAsAMove so that two-address-elimination will remat it instead of copying zeros around (V_SETALLONES was already marked). llvm-svn: 60461
* Change label to 'carry' for unsigned adds.Bill Wendling2008-12-031-2/+2
| | | | llvm-svn: 60460
* Add a sanity-check to tablegen to catch the case where isSimpleLoadDan Gohman2008-12-038-6/+25
| | | | | | | | | is set but mayLoad is not set. Fix all the problems this turned up. Change code to not use isSimpleLoad instead of mayLoad unless it really wants isSimpleLoad. llvm-svn: 60459
* Fix a missing #include.Dan Gohman2008-12-031-0/+1
| | | | llvm-svn: 60458
* Add an explicit keyword.Dan Gohman2008-12-031-1/+1
| | | | llvm-svn: 60457
OpenPOWER on IntegriCloud