ΒΆbool predicatesFoldable(CmpInst::Predicate P1,
CmpInst::Predicate P2)
bool predicatesFoldable(CmpInst::Predicate P1,
CmpInst::Predicate P2)
Description
Return true if both predicates match sign or if at least one of them is an equality comparison (which is signless).
Declared at: llvm/include/llvm/Analysis/CmpInstAnalysis.h:59
Parameters
- CmpInst::Predicate P1
- CmpInst::Predicate P2