- Dec 10, 2010
-
-
Rafael Espindola authored
llvm-svn: 121471
-
Rafael Espindola authored
llvm-svn: 121461
-
Rafael Espindola authored
f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434
-
- Oct 21, 2010
-
-
Michael J. Spencer authored
This should be the minimum set of functions that could possibly need it. llvm-svn: 116978
-
- Oct 19, 2010
-
-
Owen Anderson authored
Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820
-
- Oct 16, 2010
-
-
Michael J. Spencer authored
if any floating point arguments are passed to an external function. llvm-svn: 116665
-
Michael J. Spencer authored
llvm-svn: 116664
-
- Oct 08, 2010
-
-
Owen Anderson authored
llvm-svn: 115996
-
- Sep 04, 2010
-
-
Chris Lattner authored
llvm-svn: 113073
-
- Aug 06, 2010
-
-
Owen Anderson authored
llvm-svn: 110460
-
Owen Anderson authored
llvm-svn: 110410
-
Owen Anderson authored
ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
-
- Jul 22, 2010
-
-
Owen Anderson authored
llvm-svn: 109045
-
- Jul 16, 2010
-
-
Dan Gohman authored
since it doesn't work for front-ends which don't emit column information (which includes llvm-gcc in its present configuration), and doesn't work for clang for K&R style variables where the variables are declared in a different order from the parameter list. Instead, make a separate pass through the instructions to collect the llvm.dbg.declare instructions in order. This ensures that the debug information for variables is emitted in this order. llvm-svn: 108538
-
- Jul 15, 2010
-
-
Dan Gohman authored
independent of the order that isel happens to visit the dbg_declare intrinsics. This fixes a bug in which the formal arguments were being printed in reverse order, now that fast isel is going bottom up. llvm-svn: 108369
-
- Apr 16, 2010
-
-
Bill Wendling authored
JIT doesn't use the MC back-end asm printer to emit labels that it uses, the section for the MCSymbol is never set. And thus the MCSymbol for the EH label isn't marked as "defined". Because of that, TidyLandingPads removes the needed landing pads from the JIT output. This breaks EH for every JIT program. This is a work-around for this limitation. We pass in the label locations map. If the label has a non-zero value, then it was "emitted" by the JIT and TidyLandingPads shouldn't remove that label. A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely upon the section being set to determine if it's defined or not. llvm-svn: 101453
-
- Apr 15, 2010
-
-
Gabor Greif authored
llvm-svn: 101385
-
Dan Gohman authored
llvm-svn: 101334
-
- Apr 06, 2010
-
-
Chris Lattner authored
llvm-svn: 100508
-
- Mar 23, 2010
-
-
Chris Lattner authored
llvm-svn: 99227
-
- Mar 16, 2010
-
-
Chris Lattner authored
to LLVM IR changes with addr label weirdness. In the testcase, we generate references to the two bb's when codegen'ing the first function: _test1: ## @test1 leaq Ltmp0(%rip), %rax .. leaq Ltmp1(%rip), %rax Then continue to codegen the second function where the blocks get merged. We're now smart enough to emit both labels, producing this code: _test_fun: ## @test_fun ## BB#0: ## %entry Ltmp1: ## Block address taken Ltmp0: ## BB#1: ## %ret movl $-1, %eax ret Rejoice. llvm-svn: 98595
-
- Mar 15, 2010
-
-
Chris Lattner authored
label is generated, but then the block is deleted. Since the value is undefined, we just emit the label right after the entry label of the function. It might matter that the label is in the same section as the function was afterall. llvm-svn: 98579
-
Chris Lattner authored
function, then the BB is RAUW'd before the definition is emitted. There are still two cases not being handled, but this should improve us back to the situation before I touched anything. llvm-svn: 98566
-
- Mar 14, 2010
-
-
Chris Lattner authored
label instead of trying to form one based on the BB name (which causes collisions if the name is empty). This fixes PR6608 llvm-svn: 98495
-
Chris Lattner authored
to get unique assembler temporary labels. llvm-svn: 98489
-
Chris Lattner authored
an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463
-
Chris Lattner authored
them with a counter. llvm-svn: 98462
-
Chris Lattner authored
instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459
-
- Mar 13, 2010
-
-
Chris Lattner authored
and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450
-
- Mar 09, 2010
-
-
Chris Lattner authored
and add a FIXME about how we are eventually going to zap this lookup table once mc world domination is complete. llvm-svn: 98031
-
- Feb 06, 2010
-
-
Bob Wilson authored
llvm-svn: 95488
-
- Jan 28, 2010
-
-
Jim Grosbach authored
This allows code gen and the exception table writer to cooperate to make sure landing pads are associated with the correct invoke locations. llvm-svn: 94726
-
- Jan 21, 2010
-
-
Jim Grosbach authored
llvm-svn: 94097
-
Jim Grosbach authored
order for SjLj style exception handling. llvm-svn: 94055
-
- Nov 24, 2009
-
-
Devang Patel authored
llvm-svn: 89790
-
- Nov 12, 2009
-
-
Devang Patel authored
"Attach debug info with llvm instructions" mode was enabled a month ago. Now make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014
-
- Oct 08, 2009
-
-
Devang Patel authored
llvm-svn: 83571
-
- Sep 30, 2009
-
-
Devang Patel authored
llvm-svn: 83123
-
- Sep 16, 2009
-
-
Chris Lattner authored
llvm-svn: 82012
-
Chris Lattner authored
move MachineFunctionInfo virtual method out of line to give it a home. llvm-svn: 81940
-