diff options
author | Robert Bocchino <bocchino@illinois.edu> | 2006-01-10 19:31:34 +0000 |
---|---|---|
committer | Robert Bocchino <bocchino@illinois.edu> | 2006-01-10 19:31:34 +0000 |
commit | 9fbe14586d01caccd5a10862fcdd40a472214edc (patch) | |
tree | 2ba79bf3c28d8f9d82df9f54d5b3271838e17f9e /docs/LangRef.html | |
parent | 29418a862c4bfd338fb116d446765d0dc87509d7 (diff) | |
download | external_llvm-9fbe14586d01caccd5a10862fcdd40a472214edc.zip external_llvm-9fbe14586d01caccd5a10862fcdd40a472214edc.tar.gz external_llvm-9fbe14586d01caccd5a10862fcdd40a472214edc.tar.bz2 |
Expanded the documentation for constant expressions to cover select
and extractelement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 2a1d3a1..cefac99 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1086,6 +1086,16 @@ following is the syntax for constant expressions:</p> instruction, the index list may have zero or more indexes, which are required to make sense for the type of "CSTPTR".</dd> + <dt><b><tt>select ( COND, VAL1, VAL2 )</tt></b></dt> + + <dd>Perform the <a href="#i_select">select operation</a> on + constants. + + <dt><b><tt>extractelement ( VAL, IDX )</tt></b></dt> + + <dd>Perform the <a href="#i_extractelement">extractelement + operation</a> on constants. + <dt><b><tt>OPCODE ( LHS, RHS )</tt></b></dt> <dd>Perform the specified operation of the LHS and RHS constants. OPCODE may |