| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | CodeExpander.cpp | 21 StringRef Current = Code; in emit() local 23 while (!Current.empty()) { in emit() 26 OS << Current; in emit() 27 Current = ""; in emit() 32 Current = Current.substr(Pos); in emit() 39 if (Current.starts_with("\\$") || Current.starts_with("\\\\")) { in emit() 40 OS << Current[1]; in emit() 41 Current = Current.drop_front(2); in emit() 50 Current = Current.drop_front(2); in emit() 52 std::tie(Var, Current) = Current.split("}"); in emit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | ContinuationIndenter.cpp | 440 (!Current.isTrailingComment() || Current.NewlinesBefore > 0) && in mustBreak() 539 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak() 1052 if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore) in addTokenOnNewLine() 1057 if (Current.is(tok::r_brace) && Current.MatchingParen && in addTokenOnNewLine() 1279 (Current.is(tok::r_brace) && Current.MatchingParen && in getNewLineColumn() 1293 if (Current.is(tok::identifier) && Current.Next && in getNewLineColumn() 1492 if (Current.is(TT_ConditionalExpr) && Current.Previous && in moveStateToNextToken() 1521 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken() 1789 if (Current.MatchingParen && Current.is(BK_Block)) { in moveStatePastScopeOpener() 1867 if (Current.is(TT_ObjCMethodExpr) && Current.MatchingParen && in moveStatePastScopeOpener() [all …]
|
| H A D | SortJavaScriptImports.cpp | 227 void skipComments() { Current = skipComments(Current); } in skipComments() 236 Current = Current->Next; in nextToken() 238 if (!Current || Current == LineEnd->Next) { in nextToken() 378 while (Current && Current->is(tok::comment)) { in parseModuleReferences() 394 Current = Current->Next; in parseModuleReferences() 403 if (!Current) { in parseModuleReferences() 456 Current->TokenText.substr(1, Current->TokenText.size() - 2); in parseModuleReference() 470 Current->TokenText.substr(1, Current->TokenText.size() - 2); in parseModuleReference() 493 if (Current->is(Keywords.kw_type) && Current->Next && in parseStarBinding() 513 if (Current->is(Keywords.kw_type) && Current->Next && in parseNamedBindings() [all …]
|
| H A D | TokenAnnotator.h | 67 FormatToken *Current = First; in AnnotatedLine() local 72 Current->Next = Node.Tok; in AnnotatedLine() 74 Current = Current->Next; in AnnotatedLine() 75 addChildren(Node, Current); in AnnotatedLine() 80 Last = Current; in AnnotatedLine() 85 Current->Children.clear(); in addChildren() 104 FormatToken *Current = First; in ~AnnotatedLine() local 105 while (Current) { in ~AnnotatedLine() 106 Current->Children.clear(); in ~AnnotatedLine() 107 Current->Role.reset(); in ~AnnotatedLine() [all …]
|
| H A D | MacroExpander.cpp | 52 Current = Tokens[0]; in DefinitionParser() 60 Def.Name = Current->TokenText; in parse() 62 if (Current->is(tok::l_paren)) { in parse() 78 Def.Params.push_back(Current); in parseParams() 81 if (Current->isNot(tok::comma)) in parseParams() 94 if (Current->is(tok::equal)) in parseExpansion() 102 Def.Body.push_back(Current); in parseTail() 105 Def.Body.push_back(Current); in parseTail() 111 Current = Tokens[Pos]; in nextToken() 112 Current->Finalized = true; in nextToken() [all …]
|
| H A D | TokenAnnotator.cpp | 1933 Current = Current->Next; in untilMatchingParen() 2109 if (Current.MatchingParen && Current.Next && in determineTokenType() 2822 while (Current && (!Current->closesScope() || Current->opensScope())) { in parse() 2959 while (Current && Current->isTrailingComment()) in parseConditionalExpr() 2963 if (!Current || Current->isNot(tok::question)) in parseConditionalExpr() 2976 Current = Current->Next; in next() 2980 Current = Current->Next; in next() 3106 while (Current && Current != FirstOfType) { in verilogGroupDecl() 3644 Current = Current->Next; in calculateFormattingInformation() 3649 for (Current = First; Current; Current = Current->Next) { in calculateFormattingInformation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/libunwind/src/ |
| H A D | FrameHeaderCache.hpp | 95 while (Current != nullptr) { in find() 98 Current->LowPC(), Current->HighPC()); in find() 103 Current->LowPC(), Current->HighPC()); in find() 114 Previous = Current; in find() 115 Current = Current->Next; in find() 126 Current = Unused; in add() 132 Previous = Current; in add() 133 Current = Current->Next; in add() 137 Current->LowPC(), Current->HighPC()); in add() 140 Current->Info = *UIS; in add() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | YAMLParser.cpp | 290 return StringRef(Current, End - Current); in currentInput() 1153 if (Current == End || *Current != '#') in skipComment() 1168 while (Current != End && (*Current == ' ' || *Current == '\t')) { in scanToNextToken() 1415 if (Current + 1 < End && *Current == '\'' && *(Current + 1) == '\'') { in scanFlowScalar() 1572 if (Current != End && (*Current == '>' || *Current == '|')) { in scanBlockStyleIndicator() 1581 if (Current != End && (*Current == '+' || *Current == '-')) { in scanBlockChompingIndicator() 1604 if (Current != End && (*Current >= '1' && *Current <= '9')) { in scanBlockIndentationIndicator() 1647 if (skip_nb_char(Current) != Current) { in findBlockScalarIndent() 1697 if (skip_nb_char(Current) == Current) in scanBlockScalarIndent() 1872 if (*Current == '-' && (isBlankOrBreak(Current + 1) || Current + 1 == End)) in fetchMoreTokens() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | DXContainer.cpp | 237 Current += sizeof(uint32_t); in parse() 275 Current += Size; in parse() 314 Current += StringTableSize; in parse() 350 Current += InputSize; in parse() 354 Current += OutputSize; in parse() 358 Current += PSize; in parse() 382 Current += NumBytes; in parse() 389 Current += NumBytes; in parse() 400 Current += NumBytes; in parse() 410 Current += NumBytes; in parse() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AttrIterator.h | 43 mutable Iterator Current; variable 46 while (!isa<SpecificAttr>(*Current)) in AdvanceToNext() 47 ++Current; in AdvanceToNext() 51 while (Current != I && !isa<SpecificAttr>(*Current)) in AdvanceToNext() 52 ++Current; in AdvanceToNext() 67 return cast<SpecificAttr>(*Current); 71 return cast<SpecificAttr>(*Current); 75 ++Current; 86 assert((Left.Current == nullptr) == (Right.Current == nullptr)); 87 if (Left.Current < Right.Current) [all …]
|
| H A D | CurrentSourceLocExprScope.h | 51 CurrentSourceLocExprScope &Current) in SourceLocExprScopeGuard() argument 52 : Current(Current), OldVal(Current), Enable(false) { in SourceLocExprScopeGuard() 54 if ((Enable = (Current.getDefaultExpr() == nullptr))) in SourceLocExprScopeGuard() 55 Current = CurrentSourceLocExprScope(DefaultExpr); in SourceLocExprScopeGuard() 60 Current = OldVal; in ~SourceLocExprScopeGuard() 67 CurrentSourceLocExprScope &Current; variable
|
| H A D | Redeclarable.h | 242 decl_type *Current = nullptr; variable 254 explicit redecl_iterator(decl_type *C) : Current(C), Starter(C) {} in redecl_iterator() 256 reference operator*() const { return Current; } 257 pointer operator->() const { return Current; } 260 assert(Current && "Advancing while iterator has reached end"); 263 if (Current->isFirstDecl()) { 266 Current = nullptr; 273 decl_type *Next = Current->getNextRedeclaration(); 274 Current = (Next != Starter) ? Next : nullptr; 285 return x.Current == y.Current; [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/common/ |
| H A D | dmswitch.c | 196 ACPI_PARSE_OBJECT_LIST *Current; in AcpiDmProcessSwitch() local 245 while (Current) in AcpiDmProcessSwitch() 266 Current->Op = NULL; in AcpiDmProcessSwitch() 267 Current->Next = NULL; in AcpiDmProcessSwitch() 268 ACPI_FREE (Current); in AcpiDmProcessSwitch() 273 Previous = Current; in AcpiDmProcessSwitch() 274 Current = Current->Next; in AcpiDmProcessSwitch() 314 Current = AcpiGbl_TempListHead; in AcpiDmClearTempList() 316 Current->Op = NULL; in AcpiDmClearTempList() 317 Current->Next = NULL; in AcpiDmClearTempList() [all …]
|
| /freebsd-14.2/sys/contrib/dev/acpica/compiler/ |
| H A D | cvcompiler.c | 420 while (Current) in CvCalculateCommentLengths() 426 Current = Current->Next; in CvCalculateCommentLengths() 433 while (Current) in CvCalculateCommentLengths() 439 Current = Current->Next; in CvCalculateCommentLengths() 534 Current = Op->Asl.CommentList; in CgWriteAmlDefBlockComment() 537 while (Current) in CgWriteAmlDefBlockComment() 541 Current = Current->Next; in CgWriteAmlDefBlockComment() 668 while (Current) in CgWriteAmlComment() 671 Current = Current->Next; in CgWriteAmlComment() 678 while (Current) in CgWriteAmlComment() [all …]
|
| H A D | cvdisasm.c | 194 while (Current) in CvPrintOneCommentList() 196 Previous = Current; in CvPrintOneCommentList() 197 if (Current->Comment) in CvPrintOneCommentList() 201 Current->Comment = NULL; in CvPrintOneCommentList() 204 Current = Current->Next; in CvPrintOneCommentList() 512 ACPI_FILE_NODE *Current; in CvSwitchFiles() local 532 Current = FNode; in CvSwitchFiles() 539 while (Current && in CvSwitchFiles() 540 Current->Parent && in CvSwitchFiles() 543 CvPrintInclude (Current, Level); in CvSwitchFiles() [all …]
|
| H A D | aslfiles.c | 258 while (Current) in FlInputFileExists() 265 Current = Current->Next; in FlInputFileExists() 292 while (Current) in FlSwitchFileSet() 296 AslGbl_Files = Current->Files; in FlSwitchFileSet() 298 AslGbl_TableId = Current->TableId; in FlSwitchFileSet() 310 Current = Current->Next; in FlSwitchFileSet() 347 while (Current) in FlGetFileHandle() 354 Current = Current->Next; in FlGetFileHandle() 387 while (Current) in FlGetFileNode() 391 return (Current); in FlGetFileNode() [all …]
|
| H A D | cvparser.c | 396 if (!Current) in CvCommentExists() 406 while (Current) in CvCommentExists() 408 if (Current->Addr != Address) in CvCommentExists() 410 Current = Current->Next; in CvCommentExists() 460 while (Current) in CvFilenameExists() 464 return (Current); in CvFilenameExists() 467 Current = Current->Next; in CvFilenameExists() 496 while (Current) in CvFileAddressLookup() 500 !Current->FileEnd)) in CvFileAddressLookup() 502 return (Current); in CvFileAddressLookup() [all …]
|
| H A D | aslerror.c | 1142 while (Current) in AslCheckExpectedExceptions() 1144 LocationNode = Current->LocationList; in AslCheckExpectedExceptions() 1159 Current = Current->Next; in AslCheckExpectedExceptions() 1247 while (Current && Current->MessageId != MessageId ) in AslLogExpectedExceptionByLine() 1249 Current = Current->Next; in AslLogExpectedExceptionByLine() 1251 if (!Current) in AslLogExpectedExceptionByLine() 1259 Current->MessageId = MessageId; in AslLogExpectedExceptionByLine() 1260 AslGbl_ExpectedErrorCodeList = Current; in AslLogExpectedExceptionByLine() 1399 while (Current && Current->MessageId != EncodedMessageId) in AslIsExceptionExpected() 1401 Current = Current->Next; in AslIsExceptionExpected() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Interp.cpp | 61 const SourceInfo &Loc = S.Current->getSource(OpPC); in diagnoseNonConstVariable() 149 assert(S.Current); in cleanupAfterFunctionCall() 160 cast<CallExpr>(S.Current->Caller->getExpr(S.Current->getRetPC())); in cleanupAfterFunctionCall() 173 cast<CallExpr>(S.Current->Caller->getExpr(S.Current->getRetPC())); in cleanupAfterFunctionCall() 184 S.Current->popArgs(); in cleanupAfterFunctionCall() 209 const auto &Src = S.Current->getSource(OpPC); in CheckLive() 220 const auto &Src = S.Current->getSource(OpPC); in CheckLive() 465 S.FFDiag(S.Current->getSource(OpPC), in CheckCallDepth() 594 const InterpFrame *StartFrame = S.Current; in Interpret() 595 assert(!S.Current->isRoot()); in Interpret() [all …]
|
| H A D | InterpState.cpp | 20 : Parent(Parent), M(M), P(P), Stk(Stk), Ctx(Ctx), Current(nullptr) {} in InterpState() 23 while (Current) { in ~InterpState() 24 InterpFrame *Next = Current->Caller; in ~InterpState() 25 delete Current; in ~InterpState() 26 Current = Next; in ~InterpState() 37 if (Current && Current->Caller) in getCurrentFrame() 38 return Current; in getCurrentFrame()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | MsgPackReader.cpp | 30 if (Current == End) in read() 79 Current += sizeof(float); in read() 89 Current += sizeof(double); in read() 190 Current += sizeof(T); in readRaw() 200 Current += sizeof(T); in readInt() 210 Current += sizeof(T); in readUInt() 220 Current += sizeof(T); in readLength() 230 Current += sizeof(T); in readExt() 240 Current += Size; in createRaw() 245 if (Current == End) in createExt() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/ |
| H A D | RetireControlUnit.cpp | 59 const RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx]; in getCurrentToken() local 61 const Instruction *Inst = Current.IR.getInstruction(); in getCurrentToken() 64 return Current; in getCurrentToken() 68 const RetireControlUnit::RUToken &Current = getCurrentToken(); in computeNextSlotIdx() local 69 unsigned NextSlotIdx = CurrentInstructionSlotIdx + std::max(1U, Current.NumSlots); in computeNextSlotIdx() 78 RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx]; in consumeCurrentToken() local 79 Current.IR.getInstruction()->retire(); in consumeCurrentToken() 82 CurrentInstructionSlotIdx += std::max(1U, Current.NumSlots); in consumeCurrentToken() 84 AvailableEntries += Current.NumSlots; in consumeCurrentToken() 85 Current = { InstRef(), 0U, false }; in consumeCurrentToken()
|
| /freebsd-14.2/contrib/atf/atf-c/ |
| H A D | tc.c | 1071 pass(&Current); in atf_tc_run() 1105 PRE(Current.tc != NULL); in atf_tc_fail() 1117 PRE(Current.tc != NULL); in atf_tc_fail_nonfatal() 1129 PRE(Current.tc != NULL); in atf_tc_fail_check() 1142 PRE(Current.tc != NULL); in atf_tc_fail_requirement() 1152 PRE(Current.tc != NULL); in atf_tc_pass() 1154 _atf_tc_pass(&Current); in atf_tc_pass() 1160 PRE(Current.tc != NULL); in atf_tc_require_prog() 1170 PRE(Current.tc != NULL); in atf_tc_skip() 1181 PRE(Current.tc != NULL); in atf_tc_check_errno() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InsertPrefetch.cpp | 200 auto Current = MI; in runOnMachineFunction() local 203 int Offset = X86II::getMemoryOperandNo(Current->getDesc().TSFlags); in runOnMachineFunction() 206 unsigned Bias = X86II::getOperandBias(Current->getDesc()); in runOnMachineFunction() 209 if (!IsMemOpCompatibleWithPrefetch(*Current, MemOpOffset)) in runOnMachineFunction() 212 if (!findPrefetchInfo(Samples, *Current, Prefetches)) in runOnMachineFunction() 222 MF.CreateMachineInstr(Desc, Current->getDebugLoc(), true); in runOnMachineFunction() 235 Current->getOperand(MemOpOffset + X86::AddrScaleAmt).getImm()) in runOnMachineFunction() 240 .addReg(Current->getOperand(MemOpOffset + X86::AddrSegmentReg) in runOnMachineFunction() 243 if (!Current->memoperands_empty()) { in runOnMachineFunction() 244 MachineMemOperand *CurrentOp = *(Current->memoperands_begin()); in runOnMachineFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/ |
| H A D | SourceMgr.h | 61 unsigned Current; variable 67 : Sequence(S), Current(0U), Iterations(Iter ? Iter : DefaultIterations) {} in CircularSourceMgr() 73 return Current < (Iterations * Sequence.size()); in hasNext() 79 return SourceRef(Current, *Sequence[Current % Sequence.size()]); in peekNext() 82 void updateNext() override { ++Current; } in updateNext()
|