summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove an unused variable.Dan Gohman2008-10-161-1/+0
| | | | llvm-svn: 57621
* Fix Instruction::isIdenticalTo and isSameOperationAs to recognizeDan Gohman2008-10-161-6/+57
| | | | | | | additional information in Loads, Stores, Calls, Invokes, InsertValueInsts, and ExtractValueInsts. llvm-svn: 57620
* Fix a calculation error in comments.Zhongxing Xu2008-10-161-1/+1
| | | | llvm-svn: 57619
* Rename AliasSet to SubRegs, to reflect changes in the surrounding code.Dan Gohman2008-10-161-3/+3
| | | | llvm-svn: 57618
* Move the include of MachineLocation.h into MachineModuleInfo.hDan Gohman2008-10-162-2/+1
| | | | | | | | because it declares a std::vector<MachineMove>, and strict concept checking requires the definition of MachineMove to be available. llvm-svn: 57617
* Implement a SmallVector insert method that can insert multipleDan Gohman2008-10-161-0/+62
| | | | | | | copies of a value, and add several additional utilities to make SmallVector better conform to the Container concept. llvm-svn: 57616
* Fix several places that called mapped_iterator's constructor withoutDan Gohman2008-10-161-3/+8
| | | | | | passing in a function object. llvm-svn: 57615
* Fix a subtle bug in DeadMachineInstructionElim's livenessDan Gohman2008-10-161-1/+4
| | | | | | | computation. A def of a register doesn't necessarily kill live super-registers. llvm-svn: 57614
* ccc: support -XlinkerDaniel Dunbar2008-10-161-1/+1
| | | | llvm-svn: 57613
* Fix the predicate for memop64 to be a regular load, not justDan Gohman2008-10-161-1/+1
| | | | | | an unindexed load. llvm-svn: 57612
* Issue a warning when there's an ambiguous function declarator (that could be ↵Argyrios Kyrtzidis2008-10-155-8/+21
| | | | | | | | a direct initializer for a variable defition). Idea originated from here: http://thread.gmane.org/gmane.comp.gcc.devel/101524 llvm-svn: 57609
* Teach instcombine's visitLoad to scan back several instructionsDan Gohman2008-10-153-10/+68
| | | | | | | | | | | | | | to find opportunities for store-to-load forwarding or load CSE, in the same way that visitStore scans back to do DSE. Also, define a new helper function for testing whether the addresses of two memory accesses are known to have the same value, and use it in both visitStore and visitLoad. These two changes allow instcombine to eliminate loads in code produced by front-ends that frequently emit obviously redundant addressing for memory references. llvm-svn: 57608
* Correct the name of isTrapping in comments.Dan Gohman2008-10-152-2/+2
| | | | llvm-svn: 57606
* Fix whitespace in a comment.Dan Gohman2008-10-151-1/+1
| | | | llvm-svn: 57605
* Testcase for PR2894.Duncan Sands2008-10-151-0/+7
| | | | llvm-svn: 57604
* ccc: support -fsyntax-only, add some more darwin options, supportDaniel Dunbar2008-10-151-1/+30
| | | | | | logging of actions. llvm-svn: 57603
* Remove naming Tilmann for generics.Nicolas Geoffray2008-10-151-5/+4
| | | | llvm-svn: 57599
* Fix this bug:Argyrios Kyrtzidis2008-10-152-1/+4
| | | | | | | | | typedef int f(); struct S { f *x; // incorrectly assuming this is function decl, leading to failed assertions. }; llvm-svn: 57598
* Add global variable to test for consistencyAnton Korobeynikov2008-10-152-0/+4
| | | | llvm-svn: 57597
* This is not failing anymoreAnton Korobeynikov2008-10-151-2/+0
| | | | llvm-svn: 57596
* Also properly handle linking of strong alias and weak globalAnton Korobeynikov2008-10-151-25/+39
| | | | llvm-svn: 57595
* Properly handle linking of strong alias with weak function, this fixes PR2883Anton Korobeynikov2008-10-151-1/+1
| | | | llvm-svn: 57594
* Add TokenRewriter to VC++ project.Steve Naroff2008-10-151-0/+4
| | | | llvm-svn: 57593
* Add RewriteTest.cpp to VC++ project.Steve Naroff2008-10-151-0/+4
| | | | llvm-svn: 57592
* Tighten up blocks rewriter to handle casts and some other interesting cases.Steve Naroff2008-10-152-23/+95
| | | | | | This fixes <rdar://problem/6289007> clang block rewriter: ^ in cast is not rewritten. llvm-svn: 57591
* Testcase for PR1638.Bill Wendling2008-10-151-0/+27
| | | | llvm-svn: 57590
* Fix a missing space after the return type in invoke statements.Dan Gohman2008-10-151-3/+3
| | | | | | This fixes PR2894. llvm-svn: 57589
* Use BatchEmitOwnedPtrs for writing multiple child exprs, per review.Daniel Dunbar2008-10-152-12/+31
| | | | | | Also added serialization support to OverloadExpr. llvm-svn: 57588
* Fix PR2115 by doxygenating Use more, and make some more methods private.Chris Lattner2008-10-151-8/+21
| | | | llvm-svn: 57587
* move PR1941 here.Chris Lattner2008-10-151-0/+14
| | | | llvm-svn: 57586
* Unbreak the build. Please test out the proper fix for this by compiling LLVMBill Wendling2008-10-151-1/+3
| | | | | | with the build directory different from the source directory. llvm-svn: 57583
* move PR1604 here.Chris Lattner2008-10-151-0/+17
| | | | llvm-svn: 57582
* move PR1488 into this file.Chris Lattner2008-10-151-0/+33
| | | | llvm-svn: 57579
* Temporary revert r57567 and unbreak the build.Anton Korobeynikov2008-10-157-56/+8
| | | | llvm-svn: 57578
* regenerateNuno Lopes2008-10-153-337/+339
| | | | llvm-svn: 57577
* fix memleak in GetForwardRefForGlobal()Nuno Lopes2008-10-151-0/+1
| | | | llvm-svn: 57576
* regenerateNuno Lopes2008-10-153-339/+343
| | | | llvm-svn: 57575
* fix memleak in getTypeVal()Nuno Lopes2008-10-151-1/+3
| | | | llvm-svn: 57574
* regenerateNuno Lopes2008-10-153-342/+344
| | | | llvm-svn: 57573
* fix memleak in ResolveTypeTo()Nuno Lopes2008-10-151-0/+1
| | | | llvm-svn: 57572
* catch one more typo, canonicalize LLVMdevGabor Greif2008-10-151-3/+3
| | | | llvm-svn: 57571
* fix some validation errors, improve formatting, squash a strange pluralGabor Greif2008-10-151-12/+10
| | | | llvm-svn: 57570
* remove legacy interfacesGabor Greif2008-10-151-93/+0
| | | | llvm-svn: 57569
* llvmc2: Documentation update. Describe recent work on plugins.Mikhail Glushenkov2008-10-152-44/+110
| | | | llvm-svn: 57568
* llvmc2: Some Makefile fixes and renames.Mikhail Glushenkov2008-10-158-25/+54
| | | | llvm-svn: 57567
* Use (a slightly modified) llvm.css for llvmc2 docs.Mikhail Glushenkov2008-10-153-3/+89
| | | | llvm-svn: 57566
* Now that predicates can be composed, simplify several ofDan Gohman2008-10-153-205/+135
| | | | | | | | | | | | | the predicates by extending simple predicates to create more complex predicates instead of duplicating the logic for the simple predicates. This doesn't reduce much redundancy in DAGISelEmitter.cpp's generated source yet; that will require improvements to DAGISelEmitter.cpp's instruction sorting, to make it more effectively group nodes with similar predicates together. llvm-svn: 57565
* Removed pinsrd and pinsrq intrinsics because the code generator does not supportMon P Wang2008-10-151-6/+0
| | | | | | them since they map to insert element llvm-svn: 57564
* Added pinsrd, pinsrq, and some other vector intrinsicsMon P Wang2008-10-152-0/+8
| | | | llvm-svn: 57563
* Add support for having multiple predicates on a TreePatternNode.Dan Gohman2008-10-154-70/+109
| | | | | | | | This will allow predicates to be composed, which will allow the predicate definitions to become less redundant, and eventually will allow DAGISelEmitter.cpp to emit less redundant code. llvm-svn: 57562
OpenPOWER on IntegriCloud