Description Usage Arguments Author(s) References
This function allows us to create an instruction that compares two integers. The usual comparisons such as less than, greater than, equal, not equal, are supported. And there is support for both unsigned and signed versions of all of these comparisons.
1 | createICmp(builder, op, lhs, rhs, id = character())
|
builder |
the IRBuilder that manages the creation of the instructions |
op |
the comparison operator. One of the elements of ICmpInst.Predicate or the corresponding global variables in the R package. |
lhs,rhs |
the value objects for the two operands |
id |
an optional name for the instruction. |
Duncan Temple Lang
LLVM Documentation http://llvm.org/docs/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.