- Feb 06, 2010
-
-
Devang Patel authored
llvm-svn: 95452
-
- Feb 05, 2010
-
-
Bill Wendling authored
following it. However, the EmitGlobalConstant method wasn't emitting a body for the constant. The assembler doesn't like that. Before, we were generating this: .zerofill __DATA, __common, __cmd, 1, 3 This fix puts us back to that semantic. llvm-svn: 95336
-
- Feb 03, 2010
-
-
Devang Patel authored
llvm-svn: 95242
-
Devang Patel authored
llvm-svn: 95240
-
Chris Lattner authored
.o files don't like that. llvm-svn: 95187
-
Chris Lattner authored
llvm-svn: 95186
-
Chris Lattner authored
the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178
-
Chris Lattner authored
than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
-
Chris Lattner authored
mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155
-
- Feb 02, 2010
-
-
Chris Lattner authored
move handling of asm-verbose out of AsmPrinter.cpp into LLVMTargetMachine.cpp with the rest of the command line options. llvm-svn: 95152
-
Devang Patel authored
llvm-svn: 95064
-
Devang Patel authored
llvm-svn: 95062
-
- Jan 30, 2010
-
-
Devang Patel authored
llvm-svn: 94870
-
- Jan 29, 2010
-
-
Devang Patel authored
llvm-svn: 94822
-
- Jan 28, 2010
-
-
Chris Lattner authored
llvm-svn: 94732
-
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
-
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
"0" is nice and target independent. llvm-svn: 94718
-
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
constify EmitLinkage. llvm-svn: 94705
-
- Jan 27, 2010
-
-
Chris Lattner authored
which allows targets to override function entry label emission. Use it to convert linux/ppc to use EmitFunctionHeader(). llvm-svn: 94667
-
Chris Lattner authored
llvm-svn: 94624
-
Chris Lattner authored
change is that we now use ".linkonce discard" for global variables instead of ".linkonce samesize". These should be the same, just less strict. If anyone is interested in mcizing MCSection for COFF targets, this should be easy to fix. llvm-svn: 94623
-
Chris Lattner authored
llvm-svn: 94621
-
Chris Lattner authored
llvm-svn: 94620
-
Chris Lattner authored
llvm-svn: 94616
-
Chris Lattner authored
logic up from X86 into the common code. The other targets will hopefully start using this soon. llvm-svn: 94614
-
Chris Lattner authored
is constified. llvm-svn: 94613
-
- Jan 26, 2010
-
-
Chris Lattner authored
assignments. .set x, a-b is the same as: x = a-b llvm-svn: 94596
-
Devang Patel authored
llvm-svn: 94593
-
Devang Patel authored
llvm-svn: 94587
-
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
-
Chris Lattner authored
that has it. llvm-svn: 94581
-
Chris Lattner authored
subsumed by TargetLowering::getJumpTableEncoding(). Change uses of it to be more specific. llvm-svn: 94529
-
Chris Lattner authored
inline it into its only caller, allowing us to simplify it and hoist bits out of the loop. llvm-svn: 94528
-
Chris Lattner authored
which is more convenient, and change getPICJumpTableRelocBaseExpr to take a MachineFunction to match. Next, move the X86 code that create a PICBase symbol to X86TargetLowering::getPICBaseSymbol from X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific library. This eliminates a 'gross hack', and allows us to implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now calls it. This in turn allows us to eliminate the X86AsmPrinter::printPICJumpTableSetLabel method, which was the only overload of printPICJumpTableSetLabel. llvm-svn: 94526
-
Chris Lattner authored
use it to implement the default TargetLowering::getPICJumpTableRelocBaseExpr llvm-svn: 94523
-
Chris Lattner authored
EK_LabelDifference32 kind and the target has .set support. Simplify X86AsmPrinter::printPICJumpTableSetLabel to make use of recent helpers. llvm-svn: 94518
-
Chris Lattner authored
make it private and non-virtual. It handles the non-pic case too, so just use it, simplifying EmitJumpTableInfo. llvm-svn: 94517
-