Searched refs:Sources (Results 1 - 19 of 19) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp25 Sources.push_back(&s1);
26 Sources.push_back(&s2);
37 Sources.push_back(&source);
45 for(size_t i = 0; i < Sources.size(); ++i)
46 if (Decl *Result = Sources[i]->GetExternalDecl(ID))
52 for (size_t i = 0; i < Sources.size(); ++i)
53 Sources[i]->CompleteRedeclChain(D);
58 for(size_t i = 0; i < Sources.size(); ++i) {
59 Sel = Sources[i]->GetExternalSelector(ID);
68 for(size_t i = 0; i < Sources
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.cpp24 for (size_t i = 0; i < Sources.size(); ++i)
25 Sources[i]->PrintStats();
H A DASTUtils.h245 llvm::SmallVector<clang::ExternalSemaSource *, 2> Sources; member in class:lldb_private::SemaSourceWithPriorities
253 Sources.push_back(&high_quality_source);
254 Sources.push_back(&low_quality_source);
260 Sources.push_back(&source);
268 for (size_t i = 0; i < Sources.size(); ++i)
269 if (clang::Decl *Result = Sources[i]->GetExternalDecl(ID))
275 for (size_t i = 0; i < Sources.size(); ++i)
276 Sources[i]->CompleteRedeclChain(D);
281 for (size_t i = 0; i < Sources.size(); ++i) {
282 Sel = Sources[
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DSimpleFormatContext.h41 Sources(*Diagnostics, Files), Rewrite(Sources, Options) {
50 return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User);
65 SourceManager Sources; member in class:clang::index::SimpleFormatContext
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DDiagnostic.cpp24 const SourceManager &Sources,
28 FilePath = Sources.getFilename(Loc);
34 FileOffset = Sources.getFileOffset(Loc);
23 DiagnosticMessage(llvm::StringRef Message, const SourceManager &Sources, SourceLocation Loc) argument
H A DReplacement.cpp52 Replacement::Replacement(const SourceManager &Sources, SourceLocation Start, argument
54 setFromSourceLocation(Sources, Start, Length, ReplacementText);
57 Replacement::Replacement(const SourceManager &Sources, argument
61 setFromSourceRange(Sources, Range, ReplacementText, LangOpts);
120 void Replacement::setFromSourceLocation(const SourceManager &Sources, argument
124 Sources.getDecomposedLoc(Start);
125 const FileEntry *Entry = Sources.getFileEntryForID(DecomposedLocation.first);
134 static int getRangeSize(const SourceManager &Sources, argument
137 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin());
138 SourceLocation SpellingEnd = Sources
147 setFromSourceRange(const SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText, const LangOptions &LangOpts) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DReplacement.h99 Replacement(const SourceManager &Sources, SourceLocation Start,
103 Replacement(const SourceManager &Sources, const CharSourceRange &Range,
109 Replacement(const SourceManager &Sources, const Node &NodeToReplace,
133 void setFromSourceLocation(const SourceManager &Sources, SourceLocation Start,
135 void setFromSourceRange(const SourceManager &Sources,
359 Replacement::Replacement(const SourceManager &Sources, argument
364 setFromSourceRange(Sources, Range, ReplacementText, LangOpts);
H A DDiagnostic.h40 DiagnosticMessage(llvm::StringRef Message, const SourceManager &Sources,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTMerger.h116 llvm::ArrayRef<ImporterSource> Sources);
131 void AddSources(llvm::ArrayRef<ImporterSource> Sources);
140 void RemoveSources(llvm::ArrayRef<ImporterSource> Sources);
/freebsd-11-stable/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp166 SourceManager &Sources, FileManager &Files,
170 return Sources.createFileID(File ? *File : nullptr, SourceLocation(),
191 SourceManager Sources(Diagnostics, Files);
192 FileID ID = createInMemoryFile("<irrelevant>", Code, Sources, Files,
210 SourceLocation Start = Sources.translateLineCol(ID, FromLine, 1);
211 SourceLocation End = Sources.translateLineCol(ID, ToLine, UINT_MAX);
214 unsigned Offset = Sources.getFileOffset(Start);
215 unsigned Length = Sources.getFileOffset(End) - Offset;
234 Sources.getLocForStartOfFile(ID).getLocWithOffset(Offsets[i]);
245 End = Sources
165 createInMemoryFile(StringRef FileName, MemoryBuffer *Source, SourceManager &Sources, FileManager &Files, llvm::vfs::InMemoryFileSystem *MemFS) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp72 static Replacement replaceStmtWithText(SourceManager &Sources, const Stmt &From, argument
75 Sources, CharSourceRange::getTokenRange(From.getSourceRange()), Text);
77 static Replacement replaceStmtWithStmt(SourceManager &Sources, const Stmt &From, argument
80 Sources, From,
82 Sources, LangOptions()));
H A DRefactoring.cpp47 SourceManager Sources(Diagnostics, getFiles());
48 Rewriter Rewrite(Sources, DefaultLangOptions);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp398 llvm::ArrayRef<ImporterSource> Sources) : LogStream(&llvm::nulls()), Target(Target) {
401 AddSources(Sources);
412 void ExternalASTMerger::AddSources(llvm::ArrayRef<ImporterSource> Sources) {
413 for (const ImporterSource &S : Sources) {
422 void ExternalASTMerger::RemoveSources(llvm::ArrayRef<ImporterSource> Sources) {
424 for (const ImporterSource &S : Sources)
430 [&Sources](std::unique_ptr<ASTImporter> &Importer) -> bool {
431 for (const ImporterSource &S : Sources) {
441 for (const ImporterSource &S : Sources) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp111 SetVector<Value*> &Sources; member in class:__anon1834::IRPromoter
134 Sources(sources), Sinks(sinks), SafeWrap(wrap) {
502 for (auto V : Sources) {
524 if (Sources.count(V))
560 if ((!Promoted.count(V) && !NewInsts.count(V)) || Sources.count(V))
655 if (!isa<TruncInst>(V) || Sources.count(V))
694 if (!isa<TruncInst>(V) || Sources.count(V))
822 SetVector<Value*> Sources; local
873 Sources.insert(V);
907 if (Sources
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DMultiplexExternalSemaSource.h43 SmallVector<ExternalSemaSource *, 2> Sources; // doesn't own them. member in class:clang::MultiplexExternalSemaSource
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp64 PHISourcesT Sources; member in class:__anon2081::PHILinearize
83 SmallVector<unsigned, 4> &Sources);
141 return Info->Sources;
163 auto &Sources = phiInfoElementGetSources(Info);
165 for (auto SI : Sources) {
173 Sources.erase(Source);
202 SmallVector<unsigned, 4> &Sources) {
208 Sources.push_back(SI.first);
221 NewElement->Sources = EmptySet;
272 << " Sources
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp936 auto Sources = Session.getInjectedSources(); local
937 if (!Sources || !Sources->getChildCount()) {
942 while (auto IS = Sources->getNext()) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp6570 SmallVector<ShuffleSourceInfo, 2> Sources; local
6587 auto Source = find(Sources, SourceVec);
6588 if (Source == Sources.end())
6589 Source = Sources.insert(Sources.end(), ShuffleSourceInfo(SourceVec));
6597 if (Sources.size() > 2) {
6607 for (auto &Source : Sources) {
6621 for (auto &Src : Sources) {
6682 for (auto &Src : Sources) {
6694 : Sources)
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp7417 SmallVector<ShuffleSourceInfo, 2> Sources; local
7434 auto Source = llvm::find(Sources, SourceVec);
7435 if (Source == Sources.end())
7436 Source = Sources.insert(Sources.end(), ShuffleSourceInfo(SourceVec));
7446 if (Sources.size() > 2)
7452 for (auto &Source : Sources) {
7465 for (auto &Src : Sources) {
7526 for (auto &Src : Sources) {
7538 : Sources)
[all...]

Completed in 474 milliseconds