summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* third bug from PR6119: the xor dupe extension allowsChris Lattner2010-01-232-2/+29
| | | | | | | | for arbitrary terminators in predecessors, don't assume it is a conditional or uncond branch. The testcase shows an example where they can happen with switches. llvm-svn: 94323
* Teach DAE that even though it can't modify the function signature of anNick Lewycky2010-01-232-23/+82
| | | | | | | externally visible function, it can still find all callers of it and replace the parameters to a dead argument with undef. llvm-svn: 94322
* add an early out to ProcessBranchOnXOR to speed it up,Chris Lattner2010-01-232-0/+52
| | | | | | | | handle the case when we can infer an input to the xor from all inputs that agree, instead of going into an infinite loop. Another part of PR6199 llvm-svn: 94321
* fix a crash in jump threading, PR6119Chris Lattner2010-01-232-0/+31
| | | | llvm-svn: 94319
* implement a simple instcombine xform that has been in theChris Lattner2010-01-233-23/+44
| | | | | | readme forever. llvm-svn: 94318
* add a noteChris Lattner2010-01-231-0/+29
| | | | llvm-svn: 94317
* add some notes, making posix-memalign be nocapture would be an easy improvement.Chris Lattner2010-01-231-0/+31
| | | | llvm-svn: 94312
* Remove the '-disable-scheduling' flag and replace it with the 'source' option ofBill Wendling2010-01-237-696/+450
| | | | | | | | | the '-pre-RA-sched' flag. It actually makes more sense to do it this way. Also, keep track of the SDNode ordering by default. Eventually, we would like to make this ordering a way to break a "tie" in the scheduler. However, doing that now breaks the "CodeGen/X86/abi-isel.ll" test for 32-bit Linux. llvm-svn: 94308
* Respect operator precedence (and silence a gcc 4.3 warning).Benjamin Kramer2010-01-231-1/+1
| | | | llvm-svn: 94304
* mcize lcomm, simplify .comm, extend both to support 64-bit sizes.Chris Lattner2010-01-2311-31/+46
| | | | llvm-svn: 94299
* resolve a fixme: the "nonexecutable stack directive" is actuallyChris Lattner2010-01-239-25/+34
| | | | | | | | | a .section. Switch to it with SwitchSection. However, I think that this directive should be safe on any ELF target. If so, we should hoist it up out of the X86 and SystemZ targets. llvm-svn: 94298
* remove a dead call.Chris Lattner2010-01-231-4/+0
| | | | llvm-svn: 94297
* use helpers.Chris Lattner2010-01-231-12/+5
| | | | llvm-svn: 94296
* mcize visibility directives.Chris Lattner2010-01-237-28/+40
| | | | llvm-svn: 94295
* move the various directive enums out of the MCStreamer classChris Lattner2010-01-2312-116/+126
| | | | | | into a new MCDirectives.h file. llvm-svn: 94294
* Change constantexpr global variable initializers to convert the constantsChris Lattner2010-01-234-122/+73
| | | | | | | to MCExpr then emit them through MCStreamer with EmitValue. I think all global variable initializers are now going through mcstreamer. llvm-svn: 94293
* Don't lower splat vector load to relative to the esp if theEric Christopher2010-01-232-37/+4
| | | | | | | | | | stack may be misaligned. Update test accordingly. Patch by Evan Cheng! llvm-svn: 94291
* mcstreamerize .no_dead_strip and .reference for static ctors/dtors.Chris Lattner2010-01-237-36/+35
| | | | llvm-svn: 94290
* stop testing for invalid output.Chris Lattner2010-01-231-1/+0
| | | | llvm-svn: 94288
* Reapply 94059 while fixing the calling convention setupEric Christopher2010-01-231-0/+47
| | | | | | for strcpy. llvm-svn: 94287
* remove unneeded directive set.Chris Lattner2010-01-231-1/+0
| | | | llvm-svn: 94286
* use some helpers instead of duplicating logic.Chris Lattner2010-01-232-6/+7
| | | | llvm-svn: 94285
* mcize jump table and constant pool entry labels, .local on elf,Chris Lattner2010-01-234-30/+54
| | | | | | and some .weak directives. llvm-svn: 94284
* emit .ascii and .asciz through MCStreamer.Chris Lattner2010-01-233-40/+14
| | | | llvm-svn: 94282
* simplify code a bit.Chris Lattner2010-01-231-5/+5
| | | | llvm-svn: 94281
* InstCombine should not fold sext/zext of a vector and a bitcast to a scalar ↵Mon P Wang2010-01-232-2/+14
| | | | | | to a sext/zext llvm-svn: 94280
* Update CMake build.Ted Kremenek2010-01-231-0/+1
| | | | llvm-svn: 94278
* remove one form of EmitString, just use EmitBytes instead. We mustChris Lattner2010-01-235-46/+27
| | | | | | | be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277
* remove this test.Chris Lattner2010-01-231-14/+0
| | | | llvm-svn: 94276
* Added the skeleton for the implementation of the X86Sean Callanan2010-01-232-0/+46
| | | | | | | target-specific AsmLexer, and added the appropriate registration calls. llvm-svn: 94275
* Fix test.Evan Cheng2010-01-231-1/+1
| | | | llvm-svn: 94272
* Fix tests.Evan Cheng2010-01-232-5/+5
| | | | llvm-svn: 94271
* Modified the register matcher function in AsmMatcher toSean Callanan2010-01-232-7/+11
| | | | | | | | | | | be static. Also made it possible for clients to get it and no other functions from ...GenAsmMatcher.inc by defining REGISTERS_ONLY before including GenAsmMatcher.inc. This sets the stage for target-specific lexers that can identify registers and return AsmToken::Register as appropriate. llvm-svn: 94266
* Avoid using "Type" as the variable name.Devang Patel2010-01-232-15/+16
| | | | llvm-svn: 94262
* AsmMatcher: Add a comment.Daniel Dunbar2010-01-231-0/+4
| | | | llvm-svn: 94261
* In mem2reg, for all alloca/stores that get promoted where the alloca has an ↵Victor Hernandez2010-01-232-3/+69
| | | | | | associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store llvm-svn: 94260
* teach MCAsmStreamer::EmitBytes to use .ascii and .ascizChris Lattner2010-01-233-21/+50
| | | | llvm-svn: 94259
* Make sure ValueFn starts off emptyVictor Hernandez2010-01-231-1/+1
| | | | llvm-svn: 94256
* Enable pre-regalloc scheduling load clustering by default.Evan Cheng2010-01-221-7/+1
| | | | llvm-svn: 94255
* Be more conservative with clustering f32 / f64 loads.Evan Cheng2010-01-221-0/+2
| | | | llvm-svn: 94254
* move "EOL" from asmprinter to dwarfprinter. It should eventuallyChris Lattner2010-01-226-121/+117
| | | | | | be completely eliminated, but today is not that day. llvm-svn: 94253
* remove uses of EOL.Chris Lattner2010-01-221-6/+2
| | | | llvm-svn: 94252
* add a new EmitCFAByte method and use it.Chris Lattner2010-01-222-14/+23
| | | | llvm-svn: 94251
* move uleb printing from asmprinter to dwarfprinter, mcize,Chris Lattner2010-01-228-135/+83
| | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
* Make OProfile support compile again after r93630 removedJeffrey Yasskin2010-01-221-9/+11
| | | | | | | DebugLocTuple. Also use an AssertingVH to ensure that MDNodes aren't destroyed while the FilenameCache is using them. llvm-svn: 94245
* move sleb printing out of asmprinter into dwarf printer, make clientsChris Lattner2010-01-227-57/+45
| | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
* Remove MetadataBase class because it is not adding significant value.Devang Patel2010-01-227-29/+12
| | | | llvm-svn: 94243
* Added a Register token to AsmToken and the appropriateSean Callanan2010-01-221-0/+10
| | | | | | accessor method for its value. llvm-svn: 94241
* Ignore DEBUG_VALUE when building live intervals;Dale Johannesen2010-01-222-4/+11
| | | | | | | this makes the code work transparently the same whether they're there or not. llvm-svn: 94240
* add a new DwarfPrinter::EmitEncodingByte method which handlesChris Lattner2010-01-224-66/+59
| | | | | | | | | | | | | | pretty printing encoding comments and eliminates redundancy on the client side. We now get pretty dwarf like this again: .byte 255 ## @LPStart Encoding = omit .byte 0 ## @TType Encoding = absptr .byte 0x28 ## @TType base offset .byte 3 ## Call site Encoding = udata4 .byte 0x1a ## Call site table size ... llvm-svn: 94239
OpenPOWER on IntegriCloud