Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp53 unsigned ParentScope; member
68 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
82 void BuildScopeInformation(Decl *D, unsigned &ParentScope);
84 unsigned &ParentScope);
85 void BuildScopeInformation(CompoundLiteralExpr *CLE, unsigned &ParentScope);
129 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
130 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
132 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
133 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
232 void JumpScopeChecker::BuildScopeInformation(Decl *D, unsigned &ParentScope) { in BuildScopeInformation() argument
[all …]
H A DSemaDecl.cpp15639 Scope *ParentScope = FnBodyScope->getParent(); in ActOnStartOfFunctionDef() local
15651 ParentScope, D, TemplateParameterLists, Bases); in ActOnStartOfFunctionDef()
15654 Decl *DP = HandleDeclarator(ParentScope, D, TemplateParameterLists); in ActOnStartOfFunctionDef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp26 unsigned ParentScope = 0; in Init() local
27 AlwaysBypassed = !BuildScopeInformation(CGM, Body, ParentScope); in Init()
36 unsigned &ParentScope) { in BuildScopeInformation() argument
39 Scopes.push_back({ParentScope, VD}); in BuildScopeInformation()
40 ParentScope = Scopes.size() - 1; in BuildScopeInformation()
45 return BuildScopeInformation(CGM, Init, ParentScope); in BuildScopeInformation()
60 unsigned &ParentScope = in BuildScopeInformation() local
72 if (!BuildScopeInformation(CGM, Init, ParentScope)) in BuildScopeInformation()
77 if (!BuildScopeInformation(CGM, Var, ParentScope)) in BuildScopeInformation()
84 FromScopes.push_back({S, ParentScope}); in BuildScopeInformation()
[all …]
H A DVarBypassDetector.h64 unsigned &ParentScope);
H A DCGStmt.cpp769 if (innermostScope != EHScopeStack::stable_end() && ParentScope) { in rescopeLabels()
770 ParentScope->Labels.append(Labels.begin(), Labels.end()); in rescopeLabels()
H A DCodeGenFunction.h1089 LexicalScope *ParentScope;
1110 CGF.CurLexicalScope = ParentScope;
H A DCGDebugInfo.cpp6420 : RunCleanupsScope(CGF), Range(Range), ParentScope(CGF.CurLexicalScope) { in LexicalScope()
/freebsd/sys/contrib/dev/acpica/components/parser/
H A Dpsobject.c460 ACPI_PARSE_OBJECT *ParentScope; in AcpiPsCreateOp() local
542 ParentScope = AcpiPsGetParentScope (&(WalkState->ParserState)); in AcpiPsCreateOp()
543 AcpiPsAppendArg (ParentScope, Op); in AcpiPsCreateOp()
545 if (ParentScope) in AcpiPsCreateOp()
547 OpInfo = AcpiPsGetOpcodeInfo (ParentScope->Common.AmlOpcode); in AcpiPsCreateOp()
551 if (ParentScope->Common.ArgListLength > ArgumentCount) in AcpiPsCreateOp()
561 else if ((ParentScope->Common.AmlOpcode == AML_INCREMENT_OP) || in AcpiPsCreateOp()
562 (ParentScope->Common.AmlOpcode == AML_DECREMENT_OP)) in AcpiPsCreateOp()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h344 LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name,
359 LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1280 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1283 Decl *DP = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1311 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1314 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp1126 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateModule() argument
1132 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
1139 LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateNameSpace() argument
1143 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), ExportSymbols)); in LLVMDIBuilderCreateNameSpace()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp432 Func.FunctionType, Func.ParentScope); in visitKnownRecord()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp989 if (!fir.ParentScope.isNoneType()) { in CreateFunctionDeclFromId()
990 CVType parent_cvt = index.ipi().getType(fir.ParentScope); in CreateFunctionDeclFromId()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp572 error(IO.mapInteger(Record.ParentScope, "ParentScope")); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp573 IO.mapRequired("ParentScope", Record.ParentScope); in map()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp413 TypeIndex ParentScope = getScopeIndex(Scope); in getFuncIdForSubprogram() local
414 FuncIdRecord FuncId(ParentScope, getTypeIndex(SP->getType()), DisplayName); in getFuncIdForSubprogram()