Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								91f120f4fa 
								
							 
						 
						
							
							
								
								Add a printSetLabel that takes two id's.  
							
							 
							
							... 
							
							
							
							llvm-svn: 31347 
							
						 
						
							2006-11-01 09:23:08 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								aa4c0f9374 
								
							 
						 
						
							
							
								
								1. Clean up code due to changes in SwitchTo*Section(2)  
							
							 
							
							... 
							
							
							
							2. Added partial debug support for mingw\cygwin targets (the same as
   Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format
   for storing debug info by default, thus many (runtime) libraries has
   this information included. These formats shouldn't be mixed in one binary
   ('stabs' & 'DWARF'), otherwise binutils tools will be confused.
llvm-svn: 31311 
							
						 
						
							2006-10-31 08:31:24 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								28bfe389d1 
								
							 
						 
						
							
							
								
								don't print dead jump tables  
							
							 
							
							... 
							
							
							
							llvm-svn: 31266 
							
						 
						
							2006-10-28 18:10:06 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								71b99297aa 
								
							 
						 
						
							
							
								
								Move getPreferredAlignmentLog from AsmPrinter to TargetData  
							
							 
							
							... 
							
							
							
							llvm-svn: 31171 
							
						 
						
							2006-10-24 20:32:14 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								e0fc4dfc22 
								
							 
						 
						
							
							
								
								For PR950:  
							
							 
							
							... 
							
							
							
							This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.
llvm-svn: 31063 
							
						 
						
							2006-10-20 07:07:24 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								d24b913a61 
								
							 
						 
						
							
							
								
								Clean up interface to getGlobalLinkName.  
							
							 
							
							... 
							
							
							
							llvm-svn: 31001 
							
						 
						
							2006-10-17 17:17:24 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								7126254a0e 
								
							 
						 
						
							
							
								
								Basic support for getGlobalLinkName.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30997 
							
						 
						
							2006-10-17 13:41:07 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								a6bbf33cbf 
								
							 
						 
						
							
							
								
								Jimptables working again on alpha.  
							
							 
							
							... 
							
							
							
							As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
llvm-svn: 30873 
							
						 
						
							2006-10-11 04:29:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9043823cf4 
								
							 
						 
						
							
							
								
								If a target uses a GOT, put it in the jt data section, not the text  
							
							 
							
							... 
							
							
							
							section.  This will fix alpha when Andrew implements
AlphaTargetMachine::getTargetLowering().
llvm-svn: 30779 
							
						 
						
							2006-10-06 22:50:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8b1a59a272 
								
							 
						 
						
							
							
								
								Don't crash if an MBB doesn't have an LLVM BB  
							
							 
							
							... 
							
							
							
							llvm-svn: 30757 
							
						 
						
							2006-10-05 21:40:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								66c1625a37 
								
							 
						 
						
							
							
								
								Emit pic jumptables to the same section that the function is emitted to,  
							
							 
							
							... 
							
							
							
							allowing label differences to work.  This fixes CodeGen/X86/pic_jumptable.ll
llvm-svn: 30744 
							
						 
						
							2006-10-05 03:13:28 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a6a570e02f 
								
							 
						 
						
							
							
								
								Pass the MachineFunction into EmitJumpTableInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30742 
							
						 
						
							2006-10-05 03:01:21 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								dc82241182 
								
							 
						 
						
							
							
								
								move getSectionForFunction to AsmPrinter  
							
							 
							
							... 
							
							
							
							llvm-svn: 30736 
							
						 
						
							2006-10-05 02:42:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fc416faaa0 
								
							 
						 
						
							
							
								
								Use $( $| $) to represent alternatives in asm blocks instead of {|}.  This  
							
							 
							
							... 
							
							
							
							is needed to support targets where {|} aren't special symbols.
llvm-svn: 30712 
							
						 
						
							2006-10-03 23:27:09 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eea983eb5d 
								
							 
						 
						
							
							
								
								simplify code  
							
							 
							
							... 
							
							
							
							llvm-svn: 30659 
							
						 
						
							2006-09-28 23:17:41 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								30b4708df2 
								
							 
						 
						
							
							
								
								Add support for ${:private} which prints "L" on darwin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30620 
							
						 
						
							2006-09-27 00:06:07 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a32814b033 
								
							 
						 
						
							
							
								
								Add support for ${:comment}, which expands to the current target's comment  
							
							 
							
							... 
							
							
							
							character, and ${:uid} which expands to a unique ID for the MachineInstr.
More can be added if/when they are needed.
llvm-svn: 30619 
							
						 
						
							2006-09-26 23:59:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								66af390631 
								
							 
						 
						
							
							
								
								Add support for targets that want to do something with the llvm.used list,  
							
							 
							
							... 
							
							
							
							because they have an aggressive linker that does dead code stripping.
llvm-svn: 30604 
							
						 
						
							2006-09-26 03:38:18 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								783a4a9d86 
								
							 
						 
						
							
							
								
								Add support for other relocation bases to jump tables, as well as custom asm directives  
							
							 
							
							... 
							
							
							
							llvm-svn: 30593 
							
						 
						
							2006-09-24 19:45:58 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								51ad73c98c 
								
							 
						 
						
							
							
								
								oops  
							
							 
							
							... 
							
							
							
							llvm-svn: 30462 
							
						 
						
							2006-09-18 18:00:18 +00:00  
						
					 
				
					
						
							
							
								 
								Andrew Lenharth
							
						 
						
							 
							
							
							
							
								
							
							
								c50458fb90 
								
							 
						 
						
							
							
								
								absolute addresses must match pointer size  
							
							 
							
							... 
							
							
							
							llvm-svn: 30461 
							
						 
						
							2006-09-18 17:59:35 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								2ad050fb3e 
								
							 
						 
						
							
							
								
								Use MachineConstantPoolEntry getOffset() and getType() accessors.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30326 
							
						 
						
							2006-09-14 07:35:00 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								45fe3bc72c 
								
							 
						 
						
							
							
								
								Added support for machine specific constantpool values. These are useful for  
							
							 
							
							... 
							
							
							
							representing expressions that can only be resolved at link time, etc.
llvm-svn: 30278 
							
						 
						
							2006-09-12 21:00:35 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								261779bb45 
								
							 
						 
						
							
							
								
								Make target asm info a property of the target machine.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30162 
							
						 
						
							2006-09-07 22:06:40 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								95b3dde8bb 
								
							 
						 
						
							
							
								
								Fix pasto that was breaking x86 tests.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30151 
							
						 
						
							2006-09-07 18:50:20 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								a6211dcdad 
								
							 
						 
						
							
							
								
								Separate target specific asm properties from the asm printers.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30126 
							
						 
						
							2006-09-06 18:34:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								45456d44e3 
								
							 
						 
						
							
							
								
								Don't call isDef on non-registers  
							
							 
							
							... 
							
							
							
							llvm-svn: 30117 
							
						 
						
							2006-09-05 20:02:51 +00:00  
						
					 
				
					
						
							
							
								 
								Nate Begeman
							
						 
						
							 
							
							
							
							
								
							
							
								984c1a4a8f 
								
							 
						 
						
							
							
								
								Emit .set directives for jump table entries when possible, which reduces  
							
							 
							
							... 
							
							
							
							the number of relocations in object files, shrinkifying them.
llvm-svn: 29650 
							
						 
						
							2006-08-12 21:29:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								85492427f2 
								
							 
						 
						
							
							
								
								Instead of blindly looking past constantexpr casts, actually constant  
							
							 
							
							... 
							
							
							
							fold them.  This correctly truncates constants that are too large for the
destination slot and makes the code easier to understand.  This fixes PR853
and Regression/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll
llvm-svn: 29408 
							
						 
						
							2006-07-29 01:57:19 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3390cbed2c 
								
							 
						 
						
							
							
								
								Print empty inline asms as a blank line instead of:  
							
							 
							
							... 
							
							
							
							# InlineAsm Start
        # InlineAsm End
llvm-svn: 29372 
							
						 
						
							2006-07-28 00:17:20 +00:00  
						
					 
				
					
						
							
							
								 
								Nate Begeman
							
						 
						
							 
							
							
							
							
								
							
							
								efc312a5c7 
								
							 
						 
						
							
							
								
								Code cleanups, per review  
							
							 
							
							... 
							
							
							
							llvm-svn: 29347 
							
						 
						
							2006-07-27 16:46:58 +00:00  
						
					 
				
					
						
							
							
								 
								Nate Begeman
							
						 
						
							 
							
							
							
							
								
							
							
								787565024a 
								
							 
						 
						
							
							
								
								Support jump tables when in PIC relocation model  
							
							 
							
							... 
							
							
							
							llvm-svn: 29318 
							
						 
						
							2006-07-27 01:13:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								fd5a8ebb74 
								
							 
						 
						
							
							
								
								On 64-bit targets like ppc64, we should use .quad to output pointer directives,  
							
							 
							
							... 
							
							
							
							not .long.
llvm-svn: 29157 
							
						 
						
							2006-07-15 01:34:12 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								ec1d60bd98 
								
							 
						 
						
							
							
								
								Add support to print 4-, 8-, and 16- byte constant literals in special  
							
							 
							
							... 
							
							
							
							sections. e.g. On Darwin that would be .literal4 and .literal8.
llvm-svn: 28977 
							
						 
						
							2006-06-29 00:26:09 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								3519b87758 
								
							 
						 
						
							
							
								
								Was pointed out that structure alignment and type alignment are not the same  
							
							 
							
							... 
							
							
							
							thing.  Doubles still need to be special cased.
llvm-svn: 28806 
							
						 
						
							2006-06-15 19:37:14 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								dce07568f2 
								
							 
						 
						
							
							
								
								Alignment of globals has not been quite right.  Needed to drop the pointer type  
							
							 
							
							... 
							
							
							
							to get the alignment of the element type.
llvm-svn: 28799 
							
						 
						
							2006-06-15 13:10:58 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								df63179d95 
								
							 
						 
						
							
							
								
								Assert. Rather than silently stop printing.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28794 
							
						 
						
							2006-06-15 08:10:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8f8b5e4631 
								
							 
						 
						
							
							
								
								Fix an assert-on-inline-inline-asm bug.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28727 
							
						 
						
							2006-06-08 18:00:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								936cd3390d 
								
							 
						 
						
							
							
								
								Remove dead var  
							
							 
							
							... 
							
							
							
							llvm-svn: 28250 
							
						 
						
							2006-05-12 17:50:35 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								8c2c1e90c4 
								
							 
						 
						
							
							
								
								Refactor a bunch of includes so that TargetMachine.h doesn't have to include  
							
							 
							
							... 
							
							
							
							TargetData.h.  This should make recompiles a bit faster with my current
TargetData tinkering.
llvm-svn: 28238 
							
						 
						
							2006-05-12 06:33:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f801792e08 
								
							 
						 
						
							
							
								
								Fix a regression in my patch from last night that broke the llvmgcc4 build on  
							
							 
							
							... 
							
							
							
							ppc
llvm-svn: 28205 
							
						 
						
							2006-05-09 16:41:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								4ebc6a2311 
								
							 
						 
						
							
							
								
								Implement MASM sections correctly, without a "has masm sections flag" and a bunch of special case code.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28194 
							
						 
						
							2006-05-09 05:33:48 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8c2bfc0659 
								
							 
						 
						
							
							
								
								Oh yeah, there are two of these now, unify both.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28192 
							
						 
						
							2006-05-09 05:24:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								6341df8069 
								
							 
						 
						
							
							
								
								Setting SwitchToSectionDirective properly in the MASM backend permits a bunch  
							
							 
							
							... 
							
							
							
							of code to be unified.
llvm-svn: 28191 
							
						 
						
							2006-05-09 05:23:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								d36cc2b610 
								
							 
						 
						
							
							
								
								Don't prefix section directives with a tab.  Doing so causes blank lines to  
							
							 
							
							... 
							
							
							
							be emitted to the .s file.
llvm-svn: 28189 
							
						 
						
							2006-05-09 05:19:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								e64f764d25 
								
							 
						 
						
							
							
								
								Make the masm codepath work like the normal code path.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28188 
							
						 
						
							2006-05-09 05:15:58 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c0f0dfa56f 
								
							 
						 
						
							
							
								
								The MASM asmprinter has been fixed, these hacks are no longer needed.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28186 
							
						 
						
							2006-05-09 05:13:34 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8488ba2e41 
								
							 
						 
						
							
							
								
								Split SwitchSection into SwitchTo{Text|Data}Section methods.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28184 
							
						 
						
							2006-05-09 04:59:56 +00:00  
						
					 
				
					
						
							
							
								 
								Jeff Cohen
							
						 
						
							 
							
							
							
							
								
							
							
								ce9b9fe6eb 
								
							 
						 
						
							
							
								
								Fix some loose ends in MASM support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 28148 
							
						 
						
							2006-05-06 21:27:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a633c31319 
								
							 
						 
						
							
							
								
								Indent multiline asm strings more nicely  
							
							 
							
							... 
							
							
							
							llvm-svn: 28132 
							
						 
						
							2006-05-05 21:47:05 +00:00