/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MasmParser.cpp | 1604 for (size_t Pos = 0; Pos < AltMacroStr.size(); Pos++) { 1605 if (AltMacroStr[Pos] == '!') 1606 Pos++; 1607 Res += AltMacroStr[Pos]; 2553 std::size_t End = Body.size(), Pos = 0; local 2554 for (; Pos != End; ++Pos) { 2558 if (Body[Pos] ! 5369 std::size_t End = Body.size(), Pos = 0; local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.h | 119 assert(Pos != Capacity); 120 return MVT::SimpleValueType(Pos); 124 Pos = End ? Capacity : find_from_pos(0); 128 assert(Pos != Capacity); 129 Pos = find_from_pos(Pos+1); 135 return Set == It.Set && Pos == It.Pos; 169 unsigned Pos; member in struct:llvm::MachineValueTypeSet::const_iterator
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 231 uint32_t Pos = 0, LastPos = 0; local 233 ++Pos; 235 LastPos = Pos; 1123 auto Pos = MemOPSizeRange.find(':'); local 1124 if (Pos != std::string::npos) { 1125 if (Pos > 0) 1126 MemOPSizeRange.substr(0, Pos).getAsInteger(10, RangeStart); 1127 if (Pos < MemOPSizeRange.size() - 1) 1128 MemOPSizeRange.substr(Pos + 1).getAsInteger(10, RangeLast);
|
H A D | InstrProfWriter.cpp | 39 uint64_t Pos; // Where to patch. member in struct:PatchItem 67 FDOStream.seek(P[K].Pos); 77 Data.replace(P[K].Pos + I * sizeof(uint64_t), sizeof(uint64_t),
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 527 auto Pos = SeenExprs.find(CandidateExpr); local 528 if (Pos == SeenExprs.end()) 531 auto &Candidates = Pos->second;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonBitSimplify.cpp | 1819 unsigned P = RC[I].RefI.Pos; // The RefI.Pos will be advanced by I-B. 1822 unsigned Pos = P - (I-B); 1832 if (Pos+16 > SC.width()) 1840 if (RV.RefI.Pos != i+Pos) 1844 if (RC[i+B] != SC[i+Pos]) 1849 switch (Pos) { 2218 unsigned Pos = B0.RefI.Pos; [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | raw_ostream.h | 392 uint64_t Pos = tell(); local 395 if (Pos) 396 assert(Size + Offset <= Pos && "We don't support extending the stream");
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Triple.cpp | 846 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { 847 if (Found[Pos]) 858 switch (Pos) { 890 if (Pos < Idx) { 896 // Insert the component being moved at Pos, displacing any existing 898 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) { 906 } else if (Pos > Idx) { 908 // reaches the target position Pos [all...] |
H A D | FileCheck.cpp | 1140 size_t Pos = local 1142 if (Pos == StringRef::npos) 1144 return Pos; 1296 StringRef Buffer, size_t Pos, size_t Len, 1299 SMLoc Start = SMLoc::getFromPointer(Buffer.data() + Pos); 1300 SMLoc End = SMLoc::getFromPointer(Buffer.data() + Pos + Len); 2144 size_t Pos = *MatchResult; local 2146 PrintMatch(false, SM, Prefix, Pat->getLoc(), *Pat, 1, Buffer, Pos, MatchLen, 2166 size_t Pos; member in struct:MatchRange 2220 Block->Pos 1293 ProcessMatchResult(FileCheckDiag::MatchType MatchTy, const SourceMgr &SM, SMLoc Loc, Check::FileCheckType CheckTy, StringRef Buffer, size_t Pos, size_t Len, std::vector<FileCheckDiag> *Diags, bool AdjustPrevDiag = false) argument [all...] |
H A D | Host.cpp | 326 size_t Pos = Lines[I].find(":"); local 327 if (Pos != StringRef::npos) { 328 Lines[I].drop_front(Pos + 1).split(CPUFeatures, ' '); 345 size_t Pos = Lines[I].find("machine = "); local 346 if (Pos != StringRef::npos) { 347 Pos += sizeof("machine = ") - 1; 349 if (!Lines[I].drop_front(Pos).getAsInteger(10, Id)) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveIntervals.h | 432 /// \p Pos that are part of any liverange of physical register \p Reg or one 434 void removePhysRegDefAt(unsigned Reg, SlotIndex Pos); 437 /// that start at position \p Pos. 438 void removeVRegDefAt(LiveInterval &LI, SlotIndex Pos);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | InnerPointerChecker.cpp | 300 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), 302 return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
|
H A D | ValistChecker.cpp | 398 PathDiagnosticLocation Pos(S, BRC.getSourceManager(), 400 return std::make_shared<PathDiagnosticEventPiece>(Pos, Msg, true);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyCFGStackify.cpp | 145 for (auto Pos = InsertPos, E = MBB->begin(); Pos != E; --Pos) 146 assert(!AfterSet.count(&*std::prev(Pos))); 169 for (auto Pos = InsertPos, E = MBB->end(); Pos != E; ++Pos) 170 assert(!BeforeSet.count(&*Pos));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 837 const char *Pos, 840 if (Pos == ThisTokBegin) 842 --Pos; 843 } else if (Pos == ThisTokEnd) 846 if (isDigitSeparator(*Pos)) { 847 Diags.Report(Lexer::AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin, SM, 836 checkSeparator(SourceLocation TokLoc, const char *Pos, CheckSeparatorKind IsAfterDigits) argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGSDNodes.cpp | 979 MachineBasicBlock::iterator Pos = MI; 980 MI->getParent()->insert(Pos, DbgMI); 999 MachineBasicBlock::iterator Pos = InsertBB->getFirstTerminator(); 1000 InsertBB->insert(Pos, DbgMIs.begin(), DbgMIs.end()); 1024 MachineBasicBlock::iterator Pos = MI; 1025 MI->getParent()->insert(Pos, DbgMI);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/Disassembler/ |
H A D | MipsDisassembler.cpp | 1071 unsigned Pos = 0; local 1075 Pos = Lsb; 1079 Pos = Lsb; 1083 Pos = Lsb + 32; 1099 MI.addOperand(MCOperand::createImm(Pos)); 1113 unsigned Pos = 0; local 1117 Pos = Lsb; 1118 Size = Msbd + 1 - Pos; 1121 Pos = Lsb; 1122 Size = Msbd + 33 - Pos; 2380 int Pos = Inst.getOperand(2).getImm(); local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 33 auto Pos = std::lower_bound(Begin, End, R); local 35 if (Pos != End) { 36 DWARFAddressRange Range(*Pos); 37 if (Pos->merge(R)) 40 if (Pos != Begin) { 41 auto Iter = Pos - 1; 47 Ranges.insert(Pos, R);
|
H A D | DWARFDebugLine.cpp | 562 LineTableConstIter Pos = LineTableMap.find(Offset); local 563 if (Pos != LineTableMap.end()) 564 return &Pos->second; 576 std::pair<LineTableIter, bool> Pos = 578 LineTable *LT = &Pos.first->second; 579 if (Pos.second) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclBase.cpp | 1543 StoredDeclsMap::iterator Pos = Map->find(ND->getDeclName()); local 1544 assert(Pos != Map->end() && "no lookup entry for decl"); 1546 StoredDeclsList::DeclsTy *Vec = Pos->second.getAsVector(); 1547 if ((Vec && is_contained(*Vec, ND)) || Pos->second.getAsDecl() == ND) 1548 Pos->second.remove(ND); 1782 StoredDeclsMap::iterator Pos = Map->find(Name); local 1783 if (Pos != Map->end()) { 1785 Pos->second.getLookupResult().begin(), 1786 Pos->second.getLookupResult().end());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 777 FullSourceLoc Pos = P.getLocation().asLocation(); local 779 if (!Pos.isValid()) 783 assert(&Pos.getManager() == &SM && "SourceManagers are different!"); 784 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos); 795 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData();
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsInstrInfo.cpp | 734 int64_t Pos = MOPos.getImm(); local 735 if (!((PosLow <= Pos) && (Pos < PosHigh))) { 751 if (!((BothLow < (Pos + Size)) && ((Pos + Size) <= BothHigh))) {
|
/freebsd-13-stable/sys/contrib/zlib/ |
H A D | deflate.c | 180 s->head[s->ins_h] = (Pos)(str)) 185 s->head[s->ins_h] = (Pos)(str)) 215 *p = (Pos)(m >= wsize ? m - wsize : NIL); 222 *p = (Pos)(m >= wsize ? m - wsize : NIL); 325 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 326 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 428 s->head[s->ins_h] = (Pos)str; 1132 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); 1133 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 1144 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos)); [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ |
H A D | ToolChain.cpp | 138 static const DriverSuffix *FindDriverSuffix(StringRef ProgName, size_t &Pos) { argument 161 Pos = ProgName.size() - Suffix.size(); 179 static const DriverSuffix *parseDriverSuffix(StringRef ProgName, size_t &Pos) { argument 187 const DriverSuffix *DS = FindDriverSuffix(ProgName, Pos); 193 DS = FindDriverSuffix(ProgName, Pos); 200 DS = FindDriverSuffix(ProgName, Pos);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | MicrosoftDemangle.cpp | 1123 int Pos = MaxPos - 1; // TempBuffer[MaxPos] is the terminating \0. local 1126 writeHexDigit(&TempBuffer[Pos--], C % 16); 1130 TempBuffer[Pos--] = 'x'; 1131 assert(Pos >= 0); 1132 TempBuffer[Pos--] = '\\'; 1133 OS << StringView(&TempBuffer[Pos + 1]);
|