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

References

lib/IR/ConstantFold.cpp
 1789     ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()),
 1792     ResultTy = Type::getInt1Ty(C1->getContext());
 1796     return Constant::getNullValue(ResultTy);
 1799     return Constant::getAllOnesValue(ResultTy);
 1809       return UndefValue::get(ResultTy);
 1814       return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate));
 1818     return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate));
 1866     case ICmpInst::ICMP_EQ:  return ConstantInt::get(ResultTy, V1 == V2);
 1867     case ICmpInst::ICMP_NE:  return ConstantInt::get(ResultTy, V1 != V2);
 1868     case ICmpInst::ICMP_SLT: return ConstantInt::get(ResultTy, V1.slt(V2));
 1869     case ICmpInst::ICMP_SGT: return ConstantInt::get(ResultTy, V1.sgt(V2));
 1870     case ICmpInst::ICMP_SLE: return ConstantInt::get(ResultTy, V1.sle(V2));
 1871     case ICmpInst::ICMP_SGE: return ConstantInt::get(ResultTy, V1.sge(V2));
 1872     case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2));
 1873     case ICmpInst::ICMP_UGT: return ConstantInt::get(ResultTy, V1.ugt(V2));
 1874     case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2));
 1875     case ICmpInst::ICMP_UGE: return ConstantInt::get(ResultTy, V1.uge(V2));
 1883     case FCmpInst::FCMP_FALSE: return Constant::getNullValue(ResultTy);
 1884     case FCmpInst::FCMP_TRUE:  return Constant::getAllOnesValue(ResultTy);
 1886       return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered);
 1888       return ConstantInt::get(ResultTy, R!=APFloat::cmpUnordered);
 1890       return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
 1893       return ConstantInt::get(ResultTy, R==APFloat::cmpEqual);
 1895       return ConstantInt::get(ResultTy, R!=APFloat::cmpEqual);
 1897       return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan ||
 1900       return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
 1903       return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan);
 1905       return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
 1908       return ConstantInt::get(ResultTy, R==APFloat::cmpGreaterThan);
 1910       return ConstantInt::get(ResultTy, R!=APFloat::cmpGreaterThan);
 1912       return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan ||
 1915       return ConstantInt::get(ResultTy, R!=APFloat::cmpLessThan);
 1917       return ConstantInt::get(ResultTy, R==APFloat::cmpGreaterThan ||
 2003       return ConstantInt::get(ResultTy, Result);
 2074       return ConstantInt::get(ResultTy, Result);