reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/ConstantFold.cpp
 2016       Result = ICmpInst::isTrueWhenEqual((ICmpInst::Predicate)pred);
 2021         Result = 1; break;
 2023         Result = 0; break;
 2029         Result = 1; break;
 2031         Result = 0; break;
 2037         Result = 1; break;
 2039         Result = 0; break;
 2045         Result = 1; break;
 2047         Result = 0; break;
 2051       if (pred == ICmpInst::ICMP_UGT) Result = 0;
 2052       if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1;
 2055       if (pred == ICmpInst::ICMP_SGT) Result = 0;
 2056       if (pred == ICmpInst::ICMP_SLT || pred == ICmpInst::ICMP_SLE) Result = 1;
 2059       if (pred == ICmpInst::ICMP_ULT) Result = 0;
 2060       if (pred == ICmpInst::ICMP_UGT || pred == ICmpInst::ICMP_UGE) Result = 1;
 2063       if (pred == ICmpInst::ICMP_SLT) Result = 0;
 2064       if (pred == ICmpInst::ICMP_SGT || pred == ICmpInst::ICMP_SGE) Result = 1;
 2067       if (pred == ICmpInst::ICMP_EQ) Result = 0;
 2068       if (pred == ICmpInst::ICMP_NE) Result = 1;
 2073     if (Result != -1)
 2074       return ConstantInt::get(ResultTy, Result);