summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete SlowOperationInformer, which is no longer used.Dan Gohman2010-08-201-67/+0
| | | | llvm-svn: 111661
* Convert DbgInfoPrinter to use errs() instead of outs().Dan Gohman2010-08-201-1/+1
| | | | llvm-svn: 111659
* properly check for whether base regs were insertedJim Grosbach2010-08-201-4/+7
| | | | llvm-svn: 111646
* Make outs() close its file when its stream is destructed, so thatDan Gohman2010-08-201-2/+4
| | | | | | pending output errors are detected. llvm-svn: 111643
* Delete raw_stdout_ostream and raw_stderr_ostream, which are unusedDan Gohman2010-08-201-12/+4
| | | | | | | outside of outs() and errs() themselves, and they don't really need custom classes. llvm-svn: 111642
* Move raw_ostream's Error flag into raw_fd_ostream, as that's the onlyDan Gohman2010-08-201-16/+17
| | | | | | class which is using it. llvm-svn: 111639
* Expose LLVMSetOperand and LLVMGetNumOperands to llvm-c and ocaml.Erick Tryzelaar2010-08-201-0/+8
| | | | llvm-svn: 111625
* llvmc: Cut global namespace pollution.Mikhail Glushenkov2010-08-201-1/+3
| | | | llvm-svn: 111619
* Replace the arm.neon.vmovls and vmovlu intrinsics with vector sign-extend andBob Wilson2010-08-203-20/+51
| | | | | | zero-extend operations. llvm-svn: 111614
* Introduce a new tool_output_file class, which extends raw_ostream withDan Gohman2010-08-202-0/+31
| | | | | | | | functionality that most command-line tools need: ensuring that the output file gets deleted if the tool is interrupted or encounters an error. llvm-svn: 111595
* Fix loop conditionals (MO.isDef() asserts that it's a reg) andEric Christopher2010-08-201-1/+2
| | | | | | move some constraints around. llvm-svn: 111594
* Add a couple of random comments.Eric Christopher2010-08-201-0/+3
| | | | llvm-svn: 111592
* If the target says that an extending load is not legal, regardless of whetherBob Wilson2010-08-191-7/+12
| | | | | | | | | | | it involves specific floating-point types, legalize should expand an extending load to a non-extending load followed by a separate extend operation. For example, we currently expand SEXTLOAD to EXTLOAD+SIGN_EXTEND_INREG (and assert that EXTLOAD should always be supported). Now we can expand that to LOAD+SIGN_EXTEND. This is needed to allow vector SIGN_EXTEND and ZERO_EXTEND to be used for NEON. llvm-svn: 111586
* Better handling of offsets on frame index references. rdar://8277890Jim Grosbach2010-08-193-16/+86
| | | | llvm-svn: 111585
* CrashRecovery/Darwin: On Darwin, raise sends a signal to the main thread insteadDaniel Dunbar2010-08-191-0/+34
| | | | | | | | | of the current thread. This has the unfortunate effect that assert() and abort() will end up bypassing our crash recovery attempts. We work around this for anything in the same linkage unit by just defining our own versions of the assert handler and abort. llvm-svn: 111583
* Update debug logs.Evan Cheng2010-08-191-4/+4
| | | | llvm-svn: 111575
* Properly update MachineDominators when splitting critical edge.Evan Cheng2010-08-191-2/+25
| | | | llvm-svn: 111574
* Revert r111568 to unbreak clang self-host.Owen Anderson2010-08-191-45/+0
| | | | llvm-svn: 111571
* When a set of bitmask operations, typically from a bitfield initialization, ↵Owen Anderson2010-08-191-0/+45
| | | | | | | | only modifies the low bytes of a value, we can narrow the store to only over-write the affected bytes. llvm-svn: 111568
* Disable LVI while I evaluate a failure.Owen Anderson2010-08-191-1/+1
| | | | llvm-svn: 111551
* Tentatively enabled LVI by default. I'll be monitoring for any failures.Owen Anderson2010-08-191-1/+1
| | | | llvm-svn: 111543
* Correct header.Bill Wendling2010-08-191-1/+1
| | | | llvm-svn: 111540
* It's possible to sink a def if its local uses are PHI's.Evan Cheng2010-08-191-5/+5
| | | | llvm-svn: 111537
* Fix the msvc 2010 build.Michael J. Spencer2010-08-191-2/+19
| | | | | | | | | | | | | | The Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 implements parts of C++0x based on the draft standard. An old version of the draft had a bug that makes std::pair<T1*, T2*>(something, 0) fail to compile. This is because the template<class U, class V> pair(U&& x, V&& y) constructor is selected, even though it later fails to implicitly convert U and V to frist_type and second_type. This has been fixed in n3090, but it seems that Microsoft is not going to update msvc. llvm-svn: 111535
* Do not assert when reading an exponent out of range.Dale Johannesen2010-08-191-0/+1
| | | | llvm-svn: 111534
* Add Thumb1 support for virtual frame indices.Jim Grosbach2010-08-193-132/+160
| | | | | | rdar://8277890 llvm-svn: 111533
* Remove disabled assertion.Evan Cheng2010-08-191-2/+0
| | | | llvm-svn: 111531
* Teach machine-sink to break critical edges when appropriate. Work in progress.Evan Cheng2010-08-191-8/+99
| | | | llvm-svn: 111530
* Silence warning.Eric Christopher2010-08-191-1/+1
| | | | llvm-svn: 111518
* MCELF: Count the section orders properly. Patch by Roman Divacky.Benjamin Kramer2010-08-191-7/+7
| | | | llvm-svn: 111517
* Update local stack block allocation to let PEI do the allocs if no additionalJim Grosbach2010-08-192-3/+12
| | | | | | | base registers were required. This will allow for slightly better packing of the locals when alignment padding is necessary after callee saved registers. llvm-svn: 111508
* Revert r111199; it breaks -debug-pass=Structure output.Dan Gohman2010-08-194-22/+14
| | | | llvm-svn: 111500
* fix PR7465, mishandling of lcall and ljmp: intersegment long Chris Lattner2010-08-194-12/+28
| | | | | | call and jumps. llvm-svn: 111496
* Process the step before the start, because it's usually the simplerDan Gohman2010-08-191-3/+3
| | | | | | of the two. llvm-svn: 111495
* minor progress towards fixing PR7465Chris Lattner2010-08-191-2/+2
| | | | llvm-svn: 111494
* Add an AddOptionalDefs method and use it.Eric Christopher2010-08-191-21/+64
| | | | llvm-svn: 111489
* Add the "isCompare" attribute to the defm instead of each individual instr.Bill Wendling2010-08-191-3/+1
| | | | llvm-svn: 111481
* Don't call Predicate_* in Mips.Jakob Stoklund Olesen2010-08-182-9/+4
| | | | llvm-svn: 111468
* Remove extra header.Eric Christopher2010-08-181-1/+0
| | | | llvm-svn: 111456
* Add a newline to debug outputJim Grosbach2010-08-181-1/+2
| | | | llvm-svn: 111453
* refix PR1143 by making basicaa analyze zexts of indices aggresively,Chris Lattner2010-08-181-11/+30
| | | | | | which I broke with a recent patch. llvm-svn: 111452
* If any def of a machine-sink candidate has local uses, it's obviously not ↵Evan Cheng2010-08-181-5/+18
| | | | | | safe to sink it to a successor block. This bug has been hidden because a later check for critical-edge disable these illegal optimizations. This patch should significantly reduce the amount of time spent on checking dominator information for obviously unsafe sinking. llvm-svn: 111450
* GetLinearExpression is only called when TD is non-null, pass as Chris Lattner2010-08-181-4/+4
| | | | | | a reference instead of pointer. llvm-svn: 111445
* rework GEP decomposition to make a new VariableGEPIndex struct instead ofChris Lattner2010-08-181-19/+39
| | | | | | | using a pair. This tidies up the code a bit. While setting things up, add a (currently unused) field to keep track of how the value is extended. llvm-svn: 111444
* Enable ARM base register reuse to local stack slot allocation. Whenever a newJim Grosbach2010-08-182-10/+102
| | | | | | | | | frame index reference to an object in the local block is seen, check if it's near enough to any previously allocaated base register to re-use. rdar://8277890 llvm-svn: 111443
* Make raw_fd_ostream consider itself the owner of STDOUT_FILENO whenDan Gohman2010-08-181-2/+5
| | | | | | | | | constructed with an output filename of "-". In particular, allow the file descriptor to be closed, and close the file descriptor in the destructor if it hasn't been explicitly closed already, to ensure that any write errors are detected. llvm-svn: 111436
* move gep decomposition out of ValueTracking into BasicAA. The form ofChris Lattner2010-08-182-223/+229
| | | | | | | | | decomposition that it is doing is very basicaa specific and is only used by basicaa. Now with less tree breakingness. llvm-svn: 111433
* Tidy.Dan Gohman2010-08-181-5/+4
| | | | llvm-svn: 111432
* Minor simplification. Gets rid of a needless temporary.Bill Wendling2010-08-181-4/+3
| | | | llvm-svn: 111430
* Use ConstantRange to propagate information through value definitions.Owen Anderson2010-08-181-4/+83
| | | | llvm-svn: 111425
OpenPOWER on IntegriCloud