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
predicateIntPredicateInteger predicate for the comparison
lhsValueLeft hand side of the comparison
rhsValueRight 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
predicateRealPredicatepredicate for the comparison
lhsValueLeft hand side of the comparison
rhsValueRight 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
predicatePredicatepredicate for the comparison
lhsValueLeft hand side of the comparison
rhsValueRight hand side of the comparison
Returns
- Value
Comparison instruction