Home
last modified time | relevance | path

Searched full:parentscope (Results 1 – 25 of 91) sorted by relevance

1234

/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp51 /// ParentScope - The index in ScopeMap of the parent scope. This is 0 for
53 unsigned ParentScope; member
66 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()
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()
233 BuildScopeInformation(Decl * D,unsigned & ParentScope) BuildScopeInformation() argument
252 BuildScopeInformation(VarDecl * D,const BlockDecl * BDecl,unsigned & ParentScope) BuildScopeInformation() argument
293 BuildScopeInformation(CompoundLiteralExpr * CLE,unsigned & ParentScope) BuildScopeInformation() argument
310 unsigned &ParentScope = ((isa<Expr>(S) && !isa<StmtExpr>(S)) BuildScopeInformation() local
[all...]
/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 …]
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dcodeview-merging.test35 OBJ1-NEXT: ParentScope: 0x0
41 OBJ1-NEXT: ParentScope: 0x0
49 OBJ2-NEXT: ParentScope: 0x0
56 OBJ2-NEXT: ParentScope: 0x0
102 CHECK-NEXT: ParentScope: 0x0
108 CHECK-NEXT: ParentScope: 0x0
/llvm-project/mlir/lib/Pass/
H A DPassTiming.cpp63 TimingScope *parentScope; in runBeforePipeline() local
66 parentScope = &activeThreadTimers[parentInfo.parentThreadID][it->second]; in runBeforePipeline()
68 parentScope = &rootScope; in runBeforePipeline()
73 activeTimers.push_back(parentScope->nest(timerId, [name] { in runBeforePipeline()
92 auto &parentScope = activeTimers.empty() ? rootScope : activeTimers.back(); in runBeforePass() local
97 parentScope.nest(pass->getThreadingSiblingOrThis(), in runBeforePass()
104 parentScope.nest(pass->getThreadingSiblingOrThis(), in runBeforePass()
129 auto &parentScope = activeTimers.empty() ? rootScope : activeTimers.back(); in runBeforeAnalysis() local
130 activeTimers.push_back(parentScope.nest( in runBeforeAnalysis()
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/
H A Dmerge-ids-and-types-2.yaml120 ParentScope: 0
127 ParentScope: 0
141 ParentScope: 0
/llvm-project/lld/test/COFF/Inputs/
H A Dpdb-type-server-simple-ts.yaml93 ParentScope: 0
98 ParentScope: 0
H A Dpdb_comdat_main.yaml149 ParentScope: 0
164 ParentScope: 0
169 ParentScope: 0
H A Dpdb-scopes-a.yaml237 ParentScope: 0
249 ParentScope: 0
254 ParentScope: 0
H A Dpdb_lines_1.yaml133 ParentScope: 0
148 ParentScope: 0
153 ParentScope: 0
H A Dpdb1.yaml123 ParentScope: 0
128 ParentScope: 0
H A Dpdb-scopes-b.yaml195 ParentScope: 0
200 ParentScope: 0
H A Dpdb_comdat_bar.yaml141 ParentScope: 0
156 ParentScope: 0
H A Dpdb_lines_1_relative.yaml149 ParentScope: 0
161 ParentScope: 0
/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()
/llvm-project/llvm/test/DebugInfo/COFF/
H A Dinlining.ll93 ; ASM: .long 0x0 # ParentScope
99 ; ASM: .long 0x0 # ParentScope
118 ; OBJ: ParentScope: 0x0
124 ; OBJ: ParentScope: 0x0
130 ; OBJ: ParentScope: 0x0
H A Dtypes-calling-conv.ll119 ; CHECK: ParentScope: 0x0
134 ; CHECK: ParentScope: 0x0
149 ; CHECK: ParentScope: 0x0
164 ; CHECK: ParentScope: 0x0
H A Dfunction-options.ll74 ; CHECK: ParentScope: 0x0
112 ; CHECK: ParentScope: 0x0
148 ; CHECK: ParentScope: 0x0
185 ; CHECK: ParentScope: 0x0
210 ; CHECK: ParentScope: 0x0
272 ; CHECK: ParentScope: 0x0
287 ; CHECK: ParentScope: 0x0
325 ; CHECK: ParentScope: 0x0
340 ; CHECK: ParentScope: 0x0
376 ; CHECK: ParentScope: 0x0
/llvm-project/lld/test/COFF/
H A Dsymbolizer-line-numbers.s279 .long 0x0 # ParentScope
286 .long 0x0 # ParentScope
293 .long 0x0 # ParentScope
H A Dpdb-inlinees.s234 # ParentScope: 0x0
246 # ParentScope: 0x0
271 # ParentScope: 0x0
H A Dpdb-inlinees-extrafiles.s236 # ParentScope: 0x0
248 # ParentScope: 0x0
273 # ParentScope: 0x0
H A Dsymbolizer-inline.s380 .long 0x0 # ParentScope
388 .long 0x0 # ParentScope
408 .long 0x0 # ParentScope
/llvm-project/llvm/test/MC/COFF/
H A Dcv-loc-unreachable.s169 # ParentScope: 0x0
180 # ParentScope: 0x0
H A Dcv-loc-unreachable-2.s162 # ParentScope: 0x0
173 # ParentScope: 0x0
H A Dcv-inline-linetable-unlikely.s172 # ParentScope: 0x0
182 # ParentScope: 0x0
/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

1234