- Jan 26, 2010
-
-
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
-
Chris Lattner authored
a null pointer for functions with no jump tables. No functionality change. llvm-svn: 94469
-
Chris Lattner authored
when we don't have one laying around. Useful if you don't have an llvmcontext handy. llvm-svn: 94468
-
- Jan 25, 2010
-
-
Johnny Chen authored
llvm-svn: 94465
-
Chris Lattner authored
llvm-svn: 94464
-
Johnny Chen authored
llvm-svn: 94457
-
Sean Callanan authored
TargetAsmLexer. Dialect-specific lexing code will be placed in the functions LexTokenATT() and LexTokenIntel(). llvm-svn: 94456
-
Johnny Chen authored
llvm-svn: 94455
-
Dan Gohman authored
of a forward-reference, which doesn't use an "abbrev" encoding. llvm-svn: 94454
-
Chris Lattner authored
llvm-svn: 94452
-
Bob Wilson authored
already checked that TmpBB->getSinglePredecessor() is non-null. llvm-svn: 94451
-
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
llvm-svn: 94443
-
Chris Lattner authored
llvm-svn: 94441
-
Chris Lattner authored
rename it to avoid shadowing. llvm-svn: 94440
-
Chris Lattner authored
even on x86-32/elf which uses a GOT. llvm-svn: 94439
-
Chris Lattner authored
llvm-svn: 94438
-
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: 94435
-
Bob Wilson authored
parameter with a default value, instead of just hardcoding it in the implementation. The limit of MaxLookup = 6 was introduced in r69151 to fix a performance problem with O(n^2) behavior in instcombine, but the scalarrepl pass is relying on getUnderlyingObject to go all the way back to an AllocaInst. Making the limit part of the method signature makes it clear that by default the result is limited and should help avoid similar problems in the future. This fixes pr6126. llvm-svn: 94433
-
Victor Hernandez authored
llvm-svn: 94432
-
Rafael Espindola authored
llvm-svn: 94421
-
Chris Lattner authored
llvm-svn: 94417
-
Chris Lattner authored
mcstreamer. llvm-svn: 94416
-
Chris Lattner authored
llvm-svn: 94414
-
Chris Lattner authored
llvm-svn: 94413
-
Chris Lattner authored
Previously we would just silently miscompile code that used aligned common's, now at least you'll get a build error. tiger-ppc already triggered the build error because it didn't have a version of this logic. llvm-svn: 94412
-
Chris Lattner authored
llvm-svn: 94411
-
Chris Lattner authored
llvm-svn: 94410
-
Jim Grosbach authored
llvm-svn: 94408
-
Eric Christopher authored
Patch by Torvald Riegel! llvm-svn: 94405
-
Rafael Espindola authored
We are not emitting alignments on Darwin for "bar". Not sure what is the correct way to do it. llvm-svn: 94400
-
Daniel Dunbar authored
llvm-svn: 94399
-
Daniel Dunbar authored
llvm-svn: 94398
-
- Jan 24, 2010
-
-
Chris Lattner authored
It looks like linux/arm and linux/mips have the same setting, which are probably wrong. Someone who cares about ARM and MIPS should investigate with the testcase in PR6129. llvm-svn: 94381
-