Commits

Show all
Author Commit Message Labels Comments Date
Sean Callanan
Modified the register matcher function in AsmMatcher to 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.
Tags
cremebrulee-35
Devang Patel
Avoid using "Type" as the variable name.
Daniel Dunbar
AsmMatcher: Add a comment.
Victor Hernandez
In mem2reg, for all alloca/stores that get promoted where the alloca has an associated llvm.dbg.declare instrinsic, insert an llvm.dbg.var intrinsic before each store
Chris Lattner
teach MCAsmStreamer::EmitBytes to use .ascii and .asciz
Victor Hernandez
Make sure ValueFn starts off empty
Evan Cheng
Enable pre-regalloc scheduling load clustering by default.
Evan Cheng
Be more conservative with clustering f32 / f64 loads.
Chris Lattner
move "EOL" from asmprinter to dwarfprinter. It should eventually be completely eliminated, but today is not that day.
Chris Lattner
remove uses of EOL.
Chris Lattner
add a new EmitCFAByte method and use it.
Chris Lattner
move uleb printing from asmprinter to dwarfprinter, mcize, cleanup and eliminate a bunch more uses of "EOL".
Jeffrey Yasskin
Make OProfile support compile again after r93630 removed DebugLocTuple. Also use an AssertingVH to ensure that MDNodes aren't destroyed while the FilenameCache is using them.
Chris Lattner
move sleb printing out of asmprinter into dwarf printer, make clients handle the comment better, MCize the non-.sleb case.
Devang Patel
Remove MetadataBase class because it is not adding significant value.
Sean Callanan
Added a Register token to AsmToken and the appropriate accessor method for its value.
Dale Johannesen
Ignore DEBUG_VALUE when building live intervals; this makes the code work transparently the same whether they're there or not.
Chris Lattner
add a new DwarfPrinter::EmitEncodingByte method which handles 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 …
Sean Callanan
Filled out the skeleton of the TargetAsmLexer to behave exactly like an MCAsmLexer. (The difference is that the TargetAsmLexer knows how to handle target-specific stuff like registers, whereas the MCAsmLexer is fully generic.)
Chris Lattner
rename the dwarf class to DwarfPrinter. This matches the filename and much more accurately describes what it is all about.
Chris Lattner
fix indentation
Chris Lattner
inline away the trivial AsmPrinter::EOL() method.
Chris Lattner
inline AsmPrinter::PrintHex into its two trivial callers.
Chris Lattner
change this to be a static function instead of a method on asmprinter.
Chris Lattner
make the loop comment printer print out a much better structured output. An example: .align 4, 0x90 LBB1_5: ## %while.cond3 ## Parent Loop BB1_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB1_8 Depth 3 …
Chris Lattner
Changes to fix buffering that I forgot to commit with previous patch.
Chris Lattner
For blocks that are not loop headers, just print their loop depth and header BB. For loop headers, print Inner loop along with the other stuff so it doesn't take an extra line. We now get stuff like this: LBB1_4: ## %land.end ## in Loop: Header=BB1_1 Depth=1 notb %al testb $1, %al jne LBB1_8 and: LBB1_6: ## %while.cond7 ## Inner Loop Header: …
Chris Lattner
reenable the label loop comments and switch them to use the formatted comment emission stuff. I'm going to rewrite this though because the current output doesn't make sense.
Daniel Dunbar
Mark EH_RETURN64 as CodeGenOnly.
Benjamin Kramer
Another strncmp -> StringRef.startswith simplification.
  1. Prev
  2. Next