diff options
Diffstat (limited to 'docs/CodeGenerator.html')
-rw-r--r-- | docs/CodeGenerator.html | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index d082acc..29a2cce 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -2019,6 +2019,11 @@ def : InstAlias<"fcomi $reg", (COM_FIr RST:$reg)>; <p>Instruction aliases can also have a Requires clause to make them subtarget specific.</p> +<p>If the back-end supports it, the instruction printer can automatically emit + the alias rather than what's being aliased. It typically leads to better, + more readable code. If it's better to print out what's being aliased, then + pass a '0' as the third parameter to the InstAlias definition.</p> + </div> </div> @@ -2464,11 +2469,14 @@ entry: <p>The following target-specific calling conventions are known to backend:</p> <ul> - <li><b>x86_StdCall</b> — stdcall calling convention seen on Microsoft - Windows platform (CC ID = 64).</li> - - <li><b>x86_FastCall</b> — fastcall calling convention seen on Microsoft - Windows platform (CC ID = 65).</li> +<li><b>x86_StdCall</b> — stdcall calling convention seen on Microsoft + Windows platform (CC ID = 64).</li> +<li><b>x86_FastCall</b> — fastcall calling convention seen on Microsoft + Windows platform (CC ID = 65).</li> +<li><b>x86_ThisCall</b> — Similar to X86_StdCall. Passes first argument + in ECX, others via stack. Callee is responsible for stack cleaning. This + convention is used by MSVC by default for methods in its ABI + (CC ID = 70).</li> </ul> </div> @@ -2798,7 +2806,7 @@ MOVSX32rm16 -> movsx, 32-bit register, 16-bit memory <a href="mailto:sabre@nondot.org">Chris Lattner</a><br> <a href="http://llvm.org/">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2011-04-23 02:30:22 +0200 (Sat, 23 Apr 2011) $ + Last modified: $Date: 2011-05-23 00:28:47 +0200 (Mon, 23 May 2011) $ </address> </body> |