summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* reenable the label loop comments and switch them to use the formattedChris Lattner2010-01-221-67/+40
| | | | | | | comment emission stuff. I'm going to rewrite this though because the current output doesn't make sense. llvm-svn: 94215
* Mark EH_RETURN64 as CodeGenOnly.Daniel Dunbar2010-01-221-1/+1
| | | | llvm-svn: 94205
* Another strncmp -> StringRef.startswith simplification.Benjamin Kramer2010-01-221-1/+1
| | | | llvm-svn: 94203
* Convert some more random-comment-printing stuff to use Chris Lattner2010-01-222-33/+35
| | | | | | | AddComment and GetCommentOS. Add a blank line between globals (even in non-verbose mode) to make the assembly more readable. llvm-svn: 94202
* add a new MCAsmStreamer::GetCommentOS method to simplify stuffChris Lattner2010-01-224-16/+49
| | | | | | that doesn't want to use twines. llvm-svn: 94199
* Revert 94059. It is breaking the MultiSource/Benchmarks/Prolangs-C/bisonBob Wilson2010-01-221-45/+0
| | | | | | test on ARM. llvm-svn: 94198
* add missing break, PR6114, patch by M Wahab.Chris Lattner2010-01-221-0/+1
| | | | llvm-svn: 94197
* Fix/strengthen verification of llvm.dbg.declareVictor Hernandez2010-01-221-5/+10
| | | | llvm-svn: 94195
* Keep ignoring pointer-to-pointer bitcastsVictor Hernandez2010-01-222-7/+8
| | | | llvm-svn: 94194
* use both the Mangler and the CBE's mangler for identifiers,Chris Lattner2010-01-221-4/+4
| | | | | | this should fix a problem duncan saw handling symbols with '.' in them. llvm-svn: 94192
* rename addComment -> AddComment for consistency.Chris Lattner2010-01-222-5/+5
| | | | llvm-svn: 94190
* Simplify some uses of str(n)cmp with StringRef.Benjamin Kramer2010-01-222-28/+26
| | | | llvm-svn: 94189
* Fix TimeValue::now() on Unix.Torok Edwin2010-01-221-1/+1
| | | | | | | | | TimeValue()::now().toEpochTime() is supposed to be the same as time(), but it wasn't, because toEpoch subtracted PosixZeroTime, but now() didn't add PosixZeroTime! Add a unittest to check this works. llvm-svn: 94178
* Revert r94066, which was the patch which added a Verifier pass afterDan Gohman2010-01-221-4/+0
| | | | | | | LoopStrengthReduce, as it's causing too much trouble (even with the old LoopStrengthReduce code). llvm-svn: 94172
* add comment support to the rest of the directives.Chris Lattner2010-01-221-14/+21
| | | | llvm-svn: 94168
* stop using strtoll, it gives windows heartburn.Chris Lattner2010-01-221-8/+24
| | | | llvm-svn: 94167
* Add the ability for MCStreamer to emit comments on the same line as directives.Chris Lattner2010-01-222-10/+64
| | | | | | | | | | | | Switch over the asm-verbose comment for double values to use it. We now get: _x: .long 343597384 ## double 1.231200e+02 .long 1079953326 For example, note that the comment is on the same line as the .long. Woo. llvm-svn: 94166
* pass "-fasm-verbose" into createAsmStreamer.Chris Lattner2010-01-222-14/+21
| | | | llvm-svn: 94165
* Stop building RTTI information for *most* llvm libraries. NotableChris Lattner2010-01-2269-3/+88
| | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
* give PassNameParser a home.Chris Lattner2010-01-221-0/+3
| | | | llvm-svn: 94162
* add an out-of-line virtual method to CmpInst to give it a home.Chris Lattner2010-01-221-0/+2
| | | | llvm-svn: 94161
* elimiante the dynamic_cast's from opt.Chris Lattner2010-01-221-3/+4
| | | | llvm-svn: 94160
* drop the pass name from the output.Chris Lattner2010-01-221-3/+1
| | | | llvm-svn: 94158
* eliminate dynamic_cast from this file.Chris Lattner2010-01-221-17/+20
| | | | llvm-svn: 94157
* eliminate a bunch more unneeded dynamic_cast's.Chris Lattner2010-01-223-48/+41
| | | | llvm-svn: 94156
* eliminate a bunch of dynamic_cast's.Chris Lattner2010-01-222-7/+23
| | | | llvm-svn: 94155
* eliminate a bunch of dynamic_cast's.Chris Lattner2010-01-221-9/+6
| | | | llvm-svn: 94154
* Teach pre-regalloc scheduler to schedule loads from nearby addresses. It may ↵Evan Cheng2010-01-222-0/+134
| | | | | | improve cache locality. This is controlled by -cluster-loads for now. llvm-svn: 94148
* Add two target hooks to determine whether two loads are near and should be ↵Evan Cheng2010-01-222-0/+150
| | | | | | scheduled together. llvm-svn: 94147
* add new fileChris Lattner2010-01-221-0/+1
| | | | llvm-svn: 94132
* move some files out of the llvm-mc tool into the MCParser library soChris Lattner2010-01-222-0/+2085
| | | | | | other tools can link it. llvm-svn: 94131
* forgot to svn add these, doh.Chris Lattner2010-01-222-0/+22
| | | | llvm-svn: 94130
* create a new MCParser library and move some stuff into it.Chris Lattner2010-01-227-17/+15
| | | | llvm-svn: 94129
* stub out a new TargetAsmLexer interface.Chris Lattner2010-01-221-0/+14
| | | | llvm-svn: 94125
* Revert LoopStrengthReduce.cpp to pre-r94061 for now.Dan Gohman2010-01-221-2355/+2268
| | | | llvm-svn: 94123
* Fix PR5694. The CMN instructions set the flags differently from CMP, so theyJim Grosbach2010-01-225-15/+31
| | | | | | | cannot be directly interchanged for comparisons against negated values. Disable the CMN instructions for the time being. llvm-svn: 94119
* No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez2010-01-211-5/+0
| | | | llvm-svn: 94114
* DbgInfoIntrinsic no longer appear in an instruction's use listVictor Hernandez2010-01-211-19/+4
| | | | llvm-svn: 94113
* No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez2010-01-211-13/+6
| | | | llvm-svn: 94112
* DbgInfoIntrinsics no longer appear in an instruction's use list; so clean up ↵Victor Hernandez2010-01-212-83/+7
| | | | | | looking for them in use iterations and remove OnlyUsedByDbgInfoIntrinsics() llvm-svn: 94111
* When inserting expressions for post-increment users which containDan Gohman2010-01-211-17/+32
| | | | | | | | loop-variant components, adds must be inserted after the increment. Keep track of the increment position for this case, and insert these adds in the correct location. llvm-svn: 94110
* Include IVUsers information in LSR's debug output.Dan Gohman2010-01-211-1/+1
| | | | llvm-svn: 94108
* Prune the search for candidate formulae if the number of registerDan Gohman2010-01-211-32/+67
| | | | | | | operands exceeds the number of registers used in the initial solution, as that wouldn't lead to a profitable solution anyway. llvm-svn: 94107
* Trim unneeded includes.Evan Cheng2010-01-213-3/+0
| | | | llvm-svn: 94105
* Add a comment.Dan Gohman2010-01-211-1/+2
| | | | llvm-svn: 94104
* It turns out that this #include is needed because otherwiseChris Lattner2010-01-211-1/+1
| | | | | | | | | ValueMapper.cpp ends up calling an out of line __ZNK4llvm12PATypeHolder3getEv, which is a template and llvm-config determines arbitrarily to use the one in libipo. This sucks, but keeping the #include is a reasonable workaround. llvm-svn: 94103
* unbreak the build, apparently without this transformutils starts depending ↵Chris Lattner2010-01-211-0/+1
| | | | | | on libipa? llvm-svn: 94102
* tidy upChris Lattner2010-01-211-14/+7
| | | | llvm-svn: 94101
* tidy upChris Lattner2010-01-211-9/+16
| | | | llvm-svn: 94100
* remove dead .erase.Chris Lattner2010-01-211-3/+1
| | | | llvm-svn: 94098
OpenPOWER on IntegriCloud