Home
last modified time | relevance | path

Searched refs:Primary (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DChainedDiagnosticConsumer.h25 DiagnosticConsumer *Primary; variable
29 ChainedDiagnosticConsumer(std::unique_ptr<DiagnosticConsumer> Primary, in ChainedDiagnosticConsumer() argument
31 : OwningPrimary(std::move(Primary)), Primary(OwningPrimary.get()), in ChainedDiagnosticConsumer()
35 ChainedDiagnosticConsumer(DiagnosticConsumer *Primary, in ChainedDiagnosticConsumer() argument
37 : Primary(Primary), Secondary(std::move(Secondary)) {} in ChainedDiagnosticConsumer()
41 Primary->BeginSourceFile(LO, PP); in BeginSourceFile()
47 Primary->EndSourceFile(); in EndSourceFile()
52 Primary->finish(); in finish()
56 return Primary->IncludeInDiagnosticCounts(); in IncludeInDiagnosticCounts()
64 Primary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dprimary_test.cpp120 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST()
122 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
127 if (!Primary::canAllocate(Size)) in SCUDO_TYPED_TEST()
163 Primary Allocator; in TEST()
165 typename Primary::CacheT Cache; in TEST()
198 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST()
200 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
234 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST()
284 std::unique_ptr<Primary> Allocator(new Primary); in SCUDO_TYPED_TEST()
286 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
[all …]
H A Dcombined_test.cpp286 while (Size < TypeParam::Primary::SizeClassMap::MaxSize * 4) { in SCUDO_TYPED_TEST()
303 scudo::uptr Size = TypeParam::Primary::SizeClassMap::MaxSize * 2; in SCUDO_TYPED_TEST()
327 TypeParam::Primary::SizeClassMap::MaxSize - 64; in SCUDO_TYPED_TEST()
354 rand() % (TypeParam::Primary::SizeClassMap::MaxSize / 2U), Origin)); in SCUDO_TYPED_TEST()
443 rand() % (TypeParam::Primary::SizeClassMap::MaxSize / 2U), Origin)); in SCUDO_TYPED_TEST()
520 typedef scudo::SizeClassAllocator64<DeathConfig> Primary; typedef
617 using SizeClassMap = typename TypeParam::Primary::SizeClassMap; in SCUDO_TYPED_TEST()
656 using SizeClassMap = typename TypeParam::Primary::SizeClassMap; in SCUDO_TYPED_TEST()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h27 Primary.Init(ReleaseToOSIntervalMs); in init()
35 return Cache->Allocate(&Primary, ClassId); in allocatePrimary()
45 Cache->Deallocate(&Primary, ClassId, Ptr); in deallocatePrimary()
57 Cache->Destroy(&Primary, &Stats); in destroyCache()
65 Primary.PrintStats(); in printStats()
70 PrimaryAllocator Primary;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclLookups.h76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() local
77 if (Primary->hasExternalVisibleStorage()) in lookups()
78 getParentASTContext().getExternalSource()->completeVisibleDeclsMap(Primary); in lookups()
79 if (StoredDeclsMap *Map = Primary->buildLookup()) in lookups()
90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups() local
92 Primary->loadLazyLocalLexicalLookups(); in noload_lookups()
93 if (StoredDeclsMap *Map = Primary->getLookupPtr()) in noload_lookups()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dallocator_config.h66 typedef SizeClassAllocator64<DefaultConfig> Primary; typedef
73 typedef SizeClassAllocator32<DefaultConfig> Primary; typedef
95 typedef SizeClassAllocator64<AndroidConfig> Primary; typedef
102 typedef SizeClassAllocator32<AndroidConfig> Primary; typedef
126 typedef SizeClassAllocator64<AndroidSvelteConfig> Primary; typedef
133 typedef SizeClassAllocator32<AndroidSvelteConfig> Primary; typedef
157 typedef SizeClassAllocator64<FuchsiaConfig> Primary; typedef
175 typedef SizeClassAllocator64<TrustyConfig> Primary; typedef
H A Dcombined.h48 using PrimaryT = typename Params::Primary;
164 Primary.Options.set(OptionBit::UseOddEvenTags); in init()
171 Primary.init(ReleaseToOsIntervalMs); in init()
224 Primary.unmapTestOnly(); in unmapTestOnly()
685 Primary.disable(); in disable()
692 Primary.enable(); in enable()
730 Primary.releaseToOS(); in releaseToOS()
774 Primary.iterateOverBlocks(Lambda); in iterateOverChunks()
902 return Primary.getRegionInfoArrayAddress(); in getRegionInfoArrayAddress()
992 PrimaryT Primary; variable
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLoopTraversal.cpp39 bool Primary = true; in traverse() local
44 MBBTraversalOrder.push_back(TraversedMBBInfo(ActiveMBB, Primary, Done)); in traverse()
50 if (Primary) in traverse()
58 Primary = false; in traverse()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dcxx2a-three-way-comparison.cpp15 struct Primary { struct
17 std::strong_ordering operator<=>(const Primary&) const = default;
34 struct Y : Primary, X {
/llvm-project-15.0.7/clang/lib/AST/
H A DASTDumper.cpp30 const DeclContext *Primary = DC->getPrimaryContext(); in dumpLookups() local
31 if (Primary != DC) { in dumpLookups()
33 NodeDumper.dumpPointer(cast<Decl>(Primary)); in dumpLookups()
36 bool HasUndeserializedLookups = Primary->hasExternalVisibleStorage(); in dumpLookups()
39 ? Primary->lookups() in dumpLookups()
40 : Primary->noload_lookups(/*PreserveInternalState=*/true); in dumpLookups()
H A DASTImporterLookupTable.cpp185 StringRef Primary = DC->getPrimaryContext() ? " primary" : ""; in dump() local
186 llvm::errs() << "== DC:" << cast<Decl>(DC) << Primary << "\n"; in dump()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DLoopTraversal.h97 TraversedMBBInfo(MachineBasicBlock *BB = nullptr, bool Primary = true,
99 : MBB(BB), PrimaryPass(Primary), IsDone(Done) {} in MBB()
/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-tls-hilo.s29 # CHECK-NOT: Primary GOT
33 # SO: Primary GOT {
H A Dmips-got-weak.s26 # NOSYM: Primary GOT:
34 # SYM: Primary GOT:
H A Dmips-64-got-overflow.s16 # SGOT: Primary GOT:
29 # MGOT: Primary GOT:
H A Dmips-call16.s27 # GOT: Primary GOT:
H A Dmips-tls.s53 # CHECK: Primary GOT {
89 # SO: Primary GOT {
H A Dmips-tls-64.s56 # CHECK: Primary GOT {
95 # SO: Primary GOT {
/llvm-project-15.0.7/clang/lib/Frontend/
H A DFrontendActions.cpp907 Module *Primary = nullptr; in ExecuteAction() local
913 Primary = M; in ExecuteAction()
920 if (Primary) { in ExecuteAction()
921 if (!Primary->submodules().empty()) in ExecuteAction()
923 for (auto MI : Primary->submodules()) { in ExecuteAction()
926 if (!Primary->Imports.empty()) in ExecuteAction()
928 for (auto IMP : Primary->Imports) { in ExecuteAction()
931 if (!Primary->Exports.empty()) in ExecuteAction()
933 for (unsigned MN = 0, N = Primary->Exports.size(); MN != N; ++MN) { in ExecuteAction()
934 if (Module *M = Primary->Exports[MN].getPointer()) { in ExecuteAction()
/llvm-project-15.0.7/llvm/docs/
H A DScudoHardenedAllocator.rst37 - the Primary allocator: fast and efficient, it services smaller allocation
39 are currently two Primary allocators implemented, specific to 32 and 64 bit
75 resides for Primary backed allocations, or 0 for Secondary backed allocations;
82 - the size (Primary) or unused bytes amount (Secondary) for that chunk, which is
110 blocks are allocated in the Primary, can randomize how caches are assigned to
115 Primary and Secondary allocators have different behaviors with regard to
117 it isn't the case for the Primary, which could lead to a steady growth of the
119 that are covered by contiguous free memory blocks in the Primary can be
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp374 void SymbolManager::addSymbolDependency(const SymbolRef Primary, in addSymbolDependency() argument
376 auto &dependencies = SymbolDependencies[Primary]; in addSymbolDependency()
384 const SymbolRef Primary) { in getDependentSymbols() argument
385 SymbolDependTy::const_iterator I = SymbolDependencies.find(Primary); in getDependentSymbols()
/llvm-project-15.0.7/clang/test/PCH/
H A Dchain-class-extension.m12 // Primary header
H A Dchain-categories.m12 // Primary header
H A Dchain-categories2.m12 // Primary header
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangOptionDocEmitter.cpp236 std::string getRSTStringWithTextFallback(const Record *R, StringRef Primary, in getRSTStringWithTextFallback() argument
238 for (auto Field : {Primary, Fallback}) { in getRSTStringWithTextFallback()
244 return Field == Primary ? Value.str() : escapeRST(Value); in getRSTStringWithTextFallback()

123