Home
last modified time | relevance | path

Searched refs:Current (Results 1 – 25 of 227) sorted by relevance

12345678910

/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DCodeExpander.cpp27 OS << Current; in emit()
28 Current = ""; in emit()
33 Current = Current.substr(Pos); in emit()
37 Current = Current.drop_front(1); in emit()
41 if (Current.startswith("\\$") || Current.startswith("\\\\")) { in emit()
42 OS << Current[1]; in emit()
43 Current = Current.drop_front(2); in emit()
48 Current = Current.drop_front(1); in emit()
54 Current = Current.drop_front(2); in emit()
56 std::tie(Var, Current) = Current.split("}"); in emit()
[all …]
/freebsd-13.1/contrib/llvm-project/libunwind/src/
H A DFrameHeaderCache.hpp95 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-13.1/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp337 if (Current.MustBreakBefore || Current.is(TT_InlineASMColon)) in mustBreak()
481 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
870 if (Current.is(TT_BinaryOperator) && Current.CanBreakBefore) in addTokenOnNewLine()
875 if (Current.is(tok::r_brace) && Current.MatchingParen && in addTokenOnNewLine()
1028 if (Current.is(tok::identifier) && Current.Next && in getNewLineColumn()
1193 if (Current.is(TT_ConditionalExpr) && Current.Previous && in moveStateToNextToken()
1213 if (!Current.opensScope() && !Current.closesScope() && in moveStateToNextToken()
1441 if (Current.MatchingParen && Current.is(BK_Block)) { in moveStatePastScopeOpener()
1513 if (Current.is(TT_ObjCMethodExpr) && Current.MatchingParen && in moveStatePastScopeOpener()
1584 (Current.is(tok::greater) && Current.is(TT_DictLiteral)))) in moveStatePastScopeCloser()
[all …]
H A DSortJavaScriptImports.cpp211 FormatToken *Current; member in clang::format::JavaScriptImportSorter
218 void skipComments() { Current = skipComments(Current); } in skipComments()
227 Current = Current->Next; in nextToken()
229 if (!Current || Current == LineEnd->Next) { in nextToken()
362 Current = Line->First; in parseModuleReferences()
366 while (Current && Current->is(tok::comment)) { in parseModuleReferences()
382 Current = Current->Next; in parseModuleReferences()
390 if (!Current) { in parseModuleReferences()
433 if (!Current || !Current->isOneOf(Keywords.kw_import, tok::kw_export)) in parseModuleReference()
442 Current->TokenText.substr(1, Current->TokenText.size() - 2); in parseModuleReference()
[all …]
H A DTokenAnnotator.cpp1564 Current = Current->Next; in untilMatchingParen()
1721 if (Current.MatchingParen && Current.Next && in determineTokenType()
1738 } else if (Current.is(tok::at) && Current.Next && in determineTokenType()
2164 if (Current && Current->is(TT_SelectorName) && in parse()
2186 while (Current && (!Current->closesScope() || Current->opensScope())) { in parse()
2295 if (!Current || !Current->is(tok::question)) in parseConditionalExpr()
2308 Current = Current->Next; in next()
2312 Current = Current->Next; in next()
2635 Current = Current->Next; in calculateFormattingInformation()
2640 for (Current = Line.First; Current != nullptr; Current = Current->Next) { in calculateFormattingInformation()
[all …]
H A DMacroExpander.cpp53 Current = Tokens[0]; in DefinitionParser()
61 Def.Name = Current->TokenText; in parse()
63 if (Current->is(tok::l_paren)) { in parse()
79 Def.Params.push_back(Current); in parseParams()
82 if (Current->isNot(tok::comma)) in parseParams()
95 if (Current->is(tok::equal)) in parseExpansion()
103 Def.Body.push_back(Current); in parseTail()
106 Def.Body.push_back(Current); in parseTail()
112 Current = Tokens[Pos]; in nextToken()
113 Current->Finalized = true; in nextToken()
[all …]
H A DTokenAnnotator.h55 FormatToken *Current = First; in AnnotatedLine() local
60 Current->Next = I->Tok; in AnnotatedLine()
61 I->Tok->Previous = Current; in AnnotatedLine()
62 Current = Current->Next; in AnnotatedLine()
63 Current->Children.clear(); in AnnotatedLine()
69 Last = Current; in AnnotatedLine()
77 FormatToken *Current = First; in ~AnnotatedLine() local
78 while (Current) { in ~AnnotatedLine()
79 Current->Children.clear(); in ~AnnotatedLine()
80 Current->Role.reset(); in ~AnnotatedLine()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp291 return StringRef(Current, End - Current); in currentInput()
1114 if (Current == End || *Current != '#') in skipComment()
1129 while (Current != End && (*Current == ' ' || *Current == '\t')) { in scanToNextToken()
1366 if (Current + 1 < End && *Current == '\'' && *(Current + 1) == '\'') { in scanFlowScalar()
1490 if ( *Current == '[' || *Current == ']' in scanAliasOrAnchor()
1491 || *Current == '{' || *Current == '}' in scanAliasOrAnchor()
1522 if (Current != End && (*Current == '+' || *Current == '-')) { in scanBlockChompingIndicator()
1545 if (Current != End && (*Current >= '1' && *Current <= '9')) { in scanBlockIndentationIndicator()
1588 if (skip_nb_char(Current) != Current) { in findBlockScalarIndent()
1604 if (skip_b_break(Current) != Current && in findBlockScalarIndent()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h44 mutable Iterator Current; variable
47 while (!isa<SpecificAttr>(*Current)) in AdvanceToNext()
48 ++Current; in AdvanceToNext()
52 while (Current != I && !isa<SpecificAttr>(*Current)) in AdvanceToNext()
53 ++Current; in AdvanceToNext()
68 return cast<SpecificAttr>(*Current);
72 return cast<SpecificAttr>(*Current);
76 ++Current;
87 assert((Left.Current == nullptr) == (Right.Current == nullptr));
88 if (Left.Current < Right.Current)
[all …]
H A DCurrentSourceLocExprScope.h52 CurrentSourceLocExprScope &Current) in SourceLocExprScopeGuard() argument
53 : Current(Current), OldVal(Current), Enable(false) { in SourceLocExprScopeGuard()
55 if ((Enable = (Current.getDefaultExpr() == nullptr))) in SourceLocExprScopeGuard()
56 Current = CurrentSourceLocExprScope(DefaultExpr); in SourceLocExprScopeGuard()
61 Current = OldVal; in ~SourceLocExprScopeGuard()
68 CurrentSourceLocExprScope &Current; variable
H A DRedeclarable.h242 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");
262 if (Current->isFirstDecl()) {
265 Current = nullptr;
272 decl_type *Next = Current->getNextRedeclaration();
273 Current = (Next != Starter) ? Next : nullptr;
284 return x.Current == y.Current;
[all …]
/freebsd-13.1/sys/contrib/dev/acpica/common/
H A Ddmswitch.c196 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-13.1/sys/contrib/dev/acpica/compiler/
H A Dcvcompiler.c420 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 Dcvdisasm.c194 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 Daslfiles.c258 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 Dcvparser.c396 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 Daslerror.c1142 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-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp40 S.Current->popArgs(); in Ret()
43 PC = S.Current->getRetPC(); in Ret()
44 delete S.Current; in Ret()
45 S.Current = Caller; in Ret()
48 delete S.Current; in Ret()
49 S.Current = nullptr; in Ret()
61 S.Current->popArgs(); in RetVoid()
65 delete S.Current; in RetVoid()
66 S.Current = Caller; in RetVoid()
68 delete S.Current; in RetVoid()
[all …]
H A DInterpState.cpp26 : Parent(Parent), M(M), P(P), Stk(Stk), Ctx(Ctx), Current(nullptr), in InterpState()
30 while (Current) { in ~InterpState()
31 InterpFrame *Next = Current->Caller; in ~InterpState()
32 delete Current; in ~InterpState()
33 Current = Next; in ~InterpState()
44 if (Current && Current->Caller) { in getCurrentFrame()
45 return Current; in getCurrentFrame()
/freebsd-13.1/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp30 if (Current == End) in read()
78 Current += sizeof(float); in read()
87 Current += sizeof(double); in read()
188 Current += sizeof(T); in readRaw()
198 Current += sizeof(T); in readInt()
208 Current += sizeof(T); in readUInt()
218 Current += sizeof(T); in readLength()
228 Current += sizeof(T); in readExt()
238 Current += Size; in createRaw()
243 if (Current == End) in createExt()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DRetireControlUnit.cpp59 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-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp192 auto Current = MI; in runOnMachineFunction() local
195 int Offset = X86II::getMemoryOperandNo(Current->getDesc().TSFlags); in runOnMachineFunction()
198 unsigned Bias = X86II::getOperandBias(Current->getDesc()); in runOnMachineFunction()
201 if (!IsMemOpCompatibleWithPrefetch(*Current, MemOpOffset)) in runOnMachineFunction()
204 if (!findPrefetchInfo(Samples, *Current, Prefetches)) in runOnMachineFunction()
214 MF.CreateMachineInstr(Desc, Current->getDebugLoc(), true); in runOnMachineFunction()
227 Current->getOperand(MemOpOffset + X86::AddrScaleAmt).getImm()) in runOnMachineFunction()
232 .addReg(Current->getOperand(MemOpOffset + X86::AddrSegmentReg) in runOnMachineFunction()
235 if (!Current->memoperands_empty()) { in runOnMachineFunction()
236 MachineMemOperand *CurrentOp = *(Current->memoperands_begin()); in runOnMachineFunction()
[all …]
/freebsd-13.1/contrib/atf/atf-c/
H A Dtc.c1077 pass(&Current); in atf_tc_run()
1111 PRE(Current.tc != NULL); in atf_tc_fail()
1123 PRE(Current.tc != NULL); in atf_tc_fail_nonfatal()
1135 PRE(Current.tc != NULL); in atf_tc_fail_check()
1148 PRE(Current.tc != NULL); in atf_tc_fail_requirement()
1158 PRE(Current.tc != NULL); in atf_tc_pass()
1160 _atf_tc_pass(&Current); in atf_tc_pass()
1166 PRE(Current.tc != NULL); in atf_tc_require_prog()
1176 PRE(Current.tc != NULL); in atf_tc_skip()
1187 PRE(Current.tc != NULL); in atf_tc_check_errno()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MCA/
H A DSourceMgr.h31 unsigned Current; variable
37 : Sequence(S), Current(0), Iterations(Iter ? Iter : DefaultIterations) {} in SourceMgr()
41 bool hasNext() const { return Current < (Iterations * Sequence.size()); } in hasNext()
42 void updateNext() { ++Current; } in updateNext()
46 return SourceRef(Current, *Sequence[Current % Sequence.size()]); in peekNext()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DStratifiedSets.h421 auto *Current = Start; in linksAt() local
422 while (Current->isRemapped()) in linksAt()
423 Current = &Links[Current->getRemapIndex()]; in linksAt()
429 Current = Start; in linksAt()
433 Current = Next; in linksAt()
436 return *Current; in linksAt()
519 auto *Current = Lower; in tryMergeUpwards() local
521 while (Current->hasAbove() && Current != Upper) { in tryMergeUpwards()
522 Found.push_back(Current); in tryMergeUpwards()
524 Current = &linksAt(Current->getAbove()); in tryMergeUpwards()
[all …]

12345678910