95528943e9 
								
							 
						 
						
							
							
								
								Atomic op support.  If any gcc test uses __sync builtins, it might start failing on archs that haven't implemented them yet  
							
							... 
							
							
							
							llvm-svn: 47430 
							
						 
						
							2008-02-21 06:45:13 +00:00  
				
					
						
							
							
								 
						
							
								fa4b673eac 
								
							 
						 
						
							
							
								
								Clarify that 'sret' only applies to pointers, and  
							
							... 
							
							
							
							only applies to the first parameter.
llvm-svn: 47256 
							
						 
						
							2008-02-18 04:19:38 +00:00  
				
					
						
							
							
								 
						
							
								6110128ed5 
								
							 
						 
						
							
							
								
								Make the definition of the noalias attribute clearer.  
							
							... 
							
							
							
							llvm-svn: 47255 
							
						 
						
							2008-02-18 04:09:01 +00:00  
				
					
						
							
							
								 
						
							
								9b254eed32 
								
							 
						 
						
							
							
								
								llvm.memory.barrier, and impl for x86 and alpha  
							
							... 
							
							
							
							llvm-svn: 47204 
							
						 
						
							2008-02-16 01:24:58 +00:00  
				
					
						
							
							
								 
						
							
								dd1fc981b5 
								
							 
						 
						
							
							
								
								explain that NumElements in alloca and malloc defaults to one  
							
							... 
							
							
							
							llvm-svn: 46912 
							
						 
						
							2008-02-09 22:24:34 +00:00  
				
					
						
							
							
								 
						
							
								00d7cb9942 
								
							 
						 
						
							
							
								
								llvm.sqrt(-0.0) is defined.  
							
							... 
							
							
							
							llvm-svn: 46500 
							
						 
						
							2008-01-29 07:00:44 +00:00  
				
					
						
							
							
								 
						
							
								2f2427e5aa 
								
							 
						 
						
							
							
								
								make handling of overflow and undefined results much more clear.  
							
							... 
							
							
							
							Patch by Eli Friedman, thanks!
llvm-svn: 46428 
							
						 
						
							2008-01-28 00:36:27 +00:00  
				
					
						
							
							
								 
						
							
								06cbb65cb0 
								
							 
						 
						
							
							
								
								Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.  
							
							... 
							
							
							
							llvm-svn: 46024 
							
						 
						
							2008-01-15 22:31:34 +00:00  
				
					
						
							
							
								 
						
							
								352ab9b4a2 
								
							 
						 
						
							
							
								
								clarify that byval is valid for any pointer argument.  
							
							... 
							
							
							
							llvm-svn: 45998 
							
						 
						
							2008-01-15 04:34:22 +00:00  
				
					
						
							
							
								 
						
							
								5cee13f1df 
								
							 
						 
						
							
							
								
								document the byval parameter attribute.  
							
							... 
							
							
							
							llvm-svn: 45855 
							
						 
						
							2008-01-11 06:20:47 +00:00  
				
					
						
							
							
								 
						
							
								2a1993fb2c 
								
							 
						 
						
							
							
								
								improve description of alignment, patch by Alain Frisch.  
							
							... 
							
							
							
							llvm-svn: 45662 
							
						 
						
							2008-01-06 21:04:43 +00:00  
				
					
						
							
							
								 
						
							
								ec56402557 
								
							 
						 
						
							
							
								
								Fix typo noticed by 'Danny' in PR1901  
							
							... 
							
							
							
							llvm-svn: 45661 
							
						 
						
							2008-01-06 19:51:52 +00:00  
				
					
						
							
							
								 
						
							
								43542b3a93 
								
							 
						 
						
							
							
								
								fix nesting issues.  
							
							... 
							
							
							
							llvm-svn: 45566 
							
						 
						
							2008-01-04 04:34:14 +00:00  
				
					
						
							
							
								 
						
							
								b8f816e90d 
								
							 
						 
						
							
							
								
								fix validation issues.  
							
							... 
							
							
							
							llvm-svn: 45565 
							
						 
						
							2008-01-04 04:33:49 +00:00  
				
					
						
							
							
								 
						
							
								7824d182da 
								
							 
						 
						
							
							
								
								improve the description of types, patch by Alain Frisch  
							
							... 
							
							
							
							llvm-svn: 45564 
							
						 
						
							2008-01-04 04:32:38 +00:00  
				
					
						
							
							
								 
						
							
								bea11173f5 
								
							 
						 
						
							
							
								
								update to llvm 2.0 syntax.  
							
							... 
							
							
							
							llvm-svn: 45355 
							
						 
						
							2007-12-25 20:34:52 +00:00  
				
					
						
							
							
								 
						
							
								fb56bde933 
								
							 
						 
						
							
							
								
								Noting and enforcing that GC intrinsics are valid only within a  
							
							... 
							
							
							
							function with GC.
This will catch the error when the inliner inlines a function with
GC into a caller with no GC.
llvm-svn: 45350 
							
						 
						
							2007-12-25 02:31:26 +00:00  
				
					
						
							
							
								 
						
							
								747359f973 
								
							 
						 
						
							
							
								
								fix more table abuses.  
							
							... 
							
							
							
							llvm-svn: 45187 
							
						 
						
							2007-12-19 05:04:11 +00:00  
				
					
						
							
							
								 
						
							
								9a2e3cb48d 
								
							 
						 
						
							
							
								
								avoid confusing terminology (what is a "word"?), fix scary markup, add section to TOC.  
							
							... 
							
							
							
							llvm-svn: 45150 
							
						 
						
							2007-12-18 06:18:21 +00:00  
				
					
						
							
							
								 
						
							
								55c6d4f22f 
								
							 
						 
						
							
							
								
								Make it clear in the LangRef that allocation instructions only operated on the generic address space. Implement support in the verifier for ensuring this is true.  
							
							... 
							
							
							
							llvm-svn: 45080 
							
						 
						
							2007-12-17 01:00:21 +00:00  
				
					
						
							
							
								 
						
							
								25f5076612 
								
							 
						 
						
							
							
								
								Implement part of review feedback for address spaces.  
							
							... 
							
							
							
							llvm-svn: 44933 
							
						 
						
							2007-12-12 08:44:39 +00:00  
				
					
						
							
							
								 
						
							
								308121c757 
								
							 
						 
						
							
							
								
								Add information on address space qualifiers for pointer types and global  
							
							... 
							
							
							
							declarations to the LangRef.
llvm-svn: 44860 
							
						 
						
							2007-12-11 09:31:00 +00:00  
				
					
						
							
							
								 
						
							
								dc5cafb74e 
								
							 
						 
						
							
							
								
								Fix a typo spotted by Nick Lewycky.  
							
							... 
							
							
							
							llvm-svn: 44774 
							
						 
						
							2007-12-10 03:30:21 +00:00  
				
					
						
							
							
								 
						
							
								71183b6739 
								
							 
						 
						
							
							
								
								Adding a collector name attribute to Function in the IR. These  
							
							... 
							
							
							
							methods are new to Function:
  bool hasCollector() const;
  const std::string &getCollector() const;
  void setCollector(const std::string &);
  void clearCollector();
The assembly representation is as such:
  define void @f() gc "shadow-stack" { ...
The implementation uses an on-the-side table to map Functions to 
collector names, such that there is no overhead. A StringPool is 
further used to unique collector names, which are extremely
likely to be unique per process.
llvm-svn: 44769 
							
						 
						
							2007-12-10 03:18:06 +00:00  
				
					
						
							
							
								 
						
							
								ad0ea2d430 
								
							 
						 
						
							
							
								
								Fix PR1146: parameter attributes are longer part of  
							
							... 
							
							
							
							the function type, instead they belong to functions
and function calls.  This is an updated and slightly
corrected version of Reid Spencer's original patch.
The only known problem is that auto-upgrading of
bitcode files doesn't seem to work properly (see
test/Bitcode/AutoUpgradeIntrinsics.ll).  Hopefully
a bitcode guru (who might that be? :) ) will fix it.
llvm-svn: 44359 
							
						 
						
							2007-11-27 13:23:08 +00:00  
				
					
						
							
							
								 
						
							
								a89a113a20 
								
							 
						 
						
							
							
								
								Rename the 'const' parameter attribute to 'readnone',  
							
							... 
							
							
							
							and the 'pure' parameter attribute to 'readonly'.
Names suggested by DannyB.
llvm-svn: 44273 
							
						 
						
							2007-11-22 20:23:04 +00:00  
				
					
						
							
							
								 
						
							
								d4d45c268c 
								
							 
						 
						
							
							
								
								Add support for vectors to int <-> float casts.  
							
							... 
							
							
							
							llvm-svn: 44204 
							
						 
						
							2007-11-17 03:58:34 +00:00  
				
					
						
							
							
								 
						
							
								730a32643f 
								
							 
						 
						
							
							
								
								Tweak the descriptions of the new 'const' and 'pure' attributes.  
							
							... 
							
							
							
							llvm-svn: 44132 
							
						 
						
							2007-11-14 21:14:02 +00:00  
				
					
						
							
							
								 
						
							
								46f4446bba 
								
							 
						 
						
							
							
								
								Document pure/const parameter attributes  
							
							... 
							
							
							
							llvm-svn: 44111 
							
						 
						
							2007-11-14 10:30:13 +00:00  
				
					
						
							
							
								 
						
							
								08143e397d 
								
							 
						 
						
							
							
								
								Add support for vector remainder operations.  
							
							... 
							
							
							
							llvm-svn: 43744 
							
						 
						
							2007-11-05 23:35:22 +00:00  
				
					
						
							
							
								 
						
							
								8830ffed4c 
								
							 
						 
						
							
							
								
								Put correct link in example  
							
							... 
							
							
							
							llvm-svn: 43216 
							
						 
						
							2007-10-22 05:10:05 +00:00  
				
					
						
							
							
								 
						
							
								d0806a0508 
								
							 
						 
						
							
							
								
								Don't mention -enable-unsafe-fp-math in LangRef.html, as that option is  
							
							... 
							
							
							
							assumed to globally mutate the spec.
llvm-svn: 43078 
							
						 
						
							2007-10-17 18:05:13 +00:00  
				
					
						
							
							
								 
						
							
								b6324c1243 
								
							 
						 
						
							
							
								
								Document the new llvm.sin, llvm.cos, and llvm.pow intrinsics. Feedback  
							
							... 
							
							
							
							is welcome!
llvm-svn: 43007 
							
						 
						
							2007-10-15 20:30:11 +00:00  
				
					
						
							
							
								 
						
							
								a699c4dc65 
								
							 
						 
						
							
							
								
								Fixing a typo. Found by Kevin André!  
							
							... 
							
							
							
							llvm-svn: 42956 
							
						 
						
							2007-10-14 00:34:53 +00:00  
				
					
						
							
							
								 
						
							
								f0e5011d21 
								
							 
						 
						
							
							
								
								Clarify that shifts that are too large are undefined.  
							
							... 
							
							
							
							llvm-svn: 42588 
							
						 
						
							2007-10-03 21:01:14 +00:00  
				
					
						
							
							
								 
						
							
								87a3dbe743 
								
							 
						 
						
							
							
								
								remove extraneous tag  
							
							... 
							
							
							
							llvm-svn: 42581 
							
						 
						
							2007-10-03 17:34:29 +00:00  
				
					
						
							
							
								 
						
							
								6a6fb7f7b7 
								
							 
						 
						
							
							
								
								remove misleading documentation: LLVM has no atomic support yet.  
							
							... 
							
							
							
							llvm-svn: 42580 
							
						 
						
							2007-10-03 17:33:51 +00:00  
				
					
						
							
							
								 
						
							
								dd89d2758e 
								
							 
						 
						
							
							
								
								Document new sqrt and powi handling.  
							
							... 
							
							
							
							llvm-svn: 42540 
							
						 
						
							2007-10-02 17:47:38 +00:00  
				
					
						
							
							
								 
						
							
								252570f0ad 
								
							 
						 
						
							
							
								
								Validation fixes  
							
							... 
							
							
							
							llvm-svn: 42225 
							
						 
						
							2007-09-22 09:23:55 +00:00  
				
					
						
							
							
								 
						
							
								5b95a171e2 
								
							 
						 
						
							
							
								
								fix bugs in the manual  
							
							... 
							
							
							
							llvm-svn: 42221 
							
						 
						
							2007-09-22 03:17:52 +00:00  
				
					
						
							
							
								 
						
							
								cf3e26fff2 
								
							 
						 
						
							
							
								
								Correct names.  
							
							... 
							
							
							
							llvm-svn: 42219 
							
						 
						
							2007-09-22 00:03:01 +00:00  
				
					
						
							
							
								 
						
							
								08abc81a44 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							... 
							
							
							
							llvm-svn: 42217 
							
						 
						
							2007-09-22 00:01:26 +00:00  
				
					
						
							
							
								 
						
							
								0186a65ac7 
								
							 
						 
						
							
							
								
								One last fix to get name correct.  
							
							... 
							
							
							
							llvm-svn: 42216 
							
						 
						
							2007-09-21 23:57:59 +00:00  
				
					
						
							
							
								 
						
							
								afcdaf58d4 
								
							 
						 
						
							
							
								
								Fix silly typo.  
							
							... 
							
							
							
							llvm-svn: 42215 
							
						 
						
							2007-09-21 23:57:04 +00:00  
				
					
						
							
							
								 
						
							
								23dbd57214 
								
							 
						 
						
							
							
								
								Update annotation intrinsic with more details.  
							
							... 
							
							
							
							llvm-svn: 42214 
							
						 
						
							2007-09-21 23:56:27 +00:00  
				
					
						
							
							
								 
						
							
								293c037336 
								
							 
						 
						
							
							
								
								Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.  
							
							... 
							
							
							
							llvm-svn: 42211 
							
						 
						
							2007-09-21 22:59:12 +00:00  
				
					
						
							
							
								 
						
							
								12477735f9 
								
							 
						 
						
							
							
								
								gcroot must take concrete types, not arbitrary types.  
							
							... 
							
							
							
							clean up intrinsic descriptions in langref a bit.
llvm-svn: 42194 
							
						 
						
							2007-09-21 17:30:40 +00:00  
				
					
						
							
							
								 
						
							
								86e0119822 
								
							 
						 
						
							
							
								
								Fold the adjust_trampoline intrinsic into  
							
							... 
							
							
							
							init_trampoline.  There is now only one
trampoline intrinsic.
llvm-svn: 41841 
							
						 
						
							2007-09-11 14:10:23 +00:00  
				
					
						
							
							
								 
						
							
								a9b13d5cc1 
								
							 
						 
						
							
							
								
								Fix description of the call instruction. There are two types, with one being  
							
							... 
							
							
							
							optional.
llvm-svn: 41785 
							
						 
						
							2007-09-08 13:57:50 +00:00  
				
					
						
							
							
								 
						
							
								f2bcd37083 
								
							 
						 
						
							
							
								
								Implement review feedback on trampoline documentation.  
							
							... 
							
							
							
							llvm-svn: 41304 
							
						 
						
							2007-08-22 23:39:54 +00:00