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

/freebsd-13-stable/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 DCGStmt.cpp601 if (innermostScope != EHScopeStack::stable_end() && ParentScope) {
602 ParentScope->Labels.append(Labels.begin(), Labels.end());
H A DCodeGenFunction.h823 LexicalScope *ParentScope; member in class:clang::CodeGen::CodeGenFunction::LexicalScope
831 : RunCleanupsScope(CGF), Range(Range), ParentScope(CGF.CurLexicalScope) {
859 CGF.CurLexicalScope = ParentScope;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp44 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
46 unsigned ParentScope; member in struct:__anon2002::JumpScopeChecker::GotoScope
61 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
75 void BuildScopeInformation(Decl *D, unsigned &ParentScope);
77 unsigned &ParentScope);
78 void BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope);
120 assert(Scopes[B].ParentScope < B);
121 B = Scopes[B].ParentScope;
123 assert(Scopes[A].ParentScope < A);
124 A = Scopes[A].ParentScope;
223 BuildScopeInformation(Decl *D, unsigned &ParentScope) argument
240 BuildScopeInformation(VarDecl *D, const BlockDecl *BDecl, unsigned &ParentScope) argument
282 BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope) argument
300 unsigned &ParentScope = ((isa<Expr>(S) && !isa<StmtExpr>(S)) local
[all...]
H A DSemaDecl.cpp13672 Scope *ParentScope = FnBodyScope->getParent(); local
13685 ParentScope, D);
13688 Decl *DP = HandleDeclarator(ParentScope, D, TemplateParameterLists);
/freebsd-13-stable/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-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h619 FuncIdRecord(TypeIndex ParentScope, TypeIndex FunctionType, StringRef Name) argument
620 : TypeRecord(TypeRecordKind::FuncId), ParentScope(ParentScope),
623 TypeIndex getParentScope() const { return ParentScope; }
627 TypeIndex ParentScope; member in class:llvm::codeview::FuncIdRecord
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h283 * \param ParentScope The parent scope containing this module declaration.
295 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope,
304 * \param ParentScope The parent scope containing this module declaration.
312 LLVMMetadataRef ParentScope,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp788 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, argument
794 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen),
801 LLVMMetadataRef ParentScope,
805 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols));
800 LLVMDIBuilderCreateNameSpace(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, LLVMBool ExportSymbols) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1194 Scope *ParentScope = getCurScope()->getParent(); local
1197 Decl *DP = Actions.HandleDeclarator(ParentScope, D,
1225 Scope *ParentScope = getCurScope()->getParent(); local
1228 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp528 error(IO.mapInteger(Record.ParentScope, "ParentScope"));
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp427 Func.FunctionType, Func.ParentScope);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp564 IO.mapRequired("ParentScope", Record.ParentScope);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp417 TypeIndex ParentScope = getScopeIndex(Scope); local
418 FuncIdRecord FuncId(ParentScope, getTypeIndex(SP->getType()), DisplayName);

Completed in 244 milliseconds