- Jan 26, 2010
-
-
Chris Lattner authored
jump table entries. llvm-svn: 94505
-
Chris Lattner authored
instead of magic variables. llvm-svn: 94500
-
Chris Lattner authored
1. MachineJumpTableInfo is now created lazily for a function the first time it actually makes a jump table instead of for every function. 2. The encoding of jump table entries is now described by the MachineJumpTableInfo::JTEntryKind enum. This enum is determined by the TLI::getJumpTableEncoding() hook, instead of by lots of code scattered throughout the compiler that "knows" that jump table entries are always 32-bits in pic mode (for example). 3. The size and alignment of jump table entries is now calculated based on their kind, instead of at machinefunction creation time. Future work includes using the EntryKind in more places in the compiler, eliminating other logic that "knows" the layout of jump tables in various situations. llvm-svn: 94470
-
- Jan 25, 2010
-
-
Chris Lattner authored
llvm-svn: 94464
-
Chris Lattner authored
llvm-svn: 94452
-
Chris Lattner authored
llvm-svn: 94450
-
Chris Lattner authored
llvm-svn: 94449
-
Chris Lattner authored
make it clear what it is, instead of how it is used. llvm-svn: 94448
-
Chris Lattner authored
and MCize the non-pic case. Now printPICJumpTableEntry really is just about printing PIC entries. llvm-svn: 94446
-
Chris Lattner authored
llvm-svn: 94445
-
Chris Lattner authored
rename it to avoid shadowing. llvm-svn: 94440
-
Chris Lattner authored
normal form of .file would fail if the filename had a weird character in it. llvm-svn: 94437
-
Chris Lattner authored
llvm-svn: 94436
-
Chris Lattner authored
llvm-svn: 94417
-
Chris Lattner authored
mcstreamer. llvm-svn: 94416
-
- Jan 23, 2010
-
-
Chris Lattner authored
llvm-svn: 94299
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 94295
-
Chris Lattner authored
into a new MCDirectives.h file. llvm-svn: 94294
-
Chris Lattner authored
to MCExpr then emit them through MCStreamer with EmitValue. I think all global variable initializers are now going through mcstreamer. llvm-svn: 94293
-
Chris Lattner authored
llvm-svn: 94290
-
Chris Lattner authored
and some .weak directives. llvm-svn: 94284
-
Chris Lattner authored
llvm-svn: 94282
-
Chris Lattner authored
be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277
-
Chris Lattner authored
be completely eliminated, but today is not that day. llvm-svn: 94253
-
Chris Lattner authored
cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
-
- Jan 22, 2010
-
-
Chris Lattner authored
handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 94230
-
Chris Lattner authored
llvm-svn: 94228
-
Chris Lattner authored
llvm-svn: 94227
-
Chris Lattner authored
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 ## Child Loop BB1_6 Depth 3 llvm-svn: 94225
-
Chris Lattner authored
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: Depth=3 ## Inside Loop BB1_5 Depth 2 ## Inside Loop BB1_1 Depth 1 which still isn't great for loop headers, but is much less verbose. llvm-svn: 94221
-
Chris Lattner authored
comment emission stuff. I'm going to rewrite this though because the current output doesn't make sense. llvm-svn: 94215
-
Chris Lattner authored
AddComment and GetCommentOS. Add a blank line between globals (even in non-verbose mode) to make the assembly more readable. llvm-svn: 94202
-
Chris Lattner authored
that doesn't want to use twines. llvm-svn: 94199
-
Chris Lattner authored
llvm-svn: 94190
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 94165
-
- Jan 20, 2010
-
-
Chris Lattner authored
llvm-svn: 94010
-