/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | list.h | 40 T *back() { return Last; } in back() 41 const T *back() const { return Last; } in back() 44 First = Last = nullptr; in clear() 62 T *Last = nullptr; member 68 CHECK_EQ(Last, nullptr); in checkConsistency() 73 if (I == Last) in checkConsistency() 77 CHECK_EQ(Last->Next, nullptr); in checkConsistency() 83 using IntrusiveList<T>::Last; 92 Last->Next = X; in push_back() 93 Last = X; in push_back() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ilist_base.h | 41 static void removeRangeImpl(node_base_type &First, node_base_type &Last) { in removeRangeImpl() argument 43 node_base_type *Final = Last.getPrev(); in removeRangeImpl() 44 Last.setPrev(Prev); in removeRangeImpl() 45 Prev->setNext(&Last); in removeRangeImpl() 53 node_base_type &Last) { in transferBeforeImpl() argument 54 if (&Next == &Last || &First == &Last) in transferBeforeImpl() 62 node_base_type &Final = *Last.getPrev(); in transferBeforeImpl() 65 First.getPrev()->setNext(&Last); in transferBeforeImpl() 66 Last.setPrev(First.getPrev()); in transferBeforeImpl() 81 template <class T> static void removeRange(T &First, T &Last) { in removeRange() argument [all …]
|
H A D | simple_ilist.h | 172 void insert(iterator I, Iterator First, Iterator Last) { in cloneFrom() 173 for (; First != Last; ++First) in cloneFrom() 211 iterator erase(iterator First, iterator Last) { in eraseAndDispose() 212 list_base_type::removeRange(*First.getNodePtr(), *Last.getNodePtr()); in eraseAndDispose() 213 return Last; in eraseAndDispose() 227 iterator eraseAndDispose(iterator First, iterator Last, Disposer dispose) { 228 while (First != Last) in clear() 230 return Last; 254 void splice(iterator I, simple_ilist &, iterator First, iterator Last) { 256 *Last in merge() 164 insert(iterator I,Iterator First,Iterator Last) insert() argument 203 erase(iterator First,iterator Last) erase() argument 219 eraseAndDispose(iterator First,iterator Last,Disposer dispose) eraseAndDispose() argument 246 splice(iterator I,simple_ilist &,iterator First,iterator Last) splice() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwitchLoweringUtils.cpp | 24 unsigned First, unsigned Last) { in getJumpTableRange() argument 25 assert(Last >= First); in getJumpTableRange() 27 const APInt &HighCase = Clusters[Last].High->getValue(); in getJumpTableRange() 38 unsigned First, unsigned Last) { in getJumpTableNumCases() argument 39 assert(Last >= First); in getJumpTableNumCases() 40 assert(TotalCases[Last] >= TotalCases[First]); in getJumpTableNumCases() 42 TotalCases[Last] - (First == 0 ? 0 : TotalCases[First - 1]); in getJumpTableNumCases() 174 for (unsigned First = 0, Last; First < N; First = Last + 1) { in findJumpTables() local 175 Last = LastElement[First]; in findJumpTables() 176 assert(Last >= First); in findJumpTables() [all …]
|
H A D | InterferenceCache.cpp | 160 BI->First = BI->Last = SlotIndex(); in update() 223 if (!BI->Last.isValid() || StopI > BI->Last) in update() 224 BI->Last = StopI; in update() 240 if (!BI->Last.isValid() || StopI > BI->Last) in update() 241 BI->Last = StopI; in update() 247 SlotIndex Limit = BI->Last.isValid() ? BI->Last : Start; in update() 253 BI->Last = RegMaskSlots[i-1].getDeadSlot(); in update()
|
H A D | ReachingDefAnalysis.cpp | 368 auto Last = MBB->getLastNonDebugInstr(); in getLiveInUses() local 369 if (Last == MBB->end()) in getLiveInUses() 371 return isReachingDefLiveOut(&*Last, PhysReg); in getLiveInUses() 481 for (MachineInstr &Last : in isRegUsedAfter() 483 LiveRegs.stepBackward(Last); in isRegUsedAfter() 485 return InstIds.lookup(&Last) > InstIds.lookup(MI); in isRegUsedAfter() 493 auto Last = MBB->getLastNonDebugInstr(); in isRegDefinedAfter() local 494 if (Last != MBB->end() && in isRegDefinedAfter() 495 getReachingDef(MI, PhysReg) != getReachingDef(&*Last, PhysReg)) in isRegDefinedAfter() 512 auto Last = MBB->getLastNonDebugInstr(); in isReachingDefLiveOut() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | UnwrappedLineFormatter.cpp | 253 if (TheLine->Last->is(TT_LineComment)) in tryFitMultipleLinesInOne() 270 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne() 272 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne() 274 if (TheLine->Last->is(TT_FunctionLBrace) && in tryFitMultipleLinesInOne() 275 TheLine->First == TheLine->Last && in tryFitMultipleLinesInOne() 283 if (PreviousLine && TheLine->Last->is(tok::l_brace) && in tryFitMultipleLinesInOne() 284 TheLine->First == TheLine->Last) { in tryFitMultipleLinesInOne() 325 if (Style.isJavaScript() && TheLine->Last->is(TT_FunctionLBrace)) in tryFitMultipleLinesInOne() 374 I[J]->Last->TotalLength < Limit; in tryFitMultipleLinesInOne() 376 Limit -= I[J]->Last->TotalLength; in tryFitMultipleLinesInOne() [all …]
|
H A D | AffectedRangeManager.cpp | 36 FormatToken *Last = Line->Last; in computeAffectedLines() local 39 Last = (*PPEnd)->Last; in computeAffectedLines() 43 if (affectsTokenRange(*Line->First, *Last, in computeAffectedLines() 73 const FormatToken &Last, in affectsTokenRange() argument 78 SourceLocation End = Last.getStartOfNonWhitespace(); in affectsTokenRange() 79 End = End.getLocWithOffset(Last.TokenText.size()); in affectsTokenRange() 140 PreviousLine->Affected && PreviousLine->Last->is(tok::comment); in nonPPLineAffected()
|
H A D | TokenAnnotator.h | 81 Last = Current; in AnnotatedLine() 82 Last->Next = nullptr; in AnnotatedLine() 128 return Last && Last->endsSequence(Tokens...); in endsWith() 161 assert(Last); in getLastNonComment() 162 return Last->is(tok::comment) ? Last->getPreviousNonComment() : Last; in getLastNonComment() 166 FormatToken *Last; variable
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SyncScope.h | 57 Last = OpenCLSubGroup enumerator 134 Last = SubGroup enumerator 155 S <= static_cast<unsigned>(Last); in isValid() 159 static_assert(Last == SubGroup, "Does not include all synch scopes"); in getRuntimeValues() 183 Last = System enumerator 206 S <= static_cast<unsigned>(Last); in isValid() 210 static_assert(Last == System, "Does not include all synch scopes"); in getRuntimeValues() 233 Last = Single enumerator 255 return S <= static_cast<unsigned>(Last); in isValid() 259 static_assert(Last == Single, "Does not include all sync scopes"); in getRuntimeValues()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | API.cpp | 58 return (First == nullptr) == (Last == nullptr); in IsWellFormed() 65 Last->NextInContext = Other.First; in stealRecordChain() 69 Last = Other.Last; in stealRecordChain() 73 Other.Last = nullptr; in stealRecordChain() 80 Last = Record; in addToRecordChain() 84 Last->NextInContext = Record; in addToRecordChain() 85 Last = Record; in addToRecordChain()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | ExternalFunctions.cpp | 380 char Last = *FB++ = *FmtStr++; in lle_X_sprintf() local 382 while (Last != 'c' && Last != 'd' && Last != 'i' && Last != 'u' && in lle_X_sprintf() 383 Last != 'o' && Last != 'x' && Last != 'X' && Last != 'e' && in lle_X_sprintf() 384 Last != 'E' && Last != 'g' && Last != 'G' && Last != 'f' && in lle_X_sprintf() 385 Last != 'p' && Last != 's' && Last != '%') { in lle_X_sprintf() 386 if (Last == 'l' || Last == 'L') HowLong++; // Keep track of l's in lle_X_sprintf() 387 Last = *FB++ = *FmtStr++; in lle_X_sprintf() 391 switch (Last) { in lle_X_sprintf()
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_08.T.out | 30 Last: 3 35 Last: 3 40 Last: 3 45 Last: 3 50 Last: 3
|
/freebsd/tools/tools/locale/patch/ |
H A D | patch-UnicodeData.txt | 7 -4DBF;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;; 8 +4DB5;<CJK Ideograph Extension A, Last>;Lo;0;L;;;;;N;;;;; 16 -9FFC;<CJK Ideograph, Last>;Lo;0;L;;;;;N;;;;; 17 +9FEF;<CJK Ideograph, Last>;Lo;0;L;;;;;N;;;;; 25 -2A6DD;<CJK Ideograph Extension B, Last>;Lo;0;L;;;;;N;;;;; 26 +2A6D6;<CJK Ideograph Extension B, Last>;Lo;0;L;;;;;N;;;;; 28 2B734;<CJK Ideograph Extension C, Last>;Lo;0;L;;;;;N;;;;;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCFrameLowering.cpp | 78 unsigned Last = 0; in determineLastCalleeSave() local 82 if (Reg.getReg() > Last) in determineLastCalleeSave() 83 Last = Reg.getReg(); in determineLastCalleeSave() 85 return Last; in determineLastCalleeSave() 128 unsigned Last = determineLastCalleeSave(CSI); in emitPrologue() local 154 if (UseSaveRestoreFunclet && Last > ARC::R14) { in emitPrologue() 157 StackSlotsUsedByFunclet = Last - ARC::R12; in emitPrologue() 164 .addExternalSymbol(store_funclet_name[Last - ARC::R15]) in emitPrologue() 264 unsigned Last = determineLastCalleeSave(CSI); in emitEpilogue() local 267 if (UseSaveRestoreFunclet && Last > ARC::R14) { in emitEpilogue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | OptimizedStructLayout.cpp | 295 auto spliceFromQueue = [&](AlignmentQueue *Queue, Field *Last, Field *Cur) { in performOptimizedStructLayout() argument 296 assert(Last ? Queue->getNext(Last) == Cur : Queue->Head == Cur); in performOptimizedStructLayout() 300 if (Last) { in performOptimizedStructLayout() 301 Last->Scratch = Cur->Scratch; in performOptimizedStructLayout() 307 Queue->MinSize = Last->Size; in performOptimizedStructLayout() 330 auto addToLayout = [&](AlignmentQueue *Queue, Field *Last, Field *Cur, in performOptimizedStructLayout() 335 spliceFromQueue(Queue, Last, Cur); in performOptimizedStructLayout() 364 for (Field *Cur = Queue->Head, *Last = nullptr; true; in performOptimizedStructLayout() local 365 Last = Cur, Cur = Queue->getNext(Cur)) { in performOptimizedStructLayout() 368 return addToLayout(Queue, Last, Cur, StartOffset); in performOptimizedStructLayout()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 263 int calcInstrDist(const MachineInstr &First, const MachineInstr &Last); 283 bool isReplaceable(const MachineInstr &First, const MachineInstr &Last, 319 const MachineInstr &Last) { in calcInstrDist() argument 322 assert(Last.getParent() == First.getParent() && in calcInstrDist() 324 assert(InstrPos.contains(&First) && InstrPos.contains(&Last) && in calcInstrDist() 327 return InstrPos[&Last] - InstrPos[&First]; in calcInstrDist() 423 const MachineInstr &Last, in isReplaceable() argument 425 assert(isLEA(First) && isLEA(Last) && in isReplaceable() 433 MRI->getRegClass(Last.getOperand(0).getReg())) in isReplaceable() 437 AddrDispShift = getAddrDispShift(Last, 1, First, 1); in isReplaceable() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 535 Node *Last = nullptr; member 537 bool empty() const { return !Last; } in empty() 543 if (Last) { in push_back() 544 N.Next = Last->Next; in push_back() 545 Last->Next.setPointerAndInt(&N, false); in push_back() 547 Last = &N; in push_back() 554 if (Last) { in push_front() 555 N.Next.setPointerAndInt(Last->Next.getPointer(), false); in push_front() 556 Last->Next.setPointerAndInt(&N, true); in push_front() 558 Last = &N; in push_front() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | HashBuilder.h | 104 /// * `template <typename ItT> void addRange(ItT First, ItT Last)` 107 /// * `template <typename ItT> void addRangeElements(ItT First, ItT Last)` 328 HashBuilder &addRange(ForwardIteratorT First, ForwardIteratorT Last) { in addRangeElementsImpl() 329 add(std::distance(First, Last)); in addRangeElementsImpl() argument 330 return addRangeElements(First, Last); in addRangeElementsImpl() 338 HashBuilder &addRangeElements(ForwardIteratorT First, ForwardIteratorT Last) { 340 First, Last, in addRangeElementsImpl() argument 367 ForwardIteratorT Last, 369 for (auto It = First; It != Last; ++It) 378 addRangeElementsImpl(T *First, T *Last, st 289 addRange(ForwardIteratorT First,ForwardIteratorT Last) addRange() argument 300 addRangeElements(ForwardIteratorT First,ForwardIteratorT Last) addRangeElements() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNPreRALongBranchReg.cpp | 125 MachineBasicBlock::const_iterator Last = MBB.getLastNonDebugInstr(); in runOnMachineFunction() local 126 if (Last == MBB.end() || !Last->isUnconditionalBranch()) in runOnMachineFunction() 128 MachineBasicBlock *DestBB = TII->getBranchDestBlock(*Last); in runOnMachineFunction() 133 if (!TII->isBranchOffsetInRange(Last->getOpcode(), BlockDistance)) { in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | DependencyDirectivesScanner.cpp | 238 const char *Last = ++First; in skipRawString() local 239 while (Last != End && *Last != '(') in skipRawString() 240 ++Last; in skipRawString() 241 if (Last == End) { in skipRawString() 242 First = Last; // Hit the end... just give up. in skipRawString() 246 StringRef Terminator(First, Last - First); in skipRawString() 249 First = Last; in skipRawString() 257 Last = First; in skipRawString() 258 while (Last != End && size_t(Last - First) < Terminator.size() && in skipRawString() 259 Terminator[Last - First] == *Last) in skipRawString() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMWinCOFFStreamer.cpp | 95 void emitARMWinCFISaveFRegs(unsigned First, unsigned Last) override; 183 unsigned Last) { in emitARMWinCFISaveFRegs() argument 184 assert(First <= Last); in emitARMWinCFISaveFRegs() 185 assert(First >= 16 || Last < 16); in emitARMWinCFISaveFRegs() 186 assert(First <= 31 && Last <= 31); in emitARMWinCFISaveFRegs() 188 emitARMWinUnwindCode(Win64EH::UOP_SaveFRegD8D15, Last, 0); in emitARMWinCFISaveFRegs() 190 emitARMWinUnwindCode(Win64EH::UOP_SaveFRegD0D15, First, Last); in emitARMWinCFISaveFRegs() 192 emitARMWinUnwindCode(Win64EH::UOP_SaveFRegD16D31, First, Last); in emitARMWinCFISaveFRegs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 751 BasicBlock::iterator Last) { in spliceDebugInfoEmptyBlock() argument 771 assert(First == Last); in spliceDebugInfoEmptyBlock() 807 BasicBlock::iterator Last) { in spliceDebugInfo() argument 873 spliceDebugInfoImpl(Dest, Src, First, Last); in spliceDebugInfo() 882 DbgMarker *LastMarker = Src->createMarker(Last); in spliceDebugInfo() 889 BasicBlock::iterator Last) { in spliceDebugInfoImpl() argument 897 bool ReadFromTail = !Last.getTailBit(); in spliceDebugInfoImpl() 898 bool LastIsEnd = (Last == Src->end()); in spliceDebugInfoImpl() 975 if (ReadFromTail && Src->getMarker(Last)) { in spliceDebugInfoImpl() 976 DbgMarker *FromLast = Src->getMarker(Last); in spliceDebugInfoImpl() [all …]
|
H A D | DebugLoc.cpp | 114 DILocation *Last = InlinedAt; in appendInlinedAt() local 121 Last = cast<DILocation>(Found); in appendInlinedAt() 133 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt() 134 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt() 136 return Last; in appendInlinedAt()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastSizeChecker.cpp | 59 const FieldDecl *Last = nullptr; in evenFlexibleArraySize() local 61 Last = *Iter; in evenFlexibleArraySize() 62 assert(Last && "empty structs should already be handled"); in evenFlexibleArraySize() 64 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() 67 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
|