Home
last modified time | relevance | path

Searched refs:unionWith (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp629 ConstantRange ConstantRange::unionWith(const ConstantRange &CR, in unionWith() function in ConstantRange
638 return CR.unionWith(*this, Type); in unionWith()
706 if (Result == inverse().unionWith(CR.inverse()).inverse()) in exactIntersectWith()
714 ConstantRange Result = unionWith(CR); in exactUnionWith()
1168 return Res.intersectWith(unionWith(Other, Signed), Signed); in smax()
1196 return Res.intersectWith(unionWith(Other, Signed), Signed); in smin()
1277 PosRes = PosRes.unionWith( in sdiv()
1292 PosRes = PosRes.unionWith( in sdiv()
1297 PosRes = PosRes.unionWith( in sdiv()
1310 NegRes = NegRes.unionWith( in sdiv()
[all …]
H A DMetadata.cpp1091 ConstantRange Union = LastRange.unionWith(NewRange); in tryMergeRange()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp322 return OpRanges[0].unionWith(OpRanges[1]); in calcRange()
363 R = R.unionWith(SeenI->second); in validateAndTransform()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantRangeTest.cpp584 return CR1.unionWith(CR2, Type); in TEST_F()
595 EXPECT_EQ(Wrap.unionWith(One), in TEST_F()
597 EXPECT_EQ(One.unionWith(Wrap), Wrap.unionWith(One)); in TEST_F()
598 EXPECT_EQ(Empty.unionWith(Empty), Empty); in TEST_F()
599 EXPECT_EQ(Full.unionWith(Full), Full); in TEST_F()
600 EXPECT_EQ(Some.unionWith(Wrap), Full); in TEST_F()
603 EXPECT_EQ(ConstantRange(APInt(16, 14), APInt(16, 1)).unionWith( in TEST_F()
606 EXPECT_EQ(ConstantRange(APInt(16, 6), APInt(16, 4)).unionWith( in TEST_F()
609 EXPECT_EQ(ConstantRange(APInt(16, 1), APInt(16, 0)).unionWith( in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSparseBitVector.h172 bool unionWith(const SparseBitVectorElement &RHS) { in unionWith() function
576 changed |= Iter1->unionWith(*Iter2);
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryLocation.h144 LocationSize unionWith(LocationSize Other) const { in unionWith() function
H A DValueLattice.h445 ConstantRange NewR = getConstantRange().unionWith(RHS.getConstantRange());
H A DAliasSetTracker.h79 Size = isSizeSet() ? Size.unionWith(NewSize) : NewSize; in updateSizeAndAAInfo()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstantRange.h332 ConstantRange unionWith(const ConstantRange &CR,
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h2635 Assumed = Assumed.unionWith(R).intersectWith(Known);
2672 Known = Known.unionWith(R.getKnown());
2673 Assumed = Assumed.unionWith(R.getAssumed());
4424 void unionAssumed(const PotentialValuesState &PVS) { unionWith(PVS); }
4475 void unionWith(const PotentialValuesState &R) {
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp92 auto Result = L.unionWith(R); in unionNoWrap()
509 Insert.first->second = Insert.first->second.unionWith(Offsets); in analyzeAllUses()
H A DLazyValueInfo.cpp1412 EdgesVals = EdgesVals.unionWith(EdgeVal); in getEdgeValueLocal()
H A DScalarEvolution.cpp6646 RangeFromOps = RangeFromOps.unionWith(OpRange); in getRangeRef()
6756 SR = SR.unionWith(getRangeForAffineARHelper(StepSRange.getSignedMax(), in getRangeForAffineAR()
6817 ConstantRange RangeBetween = StartRange.unionWith(EndRange); in getRangeForAffineNoSelfWrappingAR()
6949 return TrueRange.unionWith(FalseRange); in getRangeViaFactoring()
H A DInstructionSimplify.cpp1648 if (!IsAnd && Range0.unionWith(Range1).isFullSet()) in simplifyAndOrOfICmpsWithConstants()
/llvm-project-15.0.7/mlir/lib/Rewrite/
H A DByteCode.cpp457 void unionWith(const ByteCodeLiveRange &rhs) { in unionWith() function
653 existingRange.unionWith(defRange); in allocateMemoryIndices()
677 newRange.unionWith(defRange); in allocateMemoryIndices()