Home
last modified time | relevance | path

Searched refs:EndPoints (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/IR/
DMetadata.cpp922 static bool tryMergeRange(SmallVectorImpl<ConstantInt *> &EndPoints, in tryMergeRange() argument
925 unsigned Size = EndPoints.size(); in tryMergeRange()
926 APInt LB = EndPoints[Size - 2]->getValue(); in tryMergeRange()
927 APInt LE = EndPoints[Size - 1]->getValue(); in tryMergeRange()
932 EndPoints[Size - 2] = in tryMergeRange()
934 EndPoints[Size - 1] = in tryMergeRange()
941 static void addRange(SmallVectorImpl<ConstantInt *> &EndPoints, in addRange() argument
943 if (!EndPoints.empty()) in addRange()
944 if (tryMergeRange(EndPoints, Low, High)) in addRange()
947 EndPoints.push_back(Low); in addRange()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp950 static bool tryMergeRange(SmallVectorImpl<ConstantInt *> &EndPoints, in tryMergeRange() argument
953 unsigned Size = EndPoints.size(); in tryMergeRange()
954 APInt LB = EndPoints[Size - 2]->getValue(); in tryMergeRange()
955 APInt LE = EndPoints[Size - 1]->getValue(); in tryMergeRange()
960 EndPoints[Size - 2] = in tryMergeRange()
962 EndPoints[Size - 1] = in tryMergeRange()
969 static void addRange(SmallVectorImpl<ConstantInt *> &EndPoints, in addRange() argument
971 if (!EndPoints.empty()) in addRange()
972 if (tryMergeRange(EndPoints, Low, High)) in addRange()
975 EndPoints.push_back(Low); in addRange()
[all …]
/external/llvm-project/llvm/lib/IR/
DMetadata.cpp973 static bool tryMergeRange(SmallVectorImpl<ConstantInt *> &EndPoints, in tryMergeRange() argument
976 unsigned Size = EndPoints.size(); in tryMergeRange()
977 APInt LB = EndPoints[Size - 2]->getValue(); in tryMergeRange()
978 APInt LE = EndPoints[Size - 1]->getValue(); in tryMergeRange()
983 EndPoints[Size - 2] = in tryMergeRange()
985 EndPoints[Size - 1] = in tryMergeRange()
992 static void addRange(SmallVectorImpl<ConstantInt *> &EndPoints, in addRange() argument
994 if (!EndPoints.empty()) in addRange()
995 if (tryMergeRange(EndPoints, Low, High)) in addRange()
998 EndPoints.push_back(Low); in addRange()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterCoalescer.cpp1178 SmallVector<SlotIndex, 8> EndPoints; in removePartialRedundancy() local
1181 &EndPoints); in removePartialRedundancy()
1184 LIS->extendToIndices(IntB, EndPoints); in removePartialRedundancy()
1188 EndPoints.clear(); in removePartialRedundancy()
1191 LIS->pruneValue(SR, CopyIdx.getRegSlot(), &EndPoints); in removePartialRedundancy()
1199 for (unsigned I = 0; I != EndPoints.size(); ) { in removePartialRedundancy()
1200 if (SlotIndex::isSameInstr(EndPoints[I], CopyIdx)) { in removePartialRedundancy()
1201 EndPoints[I] = EndPoints.back(); in removePartialRedundancy()
1202 EndPoints.pop_back(); in removePartialRedundancy()
1207 LIS->extendToIndices(SR, EndPoints); in removePartialRedundancy()
[all …]
DLiveIntervals.cpp633 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue() argument
645 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
651 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
677 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
684 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
/external/llvm-project/llvm/lib/CodeGen/
DRegisterCoalescer.cpp1189 SmallVector<SlotIndex, 8> EndPoints; in removePartialRedundancy() local
1192 &EndPoints); in removePartialRedundancy()
1195 LIS->extendToIndices(IntB, EndPoints); in removePartialRedundancy()
1199 EndPoints.clear(); in removePartialRedundancy()
1202 LIS->pruneValue(SR, CopyIdx.getRegSlot(), &EndPoints); in removePartialRedundancy()
1210 for (unsigned I = 0; I != EndPoints.size(); ) { in removePartialRedundancy()
1211 if (SlotIndex::isSameInstr(EndPoints[I], CopyIdx)) { in removePartialRedundancy()
1212 EndPoints[I] = EndPoints.back(); in removePartialRedundancy()
1213 EndPoints.pop_back(); in removePartialRedundancy()
1221 LIS->extendToIndices(SR, EndPoints, Undefs); in removePartialRedundancy()
[all …]
DLiveIntervals.cpp640 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue() argument
652 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
658 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
684 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
691 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
/external/llvm/lib/CodeGen/
DRegisterCoalescer.cpp1884 void pruneValues(JoinVals &Other, SmallVectorImpl<SlotIndex> &EndPoints,
2393 SmallVectorImpl<SlotIndex> &EndPoints, in pruneValues() argument
2402 LIS->pruneValue(Other.LR, Def, &EndPoints); in pruneValues()
2426 EndPoints.push_back(Def); in pruneValues()
2439 LIS->pruneValue(LR, Def, &EndPoints); in pruneValues()
2574 SmallVector<SlotIndex, 8> EndPoints; in joinSubRegRanges() local
2575 LHSVals.pruneValues(RHSVals, EndPoints, false); in joinSubRegRanges()
2576 RHSVals.pruneValues(LHSVals, EndPoints, false); in joinSubRegRanges()
2589 if (EndPoints.empty()) in joinSubRegRanges()
2594 DEBUG(dbgs() << "\t\trestoring liveness to " << EndPoints.size() in joinSubRegRanges()
[all …]
DLiveIntervalAnalysis.cpp585 SmallVectorImpl<SlotIndex> *EndPoints) { in pruneValue() argument
597 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
603 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
631 if (EndPoints) EndPoints->push_back(LRQ.endPoint()); in pruneValue()
638 if (EndPoints) EndPoints->push_back(MBBEnd); in pruneValue()
/external/llvm/include/llvm/CodeGen/
DLiveIntervalAnalysis.h185 SmallVectorImpl<SlotIndex> *EndPoints);
/external/llvm-project/llvm/include/llvm/CodeGen/
DLiveIntervals.h199 SmallVectorImpl<SlotIndex> *EndPoints);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveIntervals.h199 SmallVectorImpl<SlotIndex> *EndPoints);