Home
last modified time | relevance | path

Searched refs:CurrentIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutorImpl.h56 uint64_t CurrentIdx = 0; in executeMatchTable() local
69 dbgs() << CurrentIdx << ": Rejected\n"); in executeMatchTable()
72 CurrentIdx = OnFailResumeAt.pop_back_val(); in executeMatchTable()
74 dbgs() << CurrentIdx << ": Resume at " << CurrentIdx << " (" in executeMatchTable()
103 return fastDecodeULEB128(MatchTable, CurrentIdx); in executeMatchTable()
111 const auto readS8 = [&]() { return (int8_t)MatchTable[CurrentIdx++]; }; in executeMatchTable()
114 auto V = readBytesAs<uint16_t>(MatchTable + CurrentIdx); in executeMatchTable()
115 CurrentIdx += 2; in executeMatchTable()
120 auto V = readBytesAs<uint32_t>(MatchTable + CurrentIdx); in executeMatchTable()
121 CurrentIdx += 4; in executeMatchTable()
[all …]
H A DGIMatchTableExecutor.h724 uint64_t &CurrentIdx) { in fastDecodeULEB128() argument
725 uint64_t Value = MatchTable[CurrentIdx++]; in fastDecodeULEB128()
730 uint64_t Slice = MatchTable[CurrentIdx] & 0x7f; in fastDecodeULEB128()
733 } while (MatchTable[CurrentIdx++] >= 128); in fastDecodeULEB128()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp187 unsigned CurrentIdx, raw_ostream &OS);
421 unsigned CurrentIdx, in EmitMatcher() argument
428 unsigned StartIdx = CurrentIdx; in EmitMatcher()
434 ++CurrentIdx; in EmitMatcher()
437 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
446 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
453 CurrentIdx + VBRSize, OS); in EmitMatcher()
456 CurrentIdx += VBRSize + ChildSize; in EmitMatcher()
461 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
466 return CurrentIdx - StartIdx + 1; in EmitMatcher()
[all …]