HomeSort by: relevance | last modified time | path
    Searched refs:Current (Results 1 - 25 of 149) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
CodeExpander.cpp 22 StringRef Current = Code;
24 while (!Current.empty()) {
25 size_t Pos = Current.find_first_of("$\n\\");
27 OS << Current;
28 Current = "";
32 OS << Current.substr(0, Pos);
33 Current = Current.substr(Pos);
35 if (Current.startswith("\n")) {
37 Current = Current.drop_front(1)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
CurrentSourceLocExprScope.h 10 // This file defines types used to track the current context needed to evaluate
23 /// Represents the current source location and context used to determine the
31 /// A RAII style scope guard used for tracking the current source
52 CurrentSourceLocExprScope &Current)
53 : Current(Current), OldVal(Current), Enable(false) {
55 if ((Enable = (Current.getDefaultExpr() == nullptr)))
56 Current = CurrentSourceLocExprScope(DefaultExpr);
61 Current = OldVal
    [all...]
AttrIterator.h 37 /// Current - The current, underlying iterator.
44 mutable Iterator Current;
47 while (!isa<SpecificAttr>(*Current))
48 ++Current;
52 while (Current != I && !isa<SpecificAttr>(*Current))
53 ++Current;
64 explicit specific_attr_iterator(Iterator i) : Current(i) {}
68 return cast<SpecificAttr>(*Current);
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/
SourceMgr.h 31 unsigned Current;
37 : Sequence(S), Current(0), Iterations(Iter ? Iter : DefaultIterations) {}
41 bool hasNext() const { return Current < (Iterations * Sequence.size()); }
42 void updateNext() { ++Current; }
46 return SourceRef(Current, *Sequence[Current % Sequence.size()]);
  /src/external/gpl2/dtc/dist/
srcpos.h 30 * current directory (the directory of the last source file read) and after
70 #define YYLLOC_DEFAULT(Current, Rhs, N) \
73 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
74 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
75 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
76 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
77 (Current).file = YYRHSLOC(Rhs, N).file; \
79 (Current).first_line = (Current).last_line = \
81 (Current).first_column = (Current).last_column =
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
ManagedStringPool.h 32 SmallVectorImpl<std::string *>::iterator Current = Pool.begin();
33 while (Current != Pool.end()) {
34 delete *Current;
35 ++Current;
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
InterpState.cpp 26 : Parent(Parent), M(M), P(P), Stk(Stk), Ctx(Ctx), Current(nullptr),
30 while (Current) {
31 InterpFrame *Next = Current->Caller;
32 delete Current;
33 Current = Next;
44 if (Current && Current->Caller) {
45 return Current;
Interp.cpp 38 assert(S.Current->getFrameOffset() == S.Stk.size() && "Invalid frame");
40 S.Current->popArgs();
42 if (InterpFrame *Caller = S.Current->Caller) {
43 PC = S.Current->getRetPC();
44 delete S.Current;
45 S.Current = Caller;
48 delete S.Current;
49 S.Current = nullptr;
59 assert(S.Current->getFrameOffset() == S.Stk.size() && "Invalid frame");
61 S.Current->popArgs()
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
inferior-noarg.exp 26 gdb_test "inferior" "\[Current inferior is 1 \[<null>\] (.*)\]" "inferior not running"
32 gdb_test "inferior" {\[Current inferior is 1 \[.*\] (.*)\]} "inferior running"
35 gdb_test "inferior" "\[Current inferior is 2 \[<null>\] (.*)\]" "show new inferior"
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
inferior-noarg.exp 26 gdb_test "inferior" "\[Current inferior is 1 \[<null>\] (.*)\]" "inferior not running"
32 gdb_test "inferior" {\[Current inferior is 1 \[.*\] (.*)\]} "inferior running"
35 gdb_test "inferior" "\[Current inferior is 2 \[<null>\] (.*)\]" "show new inferior"
  /src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/
RetireControlUnit.cpp 59 const RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx];
61 const Instruction *Inst = Current.IR.getInstruction();
64 return Current;
68 const RetireControlUnit::RUToken &Current = getCurrentToken();
69 unsigned NextSlotIdx = CurrentInstructionSlotIdx + std::max(1U, Current.NumSlots);
78 RetireControlUnit::RUToken &Current = Queue[CurrentInstructionSlotIdx];
79 Current.IR.getInstruction()->retire();
82 CurrentInstructionSlotIdx += std::max(1U, Current.NumSlots);
84 AvailableEntries += Current.NumSlots;
85 Current = { InstRef(), 0U, false }
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Format/
ContinuationIndenter.cpp 80 // Maintains a stack level corresponding to the current End token.
119 // Returns \c true if \c Current starts a new parameter.
120 static bool startsNextParameter(const FormatToken &Current,
122 const FormatToken &Previous = *Current.Previous;
123 if (Current.is(TT_CtorInitializerComma) &&
126 if (Style.Language == FormatStyle::LK_Proto && Current.is(TT_SelectorName))
128 return Previous.is(tok::comma) && !Current.isTrailingComment() &&
278 const FormatToken &Current = *State.NextToken;
279 const FormatToken &Previous = *Current.Previous;
280 assert(&Previous == Current.Previous)
    [all...]
TokenAnnotator.h 54 FormatToken *Current = First;
59 Current->Next = I->Tok;
60 I->Tok->Previous = Current;
61 Current = Current->Next;
62 Current->Children.clear();
65 Current->Children.push_back(Children.back());
68 Last = Current;
76 FormatToken *Current = First;
77 while (Current) {
    [all...]
SortJavaScriptImports.cpp 211 FormatToken *Current;
218 void skipComments() { Current = skipComments(Current); }
227 Current = Current->Next;
229 if (!Current || Current == LineEnd->Next) {
230 // Set the current token to an invalid token, so that further parsing on
233 Current = &invalidToken;
357 Current = Line->First
    [all...]
MacroExpander.cpp 53 Current = Tokens[0];
59 if (!Current->is(tok::identifier))
61 Def.Name = Current->TokenText;
63 if (Current->is(tok::l_paren)) {
76 assert(Current->is(tok::l_paren));
78 while (Current->is(tok::identifier)) {
79 Def.Params.push_back(Current);
82 if (Current->isNot(tok::comma))
86 if (Current->isNot(tok::r_paren))
93 if (!Current->isOneOf(tok::equal, tok::eof)
    [all...]
TokenAnnotator.cpp 786 void updateParameterCount(FormatToken *Left, FormatToken *Current) {
790 if (Current->is(tok::l_brace) && Current->is(BK_Block))
792 if (Current->is(tok::comma)) {
796 Left->Role->CommaFound(Current);
797 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) {
1435 void modifyContext(const FormatToken &Current) {
1436 if (Current.getPrecedence() == prec::Assignment &&
1444 (!Current.Previous || Current.Previous->isNot(tok::kw_operator)))
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
cvdisasm.c 82 ACPI_COMMENT_NODE *Current = CommentList;
86 while (Current)
88 Previous = Current;
89 if (Current->Comment)
92 AcpiOsPrintf("%s\n", Current->Comment);
93 Current->Comment = NULL;
96 Current = Current->Next;
404 ACPI_FILE_NODE *Current;
424 Current = FNode
    [all...]
cvcompiler.c 55 * PARAMETERS: CurrentState Current comment parse state
57 * c1 Current input
183 * PARAMETERS: CurrentState Current comment parse state
287 ACPI_COMMENT_NODE *Current = NULL;
311 Current = Op->Asl.CommentList;
312 while (Current)
314 CommentLength = strlen (Current->Comment)+3;
316 CvDbgPrint (" Comment string: %s\n\n", Current->Comment);
318 Current = Current->Next
    [all...]
aslfiles.c 147 ASL_GLOBAL_FILE_NODE *Current = AslGbl_FilesList;
150 while (Current)
152 if (!strcmp (Filename, Current->Files[ASL_FILE_INPUT].Filename))
157 Current = Current->Next;
172 * DESCRIPTION: Set the current line number
180 ASL_GLOBAL_FILE_NODE *Current = AslGbl_FilesList;
181 char *PrevFilename = Current->Files[ASL_FILE_INPUT].Filename;
184 while (Current)
186 if (!strcmp(Current->Files[ASL_FILE_INPUT].Filename, InputFilename)
    [all...]
cvparser.c 170 /* Set the root file to the current open file */
267 ACPI_COMMENT_ADDR_NODE *Current = AcpiGbl_CommentAddrListHead;
288 if (!Current)
298 while (Current)
300 if (Current->Addr != Address)
302 Current = Current->Next;
315 Current = AcpiGbl_CommentAddrListHead;
320 AcpiGbl_CommentAddrListHead->Next = Current;
344 ACPI_FILE_NODE *Current = Head
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmswitch.c 88 ACPI_PARSE_OBJECT_LIST *Current;
111 Current = AcpiGbl_TempListHead;
114 AcpiGbl_TempListHead->Next = Current;
136 Previous = Current = AcpiGbl_TempListHead;
137 while (Current)
141 if (!strncmp(Temp, (char *) (&Current->Op->Named.Name), 4))
145 Current->Op->Common.DisasmFlags |= ACPI_PARSEOP_IGNORE;
149 if (Current == AcpiGbl_TempListHead)
151 AcpiGbl_TempListHead = Current->Next;
155 Previous->Next = Current->Next
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
YAMLParser.cpp 291 return StringRef(Current, End - Current);
396 /// Consume a single b-break[28] if it's present at the current position.
398 /// Return false if the code unit at the current position isn't a line break.
408 /// Invalid simple keys are not on the current line or are further than 1024
425 /// Skip a single-line comment when the comment starts at the current
510 /// The current position of the scanner.
511 StringRef::iterator Current;
516 /// Current YAML indentation level in spaces.
519 /// Current column number in Unicode code points
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
MsgPackReader.cpp 23 : InputBuffer(InputBuffer), Current(InputBuffer.getBufferStart()),
29 if (Current == End)
32 uint8_t FB = static_cast<uint8_t>(*Current++);
76 Obj.Float = BitsToFloat(endian::read<uint32_t, Endianness>(Current));
77 Current += sizeof(float);
85 Obj.Float = BitsToDouble(endian::read<uint64_t, Endianness>(Current));
86 Current += sizeof(double);
186 T Size = endian::read<T, Endianness>(Current);
187 Current += sizeof(T);
196 Obj.Int = static_cast<int64_t>(endian::read<T, Endianness>(Current));
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InsertPrefetch.cpp 192 auto Current = MI;
195 int Offset = X86II::getMemoryOperandNo(Current->getDesc().TSFlags);
198 unsigned Bias = X86II::getOperandBias(Current->getDesc());
201 if (!IsMemOpCompatibleWithPrefetch(*Current, MemOpOffset))
204 if (!findPrefetchInfo(Samples, *Current, Prefetches))
214 MF.CreateMachineInstr(Desc, Current->getDebugLoc(), true);
225 MIB.addReg(Current->getOperand(MemOpOffset + X86::AddrBaseReg).getReg())
227 Current->getOperand(MemOpOffset + X86::AddrScaleAmt).getImm())
229 Current->getOperand(MemOpOffset + X86::AddrIndexReg).getReg())
230 .addImm(Current->getOperand(MemOpOffset + X86::AddrDisp).getImm()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MCA/Stages/
RetireStage.cpp 33 const RetireControlUnit::RUToken &Current = RCU.getCurrentToken();
34 if (!Current.Executed)
36 notifyInstructionRetired(Current.IR);

Completed in 44 milliseconds

1 2 3 4 5 6