summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Update an assertion string to new-style type names.Dan Gohman2009-05-221-1/+1
| | | | llvm-svn: 72239
* 80 column violation.Evan Cheng2009-05-211-1/+1
| | | | llvm-svn: 72235
* TableGen for fast isel seems to assume an 'imm'Dale Johannesen2009-05-211-2/+2
| | | | | | | | operand is the last in a pattern. There is no reason this should be true (although apparently it always is right now). llvm-svn: 72232
* Fix broken logic in DominatorTreeBase::Split. Part of PR4238.Eli Friedman2009-05-213-42/+9
| | | | llvm-svn: 72231
* Fix indentation.Eli Friedman2009-05-211-20/+20
| | | | llvm-svn: 72227
* Fix some incorrect logic in DominanceFrontier::splitBlock. Part of Eli Friedman2009-05-212-6/+4
| | | | | | PR4238. llvm-svn: 72223
* Add some missing steps to the sacred testing ritual scriptures.Stuart Hastings2009-05-211-14/+23
| | | | llvm-svn: 72222
* Tighten up the asserts in SmallVector::operator[]().Jay Foad2009-05-211-4/+2
| | | | | | | | If this causes any new assertion failures that I didn't catch in testing, the fix is usually to change "&v[0]" to "v.data()" for some SmallVector v. llvm-svn: 72221
* Add a getAlignOf helper for getting the ABI alignment of aDuncan Sands2009-05-214-1/+28
| | | | | | | | | type as a target independent constant expression. I confess that I didn't check that this method works as intended (though I did test the equivalent hand-written IR a little). But what could possibly go wrong! llvm-svn: 72213
* Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad2009-05-217-32/+30
| | | | llvm-svn: 72210
* Implement new SmallVector::data() methods.Jay Foad2009-05-211-0/+10
| | | | llvm-svn: 72209
* Teach ValueTracking a new way to analyze PHI nodes, and and teachDan Gohman2009-05-213-4/+66
| | | | | | | | Instcombine to be more aggressive about using SimplifyDemandedBits on shift nodes. This allows a shift to be simplified to zero in the included test case. llvm-svn: 72204
* Add Atomic.cpp to the CMake build system.Owen Anderson2009-05-211-0/+1
| | | | llvm-svn: 72202
* Use DataTypes.h instead of stdint.h.Owen Anderson2009-05-211-1/+1
| | | | llvm-svn: 72201
* Temporarily revert r72191. It was causing an assert during llvm-gccBill Wendling2009-05-219-201/+34
| | | | | | bootstrapping. llvm-svn: 72200
* Minor code cleanup. No functionality change.Bill Wendling2009-05-201-18/+7
| | | | llvm-svn: 72198
* Merge 'ConstructFunctionDbgScope' and 'ConstructAbstractDbgScope'.Bill Wendling2009-05-202-41/+14
| | | | llvm-svn: 72197
* Rename 'New*' methods to 'Create*' to be consistent. 'NewString' isn't used.Bill Wendling2009-05-202-20/+13
| | | | llvm-svn: 72196
* Add comment for emit section.Bill Wendling2009-05-201-0/+4
| | | | llvm-svn: 72195
* Move 'Emit' methods down to their own place.Bill Wendling2009-05-201-720/+720
| | | | llvm-svn: 72194
* Revert r72192. It was causing a build failure.Bill Wendling2009-05-202-779/+807
| | | | llvm-svn: 72193
* Do some mechanical changes. Combine the 'construct abastract dbg thingy' in withBill Wendling2009-05-202-807/+779
| | | | | | | the 'constract function dbg thingy'. Rename some methods to make them consistent with the rest of the methods. Move the 'Emit' methods to the end of the file. llvm-svn: 72192
* Introduce DebugScope which gets embedded into the machine instructions' ↵Argyrios Kyrtzidis2009-05-209-34/+201
| | | | | | | | DebugLoc. DebugScope refers to a debug region, function or block. llvm-svn: 72191
* Add an accessor method to return the insertion point.Dan Gohman2009-05-201-0/+2
| | | | llvm-svn: 72184
* Have llvm_start_multithreaded return a bool indicating whether multithreadedOwen Anderson2009-05-202-4/+7
| | | | | | initialization succeeded or not, rather than just asserting. llvm-svn: 72182
* Tabs, be gone!Owen Anderson2009-05-201-3/+3
| | | | llvm-svn: 72180
* I just fail today.Owen Anderson2009-05-201-3/+3
| | | | | | Hopefully this fixes the last build errors on systems with GCC < 4.1. llvm-svn: 72179
* Copy-and-paste-o.Owen Anderson2009-05-201-1/+1
| | | | llvm-svn: 72177
* Move atomic operations' definitions out of line. While this seems kind of ↵Owen Anderson2009-05-202-65/+58
| | | | | | | | silly, all kinds of problems caused by including windows.h and/or config.h in an LLVM header. llvm-svn: 72174
* Minor formatting fixes.Bob Wilson2009-05-201-2/+2
| | | | llvm-svn: 72172
* When comparing DominanceFrontier's, advance iteratorsDuncan Sands2009-05-201-3/+4
| | | | | | | before erasing nodes, not after. Otherwise dom frontier checking reads from freed memory. llvm-svn: 72168
* Compile fix for MSVC.Owen Anderson2009-05-201-0/+1
| | | | llvm-svn: 72167
* Fix for PR4235: to build a floating-point value from integer parts, Eli Friedman2009-05-203-6/+31
| | | | | | | | | | | | build an integer and cast that to a float. This fixes a crash caused by trying to split an f32 into two f16's. This changes the behavior in test/CodeGen/XCore/fneg.ll because that testcase now triggers a DAGCombine which converts the fneg into an integer operation. If someone is interested, it's probably possible to tweak the test to generate an actual fneg. llvm-svn: 72162
* Fix test on non-darwin hosts.Evan Cheng2009-05-201-1/+1
| | | | llvm-svn: 72161
* Try again. Allow call to immediate address for ELF or when in static ↵Evan Cheng2009-05-204-6/+20
| | | | | | relocation mode. llvm-svn: 72160
* Cannot use immediate as call absolute target in PIC mode.Evan Cheng2009-05-202-1/+4
| | | | llvm-svn: 72154
* Teach SCEV::isLoopInvariant and SCEV::hasComputableLoopEvolutionDan Gohman2009-05-201-2/+6
| | | | | | | about the convention from LoopInfo that a null Loop* means the entire function body. llvm-svn: 72152
* Add llvm_start_multithreaded(), which starts up the LLVM internals in ↵Owen Anderson2009-05-202-19/+78
| | | | | | | | thread-safe mode. Provide double-check locking initialization of ManagedStatic's when running in thread-safe mode. llvm-svn: 72151
* Suppress the IV reversal transformation in the case that the RHSDan Gohman2009-05-202-0/+26
| | | | | | | | of the comparison is defined inside the loop. This fixes a use-before-def problem, because the transformation puts a use of the RHS outside the loop. llvm-svn: 72149
* We need to include config.h here so that the #defines are set properly.Owen Anderson2009-05-201-0/+2
| | | | llvm-svn: 72148
* Forgot this file in my last commit.Owen Anderson2009-05-191-0/+3
| | | | llvm-svn: 72141
* Split the ENABLE_THREADS #define in two. Now ENABLE_THREADS indicates the ↵Owen Anderson2009-05-193-67/+66
| | | | | | | | ability to run multiple threads at once in the JIT, and requires only mutex support. LLVM_MULTITHREADED indicates (or will indicate) the ability to run LLVM itself across multiple threads, and requires atomics support. llvm-svn: 72140
* Fix pr4227: Handle large immediate values in inline assembly.Bob Wilson2009-05-191-1/+1
| | | | llvm-svn: 72138
* Remove an irrelevant comment.Dan Gohman2009-05-191-3/+1
| | | | llvm-svn: 72132
* Add some more comments to the top of this file.Dan Gohman2009-05-191-1/+8
| | | | llvm-svn: 72131
* Trim unneeded #includes.Dan Gohman2009-05-192-3/+0
| | | | llvm-svn: 72130
* Make SCEVCallbackVH a private nested class inside ScalarEvolution, asDan Gohman2009-05-192-13/+13
| | | | | | it's an implementation detail. llvm-svn: 72122
* Create ConstantExpr GEPs the correct way. This fixesDan Gohman2009-05-191-1/+1
| | | | | | | MultiSource/Benchmarks/Prolangs-C/football and a variety of other failures. llvm-svn: 72120
* Follow up on new support for memory operands in ARM inline assembly.Bob Wilson2009-05-191-0/+4
| | | | | | This fixes pr4233. llvm-svn: 72115
* Forward decls.Bill Wendling2009-05-191-0/+3
| | | | llvm-svn: 72114
OpenPOWER on IntegriCloud