Home
last modified time | relevance | path

Searched refs:Scopes (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp70 SmallVector<GotoScope, 48> Scopes; member in __anonbdbbf5170111::JumpScopeChecker
131 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
134 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
239 ParentScope = Scopes.size()-1; in BuildScopeInformation()
869 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag); in NoteJumpIntoScopes()
884 if (Scopes[I].OutDiag) { in DiagnoseIndirectOrAsmJump()
886 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag); in DiagnoseIndirectOrAsmJump()
897 S.Diag(Scopes[I].Loc, Scopes[I].InDiag); in DiagnoseIndirectOrAsmJump()
960 else if (Scopes[I].InDiag) in CheckJump()
998 if (Scopes[I].OutDiag) { in VerifyMustTailStmts()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp95 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
119 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
150 scpI = info.Scopes.begin(), in ~AutoreleasePoolRewriter()
164 SmallVector<PoolScope, 4> Scopes; in VisitCompoundStmt() local
182 Scopes.back().Begin = I; in VisitCompoundStmt()
195 Scopes.back().PoolVar = VD; in VisitCompoundStmt()
197 Scopes.back().Begin = I; in VisitCompoundStmt()
203 if (Scopes.empty()) in VisitCompoundStmt()
207 PoolScope &scope = Scopes.back(); in VisitCompoundStmt()
210 Scopes.pop_back(); in VisitCompoundStmt()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp24 Scopes = {{~0U, nullptr}}; in Init()
38 Scopes.push_back({ParentScope, VD}); in BuildScopeInformation()
39 ParentScope = Scopes.size() - 1; in BuildScopeInformation()
158 assert(Scopes[To].first < To); in Detect()
159 const auto &ScopeTo = Scopes[To]; in Detect()
163 assert(Scopes[From].first < From); in Detect()
164 From = Scopes[From].first; in Detect()
H A DMacroPPCallbacks.cpp78 return Scopes.back(); in getCurrentScope()
131 Scopes.push_back(Gen->getCGDebugInfo()->CreateTempMacroFile(getCurrentScope(), in FileEntered()
155 Scopes.pop_back(); in FileExited()
H A DVarBypassDetector.h42 llvm::SmallVector<std::pair<unsigned, const VarDecl *>, 48> Scopes; variable
H A DMacroPPCallbacks.h52 llvm::SmallVector<llvm::DIMacroFile *, 4> Scopes; variable
H A DCGAtomic.cpp729 auto Scopes = ScopeModel->getRuntimeValues(); in EmitAtomicOp() local
731 for (auto S : Scopes) in EmitAtomicOp()
742 for (auto S : Scopes) { in EmitAtomicOp()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.h87 return llvm::make_range(Scopes.begin(), Scopes.end()); in scopes()
97 Scope &getScope(unsigned Idx) { return Scopes[Idx]; } in getScope()
123 Scopes = std::move(NewScopes); in setCode()
146 llvm::SmallVector<Scope, 2> Scopes; variable
H A DByteCodeEmitter.cpp68 llvm::SmallVector<Scope, 2> Scopes; in compileFunc() local
70 Scopes.emplace_back(std::move(DS)); in compileFunc()
75 std::move(Scopes)); in compileFunc()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h146 return make_range(Scopes.begin(), Scopes.end()); in scopes()
153 unsigned scope_count() const { return Scopes.size(); } in scope_count()
160 SmallVector<DIScope *, 8> Scopes; variable
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp118 bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes, in mayAliasInScopes() argument
120 if (!Scopes || !NoAlias) in mayAliasInScopes()
134 collectMDInDomain(Scopes, Domain, ScopeNodes); in mayAliasInScopes()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSyncScope.h130 static const unsigned Scopes[] = { in getRuntimeValues() local
133 return llvm::makeArrayRef(Scopes); in getRuntimeValues()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp327 for (CHRScope *Scope : Scopes) { in ~CHR()
345 SmallVectorImpl<CHRScope *> &Scopes);
358 void classifyBiasedScopes(SmallVectorImpl<CHRScope *> &Scopes);
421 DenseSet<CHRScope *> Scopes; member in __anon15e3d84c0211::CHR
796 Scopes.insert(Result); in findScope()
856 Scopes.insert(Result); in findScope()
1038 Scopes.push_back(Sub); in findScopes()
1215 Scopes.insert(Tail); in splitScope()
1281 for (CHRScope *Scope : Scopes) { in classifyBiasedScopes()
1991 dbgs() << Label << " " << Scopes.size() << "\n"; in dumpScopes()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp279 MultiParseScope Scopes; member
283 : P(P), Scopes(P), CurTemplateDepthTracker(P.TemplateParameterDepth) { in ReenterTemplateScopeRAII()
286 P.ReenterTemplateScopes(Scopes, MaybeTemplated)); in ReenterTemplateScopeRAII()
304 Scopes.Enter(Scope::ClassScope|Scope::DeclScope); in ReenterClassScopeRAII()
337 InFunctionTemplateScope.Scopes.Enter(Scope::FunctionPrototypeScope | in ParseLexedMethodDeclaration()
500 InFunctionTemplateScope.Scopes.Exit(); in ParseLexedMethodDeclaration()
726 InDeclScope.Scopes.Enter(Scope::FnScope | Scope::DeclScope | in ParseLexedAttribute()
H A DParseTemplate.cpp1643 MultiParseScope Scopes(*this); in ParseLateTemplatedFuncDef() local
1654 ReenterTemplateScopes(Scopes, cast<Decl>(DC))); in ParseLateTemplatedFuncDef()
1655 Scopes.Enter(Scope::DeclScope); in ParseLateTemplatedFuncDef()
H A DParseOpenMP.cpp658 Parser::MultiParseScope Scopes; member in __anon406c2d820511::FNContextRAII
665 FNContextRAII(Parser &P, Parser::DeclGroupPtrTy Ptr) : P(P), Scopes(P) { in FNContextRAII()
677 P.ReenterTemplateScopes(Scopes, D); in FNContextRAII()
682 Scopes.Enter(Scope::FnScope | Scope::DeclScope | in FNContextRAII()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScopedNoAliasAA.h49 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp557 SmallVector<Metadata *, 4> Scopes{NewScope}, NoAliases{NewScope}; in setNoAliasToLoop() local
574 MDNode::get(Inst.getContext(), Scopes))); in setNoAliasToLoop()
H A DEarlyCSE.cpp643 Scopes(AvailableValues, AvailableLoads, AvailableInvariants, in StackNode()
672 NodeScope Scopes; member in __anon0a18f2bf0311::EarlyCSE::StackNode
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCSE.cpp756 SmallVector<MachineDomTreeNode*, 32> Scopes; in PerformCSE() local
766 Scopes.push_back(Node); in PerformCSE()
773 for (MachineDomTreeNode *Node : Scopes) { in PerformCSE()
H A DMachineLICM.cpp705 SmallVector<MachineDomTreeNode*, 32> Scopes; in HoistOutOfLoop() local
727 Scopes.push_back(Node); in HoistOutOfLoop()
748 if (Scopes.size() == 0) in HoistOutOfLoop()
757 for (MachineDomTreeNode *Node : Scopes) { in HoistOutOfLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h351 void collectLexicalBlockInfo(SmallVectorImpl<LexicalScope *> &Scopes,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1072 SmallVector<Metadata *, 4> Scopes, NoAliases; in AddAliasScopeMetadata() local
1165 Scopes.push_back(NewScopes[A]); in AddAliasScopeMetadata()
1168 if (!Scopes.empty()) in AddAliasScopeMetadata()
1172 MDNode::get(CalledFunc->getContext(), Scopes))); in AddAliasScopeMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp903 DenseMap<DebugVariable, const DILocation *> Scopes; member in __anon36b66d1c0211::VLocTracker
921 Scopes[Var] = MI.getDebugLoc().get(); in defVar()
936 Scopes[Var] = MI.getDebugLoc().get(); in defVar()
3635 const DILocation *ScopeLoc = VTracker->Scopes[Var]; in ExtendRanges()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp144 Scopes.clear(); in reset()
346 Scopes.push_back(Scope); in addScope()

12