diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -817,6 +817,14 @@ collector name `, an optional :ref:`prefix `, and an optional :ref:`prologue `. +Syntax:: + + declare [linkage] [visibility] [DLLStorageClass] + [cconv] [ret attrs] + @ ([argument list]) + [(unnamed_addr|local_unnamed_addr)] [align N] [gc] + [prefix Constant] [prologue Constant] + A function definition contains a list of basic blocks, forming the CFG (Control Flow Graph) for the function. Each basic block may optionally start with a label (giving the basic block a symbol table entry), contains a list of instructions,