Method Compare
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
Compare(IntPredicate, Value, Value)
Builds an Integer compare instruction
public Value Compare(IntPredicate predicate, Value lhs, Value rhs)
Parameters
predicate
IntPredicateInteger predicate for the comparison
lhs
ValueLeft hand side of the comparison
rhs
ValueRight hand side of the comparison
Returns
- Value
Comparison instruction
Compare(RealPredicate, Value, Value)
Builds a Floating point compare instruction
public Value Compare(RealPredicate predicate, Value lhs, Value rhs)
Parameters
predicate
RealPredicatepredicate for the comparison
lhs
ValueLeft hand side of the comparison
rhs
ValueRight hand side of the comparison
Returns
- Value
Comparison instruction
Compare(Predicate, Value, Value)
Builds a compare instruction
public Value Compare(Predicate predicate, Value lhs, Value rhs)
Parameters
predicate
Predicatepredicate for the comparison
lhs
ValueLeft hand side of the comparison
rhs
ValueRight hand side of the comparison
Returns
- Value
Comparison instruction