Home
last modified time | relevance | path

Searched refs:ParentScope (Results 1 – 17 of 17) 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()
233 void JumpScopeChecker::BuildScopeInformation(Decl *D, unsigned &ParentScope) { in BuildScopeInformation() argument
[all …]
H A DSemaDecl.cpp15203 Scope *ParentScope = FnBodyScope->getParent(); in ActOnStartOfFunctionDef() local
15215 ParentScope, D, TemplateParameterLists, Bases); in ActOnStartOfFunctionDef()
15218 Decl *DP = HandleDeclarator(ParentScope, D, TemplateParameterLists); in ActOnStartOfFunctionDef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DVarBypassDetector.cpp25 unsigned ParentScope = 0; in Init() local
26 AlwaysBypassed = !BuildScopeInformation(Body, ParentScope); in Init()
35 unsigned &ParentScope) { in BuildScopeInformation() argument
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()
[all …]
H A DVarBypassDetector.h62 bool BuildScopeInformation(const Decl *D, unsigned &ParentScope);
H A DCGStmt.cpp706 if (innermostScope != EHScopeStack::stable_end() && ParentScope) { in rescopeLabels()
707 ParentScope->Labels.append(Labels.begin(), Labels.end()); in rescopeLabels()
H A DCodeGenFunction.h1029 LexicalScope *ParentScope;
1037 : RunCleanupsScope(CGF), Range(Range), ParentScope(CGF.CurLexicalScope) {
1065 CGF.CurLexicalScope = ParentScope;
/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.h336 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope,
353 LLVMMetadataRef ParentScope,
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1356 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1359 Decl *DP = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
1387 Scope *ParentScope = getCurScope()->getParent(); in ParseFunctionDefinition() local
1390 Decl *FuncDecl = Actions.HandleDeclarator(ParentScope, D, in ParseFunctionDefinition()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp1098 LLVMDIBuilderCreateModule(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateModule() argument
1104 unwrapDI<DIScope>(ParentScope), StringRef(Name, NameLen), in LLVMDIBuilderCreateModule()
1111 LLVMMetadataRef ParentScope, in LLVMDIBuilderCreateNameSpace() argument
1115 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.cpp411 TypeIndex ParentScope = getScopeIndex(Scope); in getFuncIdForSubprogram()
412 FuncIdRecord FuncId(ParentScope, getTypeIndex(SP->getType()), DisplayName); in getFuncIdForSubprogram()
407 TypeIndex ParentScope = getScopeIndex(Scope); getFuncIdForSubprogram() local