Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DJumpDiagnostics.cpp52 unsigned ParentScope; member
130 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
131 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
133 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
134 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
239 ParentScope = Scopes.size()-1; in BuildScopeInformation()
286 ParentScope = Scopes.size()-1; in BuildScopeInformation()
297 ParentScope = Scopes.size() - 1; in BuildScopeInformation()
342 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
362 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
[all …]
H A DSemaDecl.cpp14901 Scope *ParentScope = FnBodyScope->getParent(); in ActOnStartOfFunctionDef() local
14913 ParentScope, D, TemplateParameterLists, Bases); in ActOnStartOfFunctionDef()
14916 Decl *DP = HandleDeclarator(ParentScope, D, TemplateParameterLists); in ActOnStartOfFunctionDef()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DVarBypassDetector.cpp25 unsigned ParentScope = 0; in Init() local
26 AlwaysBypassed = !BuildScopeInformation(Body, ParentScope); in Init()
38 Scopes.push_back({ParentScope, VD}); in BuildScopeInformation()
39 ParentScope = Scopes.size() - 1; in BuildScopeInformation()
44 return BuildScopeInformation(Init, ParentScope); in BuildScopeInformation()
59 unsigned &ParentScope = in BuildScopeInformation() local
71 if (!BuildScopeInformation(Init, ParentScope)) in BuildScopeInformation()
76 if (!BuildScopeInformation(Var, ParentScope)) in BuildScopeInformation()
83 FromScopes.push_back({S, ParentScope}); in BuildScopeInformation()
124 ToScopes[SubStmt] = ParentScope; in BuildScopeInformation()
[all …]
H A DVarBypassDetector.h62 bool BuildScopeInformation(const Decl *D, unsigned &ParentScope);
H A DCGStmt.cpp682 if (innermostScope != EHScopeStack::stable_end() && ParentScope) { in rescopeLabels()
683 ParentScope->Labels.append(Labels.begin(), Labels.end()); in rescopeLabels()
H A DCodeGenFunction.h935 LexicalScope *ParentScope;
943 : RunCleanupsScope(CGF), Range(Range), ParentScope(CGF.CurLexicalScope) {
971 CGF.CurLexicalScope = ParentScope;
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DNativeInlineSiteSymbol.cpp90 TypeIndex ParentScope = FRecord.getParentScope(); in getName() local
91 if (!ParentScope.isNoneType()) { in getName()
92 QualifiedName.append(std::string(Ids.getTypeName(ParentScope))); in getName()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h614 FuncIdRecord(TypeIndex ParentScope, TypeIndex FunctionType, StringRef Name) in FuncIdRecord() argument
615 : TypeRecord(TypeRecordKind::FuncId), ParentScope(ParentScope), in FuncIdRecord()
618 TypeIndex getParentScope() const { return ParentScope; } in getParentScope()
622 TypeIndex ParentScope; variable
/openbsd/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c252 llvm_dibuild_create_module_native(value Builder, LLVMMetadataRef ParentScope, in llvm_dibuild_create_module_native() argument
256 DIBuilder_val(Builder), ParentScope, String_val(Name), in llvm_dibuild_create_module_native()
275 LLVMMetadataRef ParentScope, in llvm_dibuild_create_namespace() argument
278 DIBuilder_val(Builder), ParentScope, String_val(Name), in llvm_dibuild_create_namespace()
/openbsd/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h322 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope,
339 LLVMMetadataRef ParentScope,
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParser.cpp1307 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1310 Decl *DP = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1338 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1341 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DDebugInfo.cpp999 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateModule() argument
1005 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
1012 LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateNameSpace() argument
1016 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp430 Func.FunctionType, Func.ParentScope); in visitKnownRecord()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp987 if (!fir.ParentScope.isNoneType()) { in CreateFunctionDeclFromId()
988 CVType parent_cvt = index.ipi().getType(fir.ParentScope); in CreateFunctionDeclFromId()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp572 error(IO.mapInteger(Record.ParentScope, "ParentScope")); in visitKnownRecord()
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp572 IO.mapRequired("ParentScope", Record.ParentScope); in map()
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp407 TypeIndex ParentScope = getScopeIndex(Scope); in getFuncIdForSubprogram() local
408 FuncIdRecord FuncId(ParentScope, getTypeIndex(SP->getType()), DisplayName); in getFuncIdForSubprogram()