Home
last modified time | relevance | path

Searched refs:Preamble (Results 1 – 25 of 199) sorted by relevance

12345678

/external/llvm-project/clang-tools-extra/clangd/
DParsedAST.cpp244 std::shared_ptr<const PreambleData> Preamble) { in build() argument
249 if (Preamble && Preamble->StatCache) in build()
250 VFS = Preamble->StatCache->getConsumingFS(std::move(VFS)); in build()
257 Preamble ? &Preamble->Preamble : nullptr; in build()
266 if (Preamble) { in build()
267 Patch = PreamblePatch::create(Filename, Inputs, *Preamble); in build()
360 if (Preamble) { in build()
361 for (const auto &Inc : Preamble->Includes.MainFileIncludes) in build()
375 if (Preamble) { in build()
376 Includes = Preamble->Includes; in build()
[all …]
DPreamble.h50 PreambleData(const ParseInputs &Inputs, PrecompiledPreamble Preamble,
59 PrecompiledPreamble Preamble; member
90 bool isPreambleCompatible(const PreambleData &Preamble,
102 static PreamblePatch unmodified(const PreambleData &Preamble);
DPreamble.cpp305 PrecompiledPreamble Preamble, in PreambleData() argument
311 Preamble(std::move(Preamble)), Diags(std::move(Diags)), in PreambleData()
372 bool isPreambleCompatible(const PreambleData &Preamble, in isPreambleCompatible() argument
380 Preamble.CompileCommand) && in isPreambleCompatible()
381 Preamble.Preamble.CanReuse(CI, ContentsBuffer.get(), Bounds, in isPreambleCompatible()
415 Baseline.Preamble.getContents().str(), Modified.CompileCommand); in create()
523 PreamblePatch PreamblePatch::unmodified(const PreambleData &Preamble) { in unmodified() argument
525 PP.PreambleIncludes = Preamble.Includes.MainFileIncludes; in unmodified()
526 PP.ModifiedBounds = Preamble.Preamble.getBounds(); in unmodified()
DParsedAST.h57 std::shared_ptr<const PreambleData> Preamble);
114 std::shared_ptr<const PreambleData> Preamble,
124 std::shared_ptr<const PreambleData> Preamble; variable
DCompiler.cpp98 const PrecompiledPreamble *Preamble, in prepareCompilerInstance() argument
109 if (Preamble) { in prepareCompilerInstance()
110 Preamble->OverridePreamble(*CI, VFS, Buffer.get()); in prepareCompilerInstance()
DTUScheduler.cpp402 std::shared_ptr<const PreambleData> Preamble,
767 std::shared_ptr<const PreambleData> Preamble, in updatePreamble() argument
772 auto Task = [this, Preamble = std::move(Preamble), CI = std::move(CI), in updatePreamble()
778 if (!LatestPreamble || Preamble != *LatestPreamble) { in updatePreamble()
787 std::swap(*LatestPreamble, Preamble); in updatePreamble()
789 LatestPreamble = std::move(Preamble); in updatePreamble()
795 Preamble.reset(); in updatePreamble()
937 if (auto Preamble = getPossiblyStalePreamble()) in stats() local
938 Result.UsedBytesPreamble = Preamble->Preamble.getSize(); in stats()
1350 std::shared_ptr<const PreambleData> Preamble = in runWithPreamble() local
[all …]
DCodeComplete.h298 const PreambleData *Preamble,
305 const PreambleData &Preamble,
DCodeComplete.cpp1055 const PreambleData &Preamble; member
1061 const PreambleData &Preamble) { in loadMainFilePreambleMacros() argument
1072 for (const auto &MacroName : Preamble.Macros.Names) in loadMainFilePreambleMacros()
1127 if (Input.Preamble.StatCache) in semaCodeComplete()
1128 VFS = Input.Preamble.StatCache->getConsumingFS(std::move(VFS)); in semaCodeComplete()
1130 std::move(CI), !CompletingInPreamble ? &Input.Preamble.Preamble : nullptr, in semaCodeComplete()
1147 loadMainFilePreambleMacros(Clang->getPreprocessor(), Input.Preamble); in semaCodeComplete()
1803 const PreambleData *Preamble, in codeComplete() argument
1813 FileName, Preamble ? Preamble->Includes : IncludeStructure(), in codeComplete()
1815 return (!Preamble || Opts.RunParser == CodeCompleteOptions::NeverParse) in codeComplete()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DBlockPrinter.cpp15 CurrentState = State::Preamble; in visit()
25 CurrentState = State::Preamble; in visit()
30 CurrentState = State::Preamble; in visit()
35 CurrentState = State::Preamble; in visit()
41 if (CurrentState == State::Preamble) in visit()
/external/llvm-project/llvm/lib/XRay/
DBlockPrinter.cpp15 CurrentState = State::Preamble; in visit()
25 CurrentState = State::Preamble; in visit()
30 CurrentState = State::Preamble; in visit()
35 CurrentState = State::Preamble; in visit()
41 if (CurrentState == State::Preamble) in visit()
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dfdr_log_writer_test.cpp46 MetadataRecord Preamble[] = { in TEST() local
52 ASSERT_THAT(Writer.writeMetadataRecords(Preamble), in TEST()
84 MetadataRecord Preamble[] = { in TEST() local
93 ASSERT_THAT(Writer.writeMetadataRecords(Preamble), in TEST()
108 ASSERT_THAT(Writer.writeMetadataRecords(Preamble), in TEST()
134 MetadataRecord Preamble[] = { in TEST() local
140 ASSERT_THAT(Writer.writeMetadataRecords(Preamble), in TEST()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp76 std::string Preamble; member in __anon085a35360111::RewriteModernObjC
2576 Preamble += "static __NSConstantStringImpl " + S; in RewriteObjCStringLiteral()
2577Preamble += " __attribute__ ((section (\"__DATA, __cfstring\"))) = {__CFConstantStringClassReferen… in RewriteObjCStringLiteral()
2578 Preamble += "0x000007c8,"; // utf8_str in RewriteObjCStringLiteral()
2583 Preamble += prettyBuf.str(); in RewriteObjCStringLiteral()
2584 Preamble += ","; in RewriteObjCStringLiteral()
2585 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral()
5085 Preamble += HF; in RewriteByRefVar()
5852 RewriteObjCProtocolMetaData(ProtDecl, Preamble); in HandleTranslationUnit()
5853 Write_ProtocolExprReferencedMetadata(Context, ProtDecl, Preamble); in HandleTranslationUnit()
[all …]
DRewriteObjC.cpp75 std::string Preamble; member in __anonb2913bb10111::RewriteObjC
2503 Preamble += "static __NSConstantStringImpl " + S; in RewriteObjCStringLiteral()
2504Preamble += " __attribute__ ((section (\"__DATA, __cfstring\"))) = {__CFConstantStringClassReferen… in RewriteObjCStringLiteral()
2505 Preamble += "0x000007c8,"; // utf8_str in RewriteObjCStringLiteral()
2510 Preamble += prettyBuf.str(); in RewriteObjCStringLiteral()
2511 Preamble += ","; in RewriteObjCStringLiteral()
2512 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral()
4925 RewriteObjCProtocolMetaData(ProtDecl, "", "", Preamble); in HandleTranslationUnit()
4927 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); in HandleTranslationUnit()
4958 Preamble = "#pragma once\n"; in Initialize()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp76 std::string Preamble; member in __anon16d2e4880111::RewriteModernObjC
2570 Preamble += "static __NSConstantStringImpl " + S; in RewriteObjCStringLiteral()
2571Preamble += " __attribute__ ((section (\"__DATA, __cfstring\"))) = {__CFConstantStringClassReferen… in RewriteObjCStringLiteral()
2572 Preamble += "0x000007c8,"; // utf8_str in RewriteObjCStringLiteral()
2577 Preamble += prettyBuf.str(); in RewriteObjCStringLiteral()
2578 Preamble += ","; in RewriteObjCStringLiteral()
2579 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral()
5085 Preamble += HF; in RewriteByRefVar()
5853 RewriteObjCProtocolMetaData(ProtDecl, Preamble); in HandleTranslationUnit()
5854 Write_ProtocolExprReferencedMetadata(Context, ProtDecl, Preamble); in HandleTranslationUnit()
[all …]
DRewriteObjC.cpp75 std::string Preamble; member in __anon88d555830111::RewriteObjC
2494 Preamble += "static __NSConstantStringImpl " + S; in RewriteObjCStringLiteral()
2495Preamble += " __attribute__ ((section (\"__DATA, __cfstring\"))) = {__CFConstantStringClassReferen… in RewriteObjCStringLiteral()
2496 Preamble += "0x000007c8,"; // utf8_str in RewriteObjCStringLiteral()
2501 Preamble += prettyBuf.str(); in RewriteObjCStringLiteral()
2502 Preamble += ","; in RewriteObjCStringLiteral()
2503 Preamble += utostr(Exp->getString()->getByteLength()) + "};\n"; in RewriteObjCStringLiteral()
4915 RewriteObjCProtocolMetaData(ProtDecl, "", "", Preamble); in HandleTranslationUnit()
4917 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); in HandleTranslationUnit()
4948 Preamble = "#pragma once\n"; in Initialize()
[all …]
/external/llvm-project/clang-tools-extra/clangd/tool/
DCheck.cpp81 std::shared_ptr<const PreambleData> Preamble; member in clang::clangd::__anond41ea6dd0111::Checker
157 Preamble = in buildAST()
167 if (!Preamble) { in buildAST()
171 ErrCount += showErrors(Preamble->Diags); in buildAST()
175 /*InvocationDiags=*/std::vector<Diag>{}, Preamble); in buildAST()
181 .drop_front(Preamble->Diags.size())); in buildAST()
/external/perfetto/src/perfetto_cmd/
Dpacket_writer.cc42 using Preamble = std::array<char, 16>; typedef
66 size_t GetPreamble(size_t sz, Preamble* preamble) { in GetPreamble()
94 Preamble preamble; in WritePacket()
200 Preamble packet_hdr; in WritePacket()
218 Preamble preamble; in FinalizeCompressedPacket()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DTUSchedulerTests.cpp189 [&](Expected<InputsAndPreamble> Preamble) { EXPECT_ERROR(Preamble); }); in TEST_F() argument
197 [&](Expected<InputsAndPreamble> Preamble) { in TEST_F() argument
198 EXPECT_TRUE(bool(Preamble)); in TEST_F()
206 [&](Expected<InputsAndPreamble> Preamble) { in TEST_F() argument
207 ASSERT_FALSE(bool(Preamble)); in TEST_F()
208 llvm::consumeError(Preamble.takeError()); in TEST_F()
508 &TotalPreambleReads](Expected<InputsAndPreamble> Preamble) { in TEST_F() argument
512 ASSERT_TRUE((bool)Preamble); in TEST_F()
513 EXPECT_EQ(Preamble->Contents, Inputs.Contents); in TEST_F()
644 [&](Expected<InputsAndPreamble> Preamble) { in TEST_F() argument
[all …]
/external/boringssl/src/util/
Ddoc.go44 Preamble []string member
52 Preamble []string member
357 header.Preamble = comment
397 section.Preamble = comment
598 {{range .Preamble}}<p>{{. | markupPipeWords}}</p>{{end}}
603 …{{if .Anchor}}<li class="header"><a href="#{{.Anchor}}">{{.Preamble | firstSentence | markupPipeWo…
614 {{if .Preamble}}
616 {{range .Preamble}}<p>{{. | markupPipeWords}}</p>{{end}}
647 headerDescriptions[header.Name] = firstSentence(header.Preamble)
/external/llvm-project/clang/test/CodeCompletion/
Dpch-and-module.m26 // ===--- Preamble
30 // ===--- Preamble + Modules
/external/clang/test/CodeCompletion/
Dpch-and-module.m26 // ===--- Preamble
30 // ===--- Preamble + Modules
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp1112 assert(Preamble && in Parse()
1114 Preamble->AddImplicitPreamble(*CCInvocation, VFS, OverrideMainBuffer.get()); in Parse()
1322 if (Preamble) { in getMainBufferWithPrecompiledPreamble()
1323 if (Preamble->CanReuse(PreambleInvocationIn, MainFileBuffer.get(), Bounds, in getMainBufferWithPrecompiledPreamble()
1337 Preamble.reset(); in getMainBufferWithPrecompiledPreamble()
1353 assert(!Preamble && "No Preamble should be stored at that point"); in getMainBufferWithPrecompiledPreamble()
1376 if (SkipFunctionBodies == SkipFunctionBodiesScope::Preamble) in getMainBufferWithPrecompiledPreamble()
1387 Preamble = std::move(*NewPreamble); in getMainBufferWithPrecompiledPreamble()
1407 assert(Preamble && "Preamble wasn't built"); in getMainBufferWithPrecompiledPreamble()
1431 assert(Preamble && "Should only be called when preamble was built"); in RealizeTopLevelDeclsFromPreamble()
[all …]
/external/llvm-project/llvm/test/tools/llvm-xray/X86/
Dfdr-dump-arg1.txt4 ; CHECK-NEXT: Preamble:
/external/clang/lib/Frontend/
DASTUnit.cpp1114 PreprocessorOpts.PrecompiledPreambleBytes.first = Preamble.size(); in Parse()
1356 Preamble.clear(); in getMainBufferWithPrecompiledPreamble()
1364 if (!Preamble.empty()) { in getMainBufferWithPrecompiledPreamble()
1369 if (Preamble.size() == NewPreamble.Size && in getMainBufferWithPrecompiledPreamble()
1371 memcmp(Preamble.getBufferStart(), NewPreamble.Buffer->getBufferStart(), in getMainBufferWithPrecompiledPreamble()
1462 Preamble.clear(); in getMainBufferWithPrecompiledPreamble()
1496 Preamble.assign(FileMgr->getFile(MainFilename), in getMainBufferWithPrecompiledPreamble()
1502 NewPreamble.Buffer->getBuffer().slice(0, Preamble.size()), MainFilename); in getMainBufferWithPrecompiledPreamble()
1534 Preamble.clear(); in getMainBufferWithPrecompiledPreamble()
1580 Preamble.clear(); in getMainBufferWithPrecompiledPreamble()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DBlockPrinter.h26 Preamble, enumerator

12345678