From ab21db79ef1d2530880ad11f21f0b87ffca02dd4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 28 Oct 2009 00:19:10 +0000 Subject: rename indbr -> indirectbr to appease the residents of #llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85351 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/LangRef.html') diff --git a/docs/LangRef.html b/docs/LangRef.html index 23558e7..e205dc2 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -111,7 +111,7 @@
  • 'ret' Instruction
  • 'br' Instruction
  • 'switch' Instruction
  • -
  • 'indbr' Instruction
  • +
  • 'indirectbr' Instruction
  • 'invoke' Instruction
  • 'unwind' Instruction
  • 'unreachable' Instruction
  • @@ -2183,13 +2183,13 @@ has undefined behavior.

    the address of the entry block is illegal.

    This value only has defined behavior when used as an operand to the - 'indbr' instruction or for comparisons + 'indirectbr' instruction or for comparisons against null. Pointer equality tests between labels addresses is undefined behavior - though, again, comparison against null is ok, and no label is equal to the null pointer. This may also be passed around as an opaque pointer sized value as long as the bits are not inspected. This allows ptrtoint and arithmetic to be performed on these values so long as - the original value is reconstituted before the indbr.

    + the original value is reconstituted before the indirectbr.

    Finally, some targets may provide defined semantics when using the value as the operand to an inline assembly, but that is target @@ -2541,7 +2541,7 @@ Instructions 'ret' instruction, the 'br' instruction, the 'switch' instruction, the - ''indbr' Instruction, the + ''indirectbr' Instruction, the 'invoke' instruction, the 'unwind' instruction, and the 'unreachable' instruction.

    @@ -2703,19 +2703,19 @@ IfUnequal:
    - 'indbr' Instruction + 'indirectbr' Instruction
    Syntax:
    -  indbr <somety>* <address>, [ label <dest1>, label <dest2>, ... ]
    +  indirectbr <somety>* <address>, [ label <dest1>, label <dest2>, ... ]
     
    Overview:
    -

    The 'indbr' instruction implements an indirect branch to a label +

    The 'indirectbr' instruction implements an indirect branch to a label within the current function, whose address is specified by "address". Address must be derived from a blockaddress constant.

    @@ -2743,7 +2743,7 @@ IfUnequal:
    Example:
    - indbr i8* %Addr, [ label %bb1, label %bb2, label %bb3 ]
    + indirectbr i8* %Addr, [ label %bb1, label %bb2, label %bb3 ]
     
    -- cgit v1.1