Home
last modified time | relevance | path

Searched refs:Pivot (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DParallel.h137 auto Pivot = medianOf3(Start, End, Comp); in parallel_quick_sort() local
139 std::swap(*(End - 1), *Pivot); in parallel_quick_sort()
140 Pivot = std::partition(Start, End - 1, [&Comp, End](decltype(*Start) V) { in parallel_quick_sort()
144 std::swap(*Pivot, *(End - 1)); in parallel_quick_sort()
148 parallel_quick_sort(Start, Pivot, Comp, TG, Depth - 1); in parallel_quick_sort()
150 parallel_quick_sort(Pivot + 1, End, Comp, TG, Depth - 1); in parallel_quick_sort()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DStringTableBuilder.cpp103 int Pivot = charTailAt(Vec[0], Pos); in multikeySort() local
108 if (C > Pivot) in multikeySort()
110 else if (C < Pivot) in multikeySort()
121 if (Pivot != -1) { in multikeySort()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp257 CaseRange &Pivot = *(Begin + Mid); in SwitchConvert() local
258 LLVM_DEBUG(dbgs() << "Pivot ==> [" << Pivot.Low->getValue() << ", " in SwitchConvert()
259 << Pivot.High->getValue() << "]\n"); in SwitchConvert()
265 ConstantInt *NewLowerBound = Pivot.Low; in SwitchConvert()
291 ICmpInst *Comp = new ICmpInst(ICmpInst::ICMP_SLT, Val, Pivot.Low, "Pivot"); in SwitchConvert()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp186 DbgVariableValue decrementLocNosAfterPivot(unsigned Pivot) const { in decrementLocNosAfterPivot()
189 NewLocNos.push_back(LocNo != UndefLocNo && LocNo > Pivot ? LocNo - 1 in decrementLocNosAfterPivot()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11320 const ConstantInt *Pivot = PivotCluster->Low; in splitWorkItem() local
11332 (FirstLeft->High->getValue() + 1LL) == Pivot->getValue()) { in splitWorkItem()
11338 {LeftMBB, FirstLeft, LastLeft, W.GE, Pivot, W.DefaultProb / 2}); in splitWorkItem()
11354 {RightMBB, FirstRight, LastRight, Pivot, W.LT, W.DefaultProb / 2}); in splitWorkItem()
11360 CaseBlock CB(ISD::SETLT, Cond, Pivot, nullptr, LeftMBB, RightMBB, W.MBB, in splitWorkItem()