Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						2928c83b01 
					 
					
						
						
							
							Pass StringRef by value.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-06 10:58:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						8b67f774e9 
					 
					
						
						
							
							Move DataTypes.h to include/llvm/System, update all users. This breaks the last  
						
						... 
						
						
						
						direct inclusion edge from System to Support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-26 01:35:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						90edac0e8b 
					 
					
						
						
							
							Change MCAsmStreamer to take an MCInstPrinter instead of a  
						
						... 
						
						
						
						full AsmPrinter, and change TargetRegistry to keep track
of registered MCInstPrinters.
llvm-mc is still linking in the entire
target foo to get the code emitter stuff, but this is an
important step in the right direction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81754  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-14 03:02:37 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						821e3334ed 
					 
					
						
						
							
							llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80578  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 08:09:28 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						e2ace509fc 
					 
					
						
						
							
							llvm-mc: Simplify EmitAssignment ('.set' is identical to '=').  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80577  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 08:09:09 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4a1fadaf52 
					 
					
						
						
							
							Tweak comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80516  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-30 21:14:05 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						7092c7e1dc 
					 
					
						
						
							
							llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported for now.  
						
						... 
						
						
						
						- Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80484  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-30 06:17:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						e6cdbf2f92 
					 
					
						
						
							
							llvm-mc: Emit .lcomm as .zerofill.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80343  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-28 05:48:46 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						8751b94ffb 
					 
					
						
						
							
							llvm-mc: Add const to EmitZeroFill section argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80341  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-28 05:48:22 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4fac74950a 
					 
					
						
						
							
							llvm-mc/Mach-O: Add MCCodeEmitter support, for encoding instructions.  
						
						... 
						
						
						
						- No relocations yet, of course.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80235  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-27 08:17:51 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4a0abd80f1 
					 
					
						
						
							
							Sketch TargetRegistry support for MCCodeEmitter abstract interface.  
						
						... 
						
						
						
						- Of course, nothing actually can provide this interface yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80188  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-27 00:51:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						33adcfb4d2 
					 
					
						
						
							
							rename TAI -> MAI, being careful not to make MAILJMP instructions :)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-22 21:43:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						af76e592c7 
					 
					
						
						
							
							Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-22 20:48:53 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						dabf07c70a 
					 
					
						
						
							
							Make AsmStreamer maintain a notion of the current section, pushing it up from the  
						
						... 
						
						
						
						MCAsmStreamer.  Based on this, eliminate the current section from AsmPrinter.
While I'm at it, clean up the last of the horrible "switch to null section" stuff
and add an assert.  This change is in preparation for completely eliminating 
asmprinter::switchtosection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79324  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-18 06:15:16 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						975780bb59 
					 
					
						
						
							
							change AsmPrinter to switch sections using AsmStreamer instead of  
						
						... 
						
						
						
						doing it directly.  This requires const'izing a bunch of stuff that
took sections, but this seems like the right semantic thing to do:
emitting a label to a section shouldn't mutate the MCSection object
itself, for example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79227  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-17 05:49:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f3ce009fcb 
					 
					
						
						
							
							give MCAsmStreamer a TargetAsmInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79222  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-17 04:23:44 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c22e0b2443 
					 
					
						
						
							
							Update llvm-mc / MCAsmStreamer to print the instruction using the actual target  
						
						... 
						
						
						
						specific printer (this only works on x86, for now).
 - This makes it possible to do some correctness checking of the parsing and
   matching, since we can compare the results of 'as' on the original input, to
   those of 'as' on the output from llvm-mc.
 - In theory, we could now have an easy ATT -> Intel syntax converter. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78986  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-14 03:48:55 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						011e4db845 
					 
					
						
						
							
							llvm-mc: Add dummy MCStreamer implementation, (eventually) for use in profiling.  
						
						... 
						
						
						
						- Currently unused.
 - A few other random comment fixes lumped in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78960  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-13 23:36:34 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						f9507ffa5b 
					 
					
						
						
							
							llvm-mc: Implement .abort fully in the front end  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77272  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 23:20:52 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9a7e2ccf57 
					 
					
						
						
							
							llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API.  
						
						... 
						
						
						
						- My DFS traversal of LLVM is, at least for now, nearly complete! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77258  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 21:49:56 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						5026ae4514 
					 
					
						
						
							
							Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as  
						
						... 
						
						
						
						the parsing of the .dump and .load should be done in the assembly parser and
not have any need for an MCStreamer API.  Changed the code for now so these
just produce an error saying these specific directives are not yet implemented
since they are likely no longer used and may never need to be implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76462  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-20 20:25:37 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						f96db468fc 
					 
					
						
						
							
							Removed the SubsectionsViaSymbols MCStreamer API and replaced it with a generic  
						
						... 
						
						
						
						EmitAssemblerFlag API which takes a value from the added AssemblerFlag
enumerated constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76087  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-16 17:56:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						8e25e2d801 
					 
					
						
						
							
							implement .include in the lexer/parser instead of passing it into the streamer.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75896  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-16 06:14:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						6e68cd96b2 
					 
					
						
						
							
							Added llvm-mc support for parsing the .dump and .load directives.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75786  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-15 15:30:11 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						1f049b24c7 
					 
					
						
						
							
							Added llvm-mc support for parsing the .include directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75711  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 23:21:55 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						711482476c 
					 
					
						
						
							
							Added llvm-mc support for parsing the .lsym directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75685  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 21:35:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						95cf30c444 
					 
					
						
						
							
							Added llvm-mc support for parsing the .desc directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75645  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 18:17:10 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						5f1f0b8f7e 
					 
					
						
						
							
							Added llvm-mc support for parsing the .abort directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75545  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 23:15:14 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						a5c783280f 
					 
					
						
						
							
							add llvm-mc support for parsing the .subsections_via_symbols directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75500  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 21:03:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9be3fee2bd 
					 
					
						
						
							
							add support for .zerofill, patch by Kevin Enderby!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75301  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-10 22:20:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1fc3d75581 
					 
					
						
						
							
							add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75148  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-09 17:25:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4e4db7adfc 
					 
					
						
						
							
							Implement parsing support for the .comm directive.  Patch by  
						
						... 
						
						
						
						Kevin Enderby!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74944  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-07 20:30:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e18e0c58dc 
					 
					
						
						
							
							improve comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74589  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 06:08:37 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c29dfa786a 
					 
					
						
						
							
							llvm-mc: Parse .{,b,p2}align{,w,l} directives.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74478  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-29 23:46:59 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						84a2926fb7 
					 
					
						
						
							
							Sketch streamer support for .align, .org functionality.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74109  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 19:25:34 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						71d259bc4b 
					 
					
						
						
							
							We decided to not worry about Atoms for now, it should be straightforward to  
						
						... 
						
						
						
						reintroduce them later.
Also, don't require MCSection* when creating a symbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74081  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 17:00:42 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						d814b21509 
					 
					
						
						
							
							MCStreamer: Add a few more "symbol attributes".  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74077  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 16:36:52 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						a11af531ec 
					 
					
						
						
							
							Start MCAsmStreamer implementation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74044  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 01:03:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f4a9061b6b 
					 
					
						
						
							
							stub out a trivial constructor method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74038  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 00:51:35 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						ba1da8a7b1 
					 
					
						
						
							
							Update for MCImm -> MCValue rename.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74024  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-23 23:39:15 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						381e92c66a 
					 
					
						
						
							
							Add comments for the MCStreamer interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74019  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-23 23:02:31 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						25e0d8f755 
					 
					
						
						
							
							Start sketching MCStreamer interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73994  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-23 20:24:17 +00:00