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

Declarations

include/llvm/IR/ConstantRange.h
  285   ConstantRange unionWith(const ConstantRange &CR,

References

include/llvm/Analysis/ValueLattice.h
  274     ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange());
lib/Analysis/InstructionSimplify.cpp
 1557   if (!IsAnd && Range0.unionWith(Range1).isFullSet())
lib/Analysis/LazyValueInfo.cpp
 1493         EdgesVals = EdgesVals.unionWith(EdgeVal);
lib/Analysis/ScalarEvolution.cpp
 5735           RangeFromOps = RangeFromOps.unionWith(OpRange);
 5838   SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(),
 5963   return TrueRange.unionWith(FalseRange);
lib/Analysis/StackSafetyAnalysis.cpp
   89   void updateRange(ConstantRange R) { Range = Range.unionWith(R); }
  473         US.Range = US.Range.unionWith(CalleeRange);
lib/IR/ConstantRange.cpp
  562     return CR.unionWith(*this, Type);
  744                          UpperDiv.trunc(DstTySize)).unionWith(Union);
  752                            UpperDiv.trunc(DstTySize)).unionWith(Union);
 1083         PosRes = PosRes.unionWith(
 1098         PosRes = PosRes.unionWith(
 1103       PosRes = PosRes.unionWith(
 1116     NegRes = NegRes.unionWith(
 1121   ConstantRange Res = NegRes.unionWith(PosRes, PreferredRangeType::Signed);
 1125     Res = Res.unionWith(ConstantRange(Zero));
 1510     CR = CR.unionWith(ConstantRange(Low->getValue(), High->getValue()));
lib/IR/Metadata.cpp
  956     ConstantRange Union = LastRange.unionWith(NewRange);
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  630     OperandRange = OperandRange.unionWith(
lib/Transforms/Scalar/Float2Int.cpp
  291         return Ops[0].unionWith(Ops[1]);
  369       R = R.unionWith(SeenI->second);
lib/Transforms/Scalar/GuardWidening.cpp
  562       auto SubsetIntersect = CR0.inverse().unionWith(CR1.inverse()).inverse();
unittests/IR/ConstantRangeTest.cpp
  571         return CR1.unionWith(CR2, Type);
  579   EXPECT_EQ(Wrap.unionWith(One),
  581   EXPECT_EQ(One.unionWith(Wrap), Wrap.unionWith(One));
  581   EXPECT_EQ(One.unionWith(Wrap), Wrap.unionWith(One));
  582   EXPECT_EQ(Empty.unionWith(Empty), Empty);
  583   EXPECT_EQ(Full.unionWith(Full), Full);
  584   EXPECT_EQ(Some.unionWith(Wrap), Full);
  587   EXPECT_EQ(ConstantRange(APInt(16, 14), APInt(16, 1)).unionWith(
  590   EXPECT_EQ(ConstantRange(APInt(16, 6), APInt(16, 4)).unionWith(
  593   EXPECT_EQ(ConstantRange(APInt(16, 1), APInt(16, 0)).unionWith(