Searched refs:ParentScope (Results 1 - 17 of 17) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp25 unsigned ParentScope = 0; local
26 AlwaysBypassed = !BuildScopeInformation(Body, ParentScope);
35 unsigned &ParentScope) {
38 Scopes.push_back({ParentScope, VD});
39 ParentScope = Scopes.size() - 1;
44 return BuildScopeInformation(Init, ParentScope);
59 unsigned &ParentScope = local
71 if (!BuildScopeInformation(Init, ParentScope))
76 if (!BuildScopeInformation(Var, ParentScope))
83 FromScopes.push_back({S, ParentScope});
34 BuildScopeInformation(const Decl *D, unsigned &ParentScope) argument
[all...]
H A DVarBypassDetector.h62 bool BuildScopeInformation(const Decl *D, unsigned &ParentScope);
H A DCodeGenFunction.h943 LexicalScope *ParentScope; member in class:clang::CodeGen::CodeGenFunction::LexicalScope
951 : RunCleanupsScope(CGF), Range(Range), ParentScope(CGF.CurLexicalScope) {
979 CGF.CurLexicalScope = ParentScope;
H A DCGStmt.cpp689 if (innermostScope != EHScopeStack::stable_end() && ParentScope) {
690 ParentScope->Labels.append(Labels.begin(), Labels.end());
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp50 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
52 unsigned ParentScope; member in struct:__anon659::JumpScopeChecker::GotoScope
67 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
81 void BuildScopeInformation(Decl *D, unsigned &ParentScope);
83 unsigned &ParentScope);
84 void BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope);
128 assert(Scopes[B].ParentScope < B);
129 B = Scopes[B].ParentScope;
131 assert(Scopes[A].ParentScope < A);
132 A = Scopes[A].ParentScope;
231 BuildScopeInformation(Decl *D, unsigned &ParentScope) argument
248 BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl, unsigned &ParentScope) argument
290 BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope) argument
308 unsigned &ParentScope = ((isa<Expr>(S) && !isa<StmtExpr>(S)) local
[all...]
H A DSemaDecl.cpp15437 Scope *ParentScope = FnBodyScope->getParent();
15449 ParentScope, D, TemplateParameterLists, Bases);
15452 Decl *DP = HandleDeclarator(ParentScope, D, TemplateParameterLists);
/freebsd-current/sys/contrib/dev/acpica/components/parser/
H A Dpsobject.c460 ACPI_PARSE_OBJECT *ParentScope; local
542 ParentScope = AcpiPsGetParentScope (&(WalkState->ParserState));
543 AcpiPsAppendArg (ParentScope, Op);
545 if (ParentScope)
547 OpInfo = AcpiPsGetOpcodeInfo (ParentScope->Common.AmlOpcode);
551 if (ParentScope->Common.ArgListLength > ArgumentCount)
561 else if ((ParentScope->Common.AmlOpcode == AML_INCREMENT_OP) ||
562 (ParentScope->Common.AmlOpcode == AML_DECREMENT_OP))
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeInlineSiteSymbol.cpp90 TypeIndex ParentScope = FRecord.getParentScope(); local
91 if (!ParentScope.isNoneType()) {
92 QualifiedName.append(std::string(Ids.getTypeName(ParentScope)));
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h614 FuncIdRecord(TypeIndex ParentScope, TypeIndex FunctionType, StringRef Name) argument
615 : TypeRecord(TypeRecordKind::FuncId), ParentScope(ParentScope),
618 TypeIndex getParentScope() const { return ParentScope; }
622 TypeIndex ParentScope; member in class:llvm::codeview::FuncIdRecord
/freebsd-current/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h311 * \param ParentScope The parent scope containing this module declaration.
323 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope,
332 * \param ParentScope The parent scope containing this module declaration.
340 LLVMMetadataRef ParentScope,
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp1093 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope,
1099 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen),
1106 LLVMMetadataRef ParentScope,
1110 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols));
/freebsd-current/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1351 Scope *ParentScope = getCurScope()->getParent(); local
1354 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
1382 Scope *ParentScope = getCurScope()->getParent(); local
1385 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp989 if (!fir.ParentScope.isNoneType()) {
990 CVType parent_cvt = index.ipi().getType(fir.ParentScope);
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp572 error(IO.mapInteger(Record.ParentScope, "ParentScope"));
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp431 Func.FunctionType, Func.ParentScope);
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp572 IO.mapRequired("ParentScope", Record.ParentScope);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp411 TypeIndex ParentScope = getScopeIndex(Scope); local
412 FuncIdRecord FuncId(ParentScope, getTypeIndex(SP->getType()), DisplayName);

Completed in 359 milliseconds