- Jan 28, 2010
-
-
Chris Lattner authored
runOnMachineFunction, and switch PPC to use EmitFunctionBody. The two ppc asmprinters now don't heave to define runOnMachineFunction. llvm-svn: 94722
-
Chris Lattner authored
llvm-svn: 94719
-
Chris Lattner authored
Move the X86 implementation of function body emission up to AsmPrinter::EmitFunctionBody, which works by calling the virtual EmitInstruction method. llvm-svn: 94716
-
Chris Lattner authored
Overload it in the ARM backend to do nothing, since is does insane constant pool emission. llvm-svn: 94708
-
Chris Lattner authored
llvm-svn: 94703
-
Chris Lattner authored
MachineFunction::Alignment instead. llvm-svn: 94701
-
- Jan 27, 2010
-
-
Jeffrey Yasskin authored
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686
-
Jim Grosbach authored
llvm-svn: 94627
-
Evan Cheng authored
Target independent isel should always pass along the "tail call" property. Change target hook LowerCall's parameter "isTailCall" into a refernce. If the target decides it's impossible to honor the tail call request, it should set isTailCall to false to make target independent isel happy. llvm-svn: 94626
-
Chris Lattner authored
llvm-svn: 94612
-
- Jan 26, 2010
-
-
Chris Lattner authored
Default HasSetDirective to true, since most targets have it. The targets that claim to not have it probably do, or it is spelled differently. These include Blackfin, Mips, Alpha, and PIC16. All of these except pic16 are normal ELF targets, so they almost certainly have it. llvm-svn: 94585
-
Rafael Espindola authored
Original patch by Sandeep Patel and updated by me. llvm-svn: 94582
-
Chris Lattner authored
llvm-svn: 94580
-
Chris Lattner authored
the AsmPrinter::GetMBBSymbol. llvm-svn: 94515
-
Chris Lattner authored
AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510
-
Jim Grosbach authored
llvm-svn: 94475
-
Chris Lattner authored
llvm-svn: 94472
-
Chris Lattner authored
a null pointer for functions with no jump tables. No functionality change. llvm-svn: 94469
-
- Jan 25, 2010
-
-
Johnny Chen authored
llvm-svn: 94465
-
Johnny Chen authored
llvm-svn: 94457
-
Johnny Chen authored
llvm-svn: 94455
-
Chris Lattner authored
llvm-svn: 94441
-
Chris Lattner authored
rename it to avoid shadowing. llvm-svn: 94440
-
Jim Grosbach authored
llvm-svn: 94408
-
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
-
- Jan 24, 2010
-
-
Chris Lattner authored
llvm-svn: 94378
-
- Jan 23, 2010
-
-
Chris Lattner authored
llvm-svn: 94299
-
Chris Lattner authored
llvm-svn: 94296
-
Chris Lattner authored
into a new MCDirectives.h file. llvm-svn: 94294
-
- Jan 22, 2010
-
-
Chris Lattner authored
missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164
-
Chris Lattner authored
llvm-svn: 94129
-
Jim Grosbach authored
cannot be directly interchanged for comparisons against negated values. Disable the CMN instructions for the time being. llvm-svn: 94119
-
- Jan 20, 2010
-
-
Chris Lattner authored
go completely away. llvm-svn: 93994
-
Chris Lattner authored
stomache MCAsmInfo having this, and I found a better solution to this layering issue. llvm-svn: 93985
-
- Jan 19, 2010
-
-
Bob Wilson authored
llvm-svn: 93940
-
Chris Lattner authored
I really want clients of the streamer to be able to say "emit this 64-bit integer" and have it get broken down right by the streamer. I may change this in the future, we'll see how it works out. llvm-svn: 93934
-
Sean Callanan authored
the two token accessor functions are declared consistently. Modified the clients of MCAsmParser to reflect this change. llvm-svn: 93916
-
Jakob Stoklund Olesen authored
Since the mov is executed unconditionally, make sure that the add didn't have any predicate. llvm-svn: 93909
-
Sean Callanan authored
MCAsmParser, and changed the target-specific AsmParsers to use it. llvm-svn: 93900
-
Chris Lattner authored
identifier. There is no way to work around it. llvm-svn: 93896
-