/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | SyncAPI.cpp | 72 runCodeComplete(ClangdServer &Server, PathRef File, Position Pos, in runCodeComplete() 80 PathRef File, Position Pos, in runSignatureHelp() 88 runLocateSymbolAt(ClangdServer &Server, PathRef File, Position Pos) { in runLocateSymbolAt() 95 runFindDocumentHighlights(ClangdServer &Server, PathRef File, Position Pos) { in runFindDocumentHighlights() 102 Position Pos, llvm::StringRef NewName, in runRename() 110 runPrepareRename(ClangdServer &Server, PathRef File, Position Pos, in runPrepareRename() 148 const std::vector<Position> &Pos) { in runSemanticRanges()
|
/llvm-project/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 87 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt() 96 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort() 154 size_t Pos = Size - S.size() - (K != RAW); in finalizeStringTable() local
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ContainerModeling.cpp | 573 const auto *Pos = getIteratorPosition(State, Iter); in handleInsert() local 604 const auto *Pos = getIteratorPosition(State, Iter); in handleErase() local 668 const auto *Pos = getIteratorPosition(State, Iter); in handleEraseAfter() local 932 auto MatchCont = [&](const IteratorPosition &Pos) { in invalidateAllIteratorPositions() 935 auto Invalidate = [&](const IteratorPosition &Pos) { in invalidateAllIteratorPositions() 945 auto MatchContAndCompare = [&](const IteratorPosition &Pos) { in invalidateAllIteratorPositionsExcept() 949 auto Invalidate = [&](const IteratorPosition &Pos) { in invalidateAllIteratorPositionsExcept() 958 auto Compare = [&](const IteratorPosition &Pos) { in invalidateIteratorPositions() 961 auto Invalidate = [&](const IteratorPosition &Pos) { in invalidateIteratorPositions() 972 auto Compare = [&](const IteratorPosition &Pos) { in invalidateIteratorPositions() [all …]
|
H A D | IteratorModeling.cpp | 206 if (const auto *Pos = getIteratorPosition(State, Call.getArgSVal(0))) { in checkPostCall() local 226 if (const auto *Pos = getIteratorPosition(State, Call.getArgSVal(i))) { in checkPostCall() local 238 const auto *Pos = getIteratorPosition(State, Val); in checkBind() local 296 const auto *Pos = getIteratorPosition(State, C.getSVal(MTE->getSubExpr())); in checkPostStmt() local 307 for (const IteratorPosition &Pos : llvm::make_second_range(RegionMap)) { checkLiveSymbols() local 314 for (const IteratorPosition &Pos : llvm::make_second_range(SymbolMap)) { checkLiveSymbols() local 541 const auto *Pos = getIteratorPosition(State, Iter); handleIncrement() local 567 const auto *Pos = getIteratorPosition(State, Iter); handleDecrement() local 594 const auto *Pos = getIteratorPosition(State, Iterator); handleRandomIncrOrDecr() local 741 const auto Pos = Sym.second; printState() local 754 const auto Pos = Reg.second; printState() local [all...] |
H A D | IteratorRangeChecker.cpp | 198 const auto *Pos = getIteratorPosition(State, Val); in verifyDereference() local 283 const auto *Pos = getIteratorPosition(C.getState(), Val); in reportBug() local 304 bool isPastTheEnd(ProgramStateRef State, const IteratorPosition &Pos) { in isPastTheEnd() 320 bool isAheadOfRange(ProgramStateRef State, const IteratorPosition &Pos) { in isAheadOfRange() 336 bool isBehindPastTheEnd(ProgramStateRef State, const IteratorPosition &Pos) { in isBehindPastTheEnd()
|
/llvm-project/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 34 size_t Pos = (size_t)OS.tell(); printLine() local 52 size_t Pos = 0U; emitSourceFileHeader() local
|
/llvm-project/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 46 int Pos = 0; variable 49 Iterator(const AllocationOrder &AO, int Pos) : AO(AO), Pos(Pos) {} in Iterator()
|
H A D | RenameIndependentSubregs.cpp | 189 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in findComponents() local 223 SlotIndex Pos = LIS->getInstructionIndex(*MI); in rewriteOperands() local 291 subRangeLiveAt(const LiveInterval & LI,SlotIndex Pos) subRangeLiveAt() argument 362 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); computeMainRangesFixFlags() local 367 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()).getDeadSlot(); computeMainRangesFixFlags() local [all...] |
H A D | MLRegAllocEvictAdvisor.h | 32 size_t Pos = 0; member
|
/llvm-project/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 113 typename MapType::const_iterator Pos = Map.find(Key); in lookup() local 168 typename MapType::const_iterator Pos = Map.find(Key); in find() local 174 typename MapType::const_iterator Pos = Map.find(Key); in find() local 181 typename MapType::iterator Pos = Map.find(Vector.back().first); in pop_back() local
|
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIOWindows.cpp | 92 size_t Pos = Path.find_last_of("/\\"); in Basename() local 263 size_t Pos = Offset; in ParseFileName() local 273 size_t Pos = Offset; in ParseDir() local 289 size_t Pos = Offset, Res; in ParseServerAndShare() local 313 size_t Pos = 0, Res; in ParseLocation() local
|
/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | CodeExpander.cpp | 24 size_t Pos = Current.find_first_of("$\n\\"); in emit() local
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | ClangdServer.cpp | 416 codeComplete(PathRef File,Position Pos,const clangd::CodeCompleteOptions & Opts,Callback<CodeCompleteResult> CB) codeComplete() argument 480 signatureHelp(PathRef File,Position Pos,MarkupKind DocumentationFormat,Callback<SignatureHelp> CB) signatureHelp() argument 547 formatOnType(PathRef File,Position Pos,StringRef TriggerText,Callback<std::vector<TextEdit>> CB) formatOnType() argument 570 prepareRename(PathRef File,Position Pos,std::optional<std::string> NewName,const RenameOptions & RenameOpts,Callback<RenameResult> CB) prepareRename() argument 596 rename(PathRef File,Position Pos,llvm::StringRef NewName,const RenameOptions & Opts,Callback<RenameResult> CB) rename() argument 783 locateSymbolAt(PathRef File,Position Pos,Callback<std::vector<LocatedSymbol>> CB) locateSymbolAt() argument 816 findDocumentHighlights(PathRef File,Position Pos,Callback<std::vector<DocumentHighlight>> CB) findDocumentHighlights() argument 827 findHover(PathRef File,Position Pos,Callback<std::optional<HoverInfo>> CB) findHover() argument 841 typeHierarchy(PathRef File,Position Pos,int Resolve,TypeHierarchyDirection Direction,Callback<std::vector<TypeHierarchyItem>> CB) typeHierarchy() argument 882 prepareCallHierarchy(PathRef File,Position Pos,Callback<std::vector<CallHierarchyItem>> CB) prepareCallHierarchy() argument 956 findType(llvm::StringRef File,Position Pos,Callback<std::vector<LocatedSymbol>> CB) findType() argument 968 findImplementations(PathRef File,Position Pos,Callback<std::vector<LocatedSymbol>> CB) findImplementations() argument 979 findReferences(PathRef File,Position Pos,uint32_t Limit,bool AddContainer,Callback<ReferencesResult> CB) findReferences() argument 992 symbolInfo(PathRef File,Position Pos,Callback<std::vector<SymbolDetails>> CB) symbolInfo() argument 1012 for (const auto &Pos : Positions) { semanticRanges() local [all...] |
/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | Markup.cpp | 31 return Str.take_front(Pos - Str.begin()); in takeTo() argument 34 Str = Str.drop_front(Pos - Str.begin()); in advanceTo() argument
|
/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
H A D | PragmaCommentHandler.cpp | 25 size_t Pos = Text.find(IWYUPragma); in HandleComment() local
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | TypePromotionInMathFnCheck.cpp | 53 auto HasBuiltinTyParam = [](int Pos, BuiltinType::Kind Kind) { in registerMatchers() 56 auto HasBuiltinTyArg = [](int Pos, BuiltinType::Kind Kind) { in registerMatchers()
|
/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 72 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() argument 78 bool ArgList::hasFlagNoClaim(OptSpecifier Pos, OptSpecifier Neg, in hasFlagNoClaim() argument 85 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() argument 104 void ArgList::addOptInFlag(ArgStringList &Output, OptSpecifier Pos, in addOptInFlag() argument [all...] |
/llvm-project/clang/include/clang/Basic/ |
H A D | JsonSupport.h | 34 size_t Pos = 0; in JsonFormat() local
|
/llvm-project/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 73 StringRef::size_type Pos; in LayoutOverrideSource() local 90 StringRef::size_type Pos = LineStr.find(" Size:"); in LayoutOverrideSource() local
|
/llvm-project/llvm/lib/IR/ |
H A D | PassInstrumentation.cpp | 38 size_t Pos = PassID.find('<'); isSpecialPass() local
|
/llvm-project/llvm/lib/Support/ |
H A D | RISCVISAUtils.cpp | 49 size_t Pos = RISCVISAUtils::AllStdExts.find(Ext); in singleLetterExtensionRank() local
|
H A D | LineIterator.cpp | 58 const char *Pos = CurrentLine.end(); in advance() local
|
/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | Parsing.cpp | 64 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() 78 size_t Pos; member in __anon8ebdf0ce0111::ParseError 138 size_t Pos = S.OriginalInput.size() - S.Input.size(); in makeParseError() local
|
/llvm-project/clang-tools-extra/clang-tidy/readability/ |
H A D | IdentifierNamingCheck.cpp | 320 for (const auto &Pos : PosList) { in getDeclTypeName() local 342 for (size_t Pos = 0; in getDeclTypeName() local 350 const size_t Pos = Type.find('<'); in getDeclTypeName() local 356 for (size_t Pos = 0; (Pos = Type.find(" ", Pos)) != std::string::npos; getDeclTypeName() local 362 for (size_t Pos = 0; (Pos = Type.find(" &", Pos)) != std::string::npos; getDeclTypeName() local 368 for (size_t Pos = 0; (Pos = Type.find(" *", Pos)) != std::string::npos; getDeclTypeName() local 378 size_t Pos = Type.rfind(Kw.data()); getDeclTypeName() local 596 size_t Pos = ModifiedTypeName.find_last_of('&'); getDataTypePrefix() local 703 size_t Pos = TypeName.find('*'); getAsteriskCount() local [all...] |
/llvm-project/clang-tools-extra/clang-tidy/ |
H A D | NoLintDirectiveHandler.cpp | 83 NoLintToken(NoLintType Type, size_t Pos, in NoLintToken() 96 size_t Pos; member in clang::tidy::__anon3c781a620111::NoLintToken 116 size_t Pos = 0; in getNoLints() local 323 unsigned int Pos = 0; in diagHasNoLint() local
|