Home
last modified time | relevance | path

Searched refs:Active (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Support/
H A DSuffixTree.cpp21 Active.Node = Root; in SuffixTree()
103 if (Active.Len == 0) { in extend()
105 Active.Idx = EndIdx; in extend()
136 Active.Idx += SubstringLen; in extend()
137 Active.Len -= SubstringLen; in extend()
138 Active.Node = NextNode; in extend()
156 Active.Len++; in extend()
198 if (Active.Node->isRoot()) { in extend()
199 if (Active.Len > 0) { in extend()
200 Active.Len--; in extend()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp475 if (Active.Entity) in Clear()
477 {Active.Entity->getCanonicalDecl(), Active.Kind}); in Clear()
536 Active != ActiveEnd; in PrintInstantiationStack()
549 switch (Active->Kind) { in PrintInstantiationStack()
551 Decl *D = Active->Entity; in PrintInstantiationStack()
742 << cast<CXXRecordDecl>(Active->Entity) << Active->SpecialMember; in PrintInstantiationStack()
794 llvm::makeArrayRef(Active->CallArgs, Active->NumCallArgs)); in PrintInstantiationStack()
802 if (!Active->Entity) { in PrintInstantiationStack()
858 Active != ActiveEnd; in isSFINAEContext()
859 ++Active) in isSFINAEContext()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundQueue.cpp32 ++Stat.Active; in work()
49 if (Stat.Active == 1 && Queue.empty()) { in work()
59 assert(Stat.Active > 0 && "before decrementing"); in work()
60 --Stat.Active; in work()
139 [&] { return Queue.empty() && Stat.Active == 0; }); in blockUntilIdleForTest()
144 Stat.Enqueued, Stat.Active, Stat.LastIdle); in notifyProgress()
H A DBackground.h87 unsigned Active = 0; // Tasks being currently processed by a worker. member
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h48 bool Active; variable
56 Active = true;
58 Active = false;
63 State(Other.State), Active(Other.Active) { in SuppressAccessChecks()
64 Other.Active = false; in SuppressAccessChecks()
69 assert(Active && "trying to end an inactive suppression"); in done()
71 Active = false; in done()
75 assert(!Active && "redelaying without having ended first"); in redelay()
82 if (Active) done(); in ~SuppressAccessChecks()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DState.h304 ValueRAII(VTy &V, Ty NewValue, Ty OldValue, bool Active, IdentTy *Ident,
306 : Ptr(Active ? &V.lookup(/* IsReadonly */ false, Ident, ForceTeamState)
308 Val(OldValue), Active(Active) {
309 if (!Active)
316 if (Active) in ~ValueRAII()
323 bool Active; member
/llvm-project-15.0.7/clang/tools/diagtool/
H A DShowEnabledWarnings.cpp115 std::vector<PrettyDiag> Active; in run() local
132 Active.push_back(PrettyDiag(DR.getName(), WarningOpt, DiagLevel)); in run()
136 for (const PrettyDiag &PD : Active) { in run()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGLoopInfo.h290 bool hasInfo() const { return !Active.empty(); } in hasInfo()
293 const LoopInfo &getInfo() const { return *Active.back(); } in getInfo()
297 llvm::SmallVector<std::unique_ptr<LoopInfo>, 4> Active; variable
H A DCGLoopInfo.cpp588 Active.emplace_back( in push()
590 Active.empty() ? nullptr : Active.back().get())); in push()
805 assert(!Active.empty() && "No active loops to pop"); in pop()
806 Active.back()->finish(); in pop()
807 Active.pop_back(); in pop()
813 for (const auto &AL : Active) { in InsertHelper()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp590 auto Active = Regions.begin(); in combineRegions() local
593 if (Active->startLoc() != I->startLoc() || in combineRegions()
594 Active->endLoc() != I->endLoc()) { in combineRegions()
596 ++Active; in combineRegions()
597 if (Active != I) in combineRegions()
598 *Active = *I; in combineRegions()
613 if (I->Kind == Active->Kind) in combineRegions()
614 Active->ExecutionCount += I->ExecutionCount; in combineRegions()
616 return Regions.drop_back(std::distance(++Active, End)); in combineRegions()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp328 IntervalSet Active(lowestEndPoint); in apply() local
345 IntervalSet::iterator RetireItr = Active.begin(); in apply()
346 while (RetireItr != Active.end() && in apply()
355 Active.erase(Active.begin(), RetireItr); in apply()
365 for (const auto &A : Active) { in apply()
386 Active.insert(Cur); in apply()
H A DShadowStackGCLowering.cpp173 bool Active = false; in doInitialization() local
176 Active = true; in doInitialization()
180 if (!Active) in doInitialization()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreadPool.cpp352 unsigned Active = 0; in RunOnAllSockets() local
359 ++Active; in RunOnAllSockets()
372 [&]() { return Active == S.compute_thread_count(); }); in RunOnAllSockets()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.cpp286 bool Active = ActiveCachedFile == Entry.File; in load() local
287 auto Loaded = Entry.File->load(FS, Active); in load()
290 if (Active) { in load()
301 assert(Active && "CachedFile may not return 'same data' if !HasOldData"); in load()
308 log("{0} compilation database from {1}", Active ? "Reloaded" : "Loaded", in load()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DMapping.cpp205 __kmpc_impl_lanemask_t Active = mapping::activemask(); in isLeaderInWarp() local
207 return utils::popc(Active & LaneMaskLT) == 0; in isLeaderInWarp()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DBackgroundIndexTests.cpp860 EXPECT_THAT(New.Active, AnyOf(S.Active - 1, S.Active, S.Active + 1)); in TEST()
867 New.Completed == New.Enqueued && New.Active == 0u); in TEST()
892 EXPECT_EQ(S.Active, 0u); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSuffixTree.h188 ActiveState Active; variable
/llvm-project-15.0.7/clang/lib/AST/
H A DComputeDependence.cpp209 auto Active = E->getLHS()->getDependence(); in computeDependence() local
212 std::swap(Active, Inactive); in computeDependence()
215 return (Active & ExprDependence::TypeValue) | in computeDependence()
216 ((Cond | Active | Inactive) & ~ExprDependence::TypeValue); in computeDependence()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPMacroExpansion.cpp237 for (auto *Active : Info.ActiveModuleMacros) { in updateModuleMacroInfo() local
238 auto *NewMI = Active->getMacroInfo(); in updateModuleMacroInfo()
252 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
287 llvm::DenseSet<ModuleMacro*> Active; in dumpMacroInfo() local
289 Active.insert(MM); in dumpMacroInfo()
299 if (Active.count(MM)) in dumpMacroInfo()
/llvm-project-15.0.7/clang/docs/
H A DItaniumMangleAbiTags.rst49 Active tags
H A DMSVCCompatibility.rst117 libraries such as the Active Template Library (ATL) and Windows Runtime Library
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64A57FPLoadBalancing.cpp143 std::map<unsigned, Chain*> &Active,
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp2399 SmallPtrSet<Instruction *, 8> Active; in verifySiblingFuncletUnwinds() local
2404 Active.insert(PredPad); in verifySiblingFuncletUnwinds()
2408 if (Active.count(SuccPad)) { in verifySiblingFuncletUnwinds()
2431 Active.insert(PredPad); in verifySiblingFuncletUnwinds()
2435 Active.clear(); in verifySiblingFuncletUnwinds()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp96 Prefix.Active = true; in CreateFromInst()
103 Prefix.Active = true; in CreateFromInst()
115 Prefix.Active = true; in CreateFromInst()
131 bool isActive() const { return Active; } in isActive()
144 bool Active = false; member in __anone48315620111::AArch64AsmParser::PrefixInfo
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DGnu.cpp2627 bool Active; in ScanLibDirForGCCTriple() member
2644 if (!Suffix.Active) in ScanLibDirForGCCTriple()

12