Home
last modified time | relevance | path

Searched refs:Scope (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/external/clang/include/clang/Sema/
DScope.h39 class Scope {
131 Scope *AnyParent;
157 Scope *FnParent;
158 Scope *MSLastManglingParent;
164 Scope *BreakParent, *ContinueParent;
168 Scope *BlockParent;
174 Scope *TemplateParamParent;
200 void setFlags(Scope *Parent, unsigned F);
203 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) in Scope() function
218 const Scope *getParent() const { return AnyParent; } in getParent()
[all …]
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp110 DILocalScope *Scope = DL->getScope(); in findLexicalScope() local
111 if (!Scope) in findLexicalScope()
116 Scope = Scope->getNonLexicalBlockFileScope(); in findLexicalScope()
119 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA)); in findLexicalScope()
122 return findLexicalScope(Scope); in findLexicalScope()
127 LexicalScope *LexicalScopes::getOrCreateLexicalScope(const DILocalScope *Scope, in getOrCreateLexicalScope() argument
131 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope()
133 return getOrCreateInlinedScope(Scope, IA); in getOrCreateLexicalScope()
136 return getOrCreateRegularScope(Scope); in getOrCreateLexicalScope()
141 LexicalScopes::getOrCreateRegularScope(const DILocalScope *Scope) { in getOrCreateRegularScope() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLexicalScopes.cpp117 MDNode *Scope = NULL; in findLexicalScope() local
119 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext()); in findLexicalScope()
120 if (!Scope) return NULL; in findLexicalScope()
124 DIDescriptor D = DIDescriptor(Scope); in findLexicalScope()
126 Scope = DILexicalBlockFile(Scope).getScope(); in findLexicalScope()
130 return LexicalScopeMap.lookup(Scope); in findLexicalScope()
136 MDNode *Scope = NULL; in getOrCreateLexicalScope() local
138 DL.getScopeAndInlinedAt(Scope, InlinedAt, MF->getFunction()->getContext()); in getOrCreateLexicalScope()
142 getOrCreateAbstractScope(Scope); in getOrCreateLexicalScope()
144 return getOrCreateInlinedScope(Scope, InlinedAt); in getOrCreateLexicalScope()
[all …]
/external/v8/src/heap/
Dgc-tracer.cc25 GCTracer::Scope::Scope(GCTracer* tracer, ScopeId scope) in Scope() function in v8::internal::GCTracer::Scope
39 GCTracer::Scope::~Scope() { in ~Scope()
49 const char* GCTracer::Scope::Name(ScopeId id) { in Name()
51 case Scope::scope: \ in Name()
55 case Scope::NUMBER_OF_SCOPES: in Name()
80 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) { in Event()
189 for (int i = 0; i < Scope::NUMBER_OF_SCOPES; i++) { in Start()
216 for (int i = 0; i < Scope::NUMBER_OF_INCREMENTAL_SCOPES; i++) { in ResetIncrementalMarkingCounters()
266 for (int i = 0; i < Scope::NUMBER_OF_INCREMENTAL_SCOPES; i++) { in Stop()
408 current_.scopes[Scope::MC_INCREMENTAL], in Print()
[all …]
Dgc-tracer.h100 GCTracer::Scope::ScopeId gc_tracer_scope_id(scope_id); \
101 GCTracer::Scope gc_tracer_scope(tracer, gc_tracer_scope_id); \
103 GCTracer::Scope::Name(gc_tracer_scope_id))
131 class Scope {
145 Scope(GCTracer* tracer, ScopeId scope);
146 ~Scope();
155 DISALLOW_COPY_AND_ASSIGN(Scope);
223 double scopes[Scope::NUMBER_OF_SCOPES];
227 incremental_marking_scopes[Scope::NUMBER_OF_INCREMENTAL_SCOPES];
331 V8_INLINE void AddScopeSample(Scope::ScopeId scope, double duration) { in AddScopeSample()
[all …]
/external/tcpdump/tests/
Dospf3_mp-vv.out43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
45 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
47 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
49 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6
51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5
53 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
55 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
57 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
59 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
61 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6
[all …]
Dospf3_nbma-vv.out30 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
32 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
34 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
36 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.6
38 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
40 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
42 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
44 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
46 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.4
48 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.6
[all …]
Dospf3_bc-vv.out43 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
45 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
47 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
49 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
51 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
53 Link LSA (8), Link Local Scope, LSA-ID 0.0.0.5
55 Intra-Area Prefix LSA (9), Area Local Scope, LSA-ID 0.0.0.0
60 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
62 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.0
64 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
[all …]
Dospf3_ah-vv.out71 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
73 Router LSA (1), Area Local Scope, LSA-ID 0.0.0.0
75 Network LSA (2), Area Local Scope, LSA-ID 0.0.0.5
77 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.5
79 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.6
81 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.7
83 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.8
85 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.1
87 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.2
89 Inter-Area Prefix LSA (3), Area Local Scope, LSA-ID 0.0.0.3
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DDebugLoc.cpp48 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, in getScopeAndInlinedAt() argument
51 Scope = IA = 0; in getScopeAndInlinedAt()
60 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get(); in getScopeAndInlinedAt()
68 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get(); in getScopeAndInlinedAt()
74 MDNode *Scope, MDNode *InlinedAt) { in get() argument
78 if (Scope == 0) return Result; in get()
85 LLVMContext &Ctx = Scope->getContext(); in get()
89 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeRecordIdxEntry(Scope, 0); in get()
91 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeInlinedAtIdxEntry(Scope, in get()
102 MDNode *Scope, *IA; in getAsMDNode() local
[all …]
/external/llvm/lib/IR/
DLLVMContextImpl.h247 Metadata *Scope;
250 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
252 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt) {}
255 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
260 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt();
263 return hash_combine(Line, Column, Scope, InlinedAt);
348 Metadata *Scope;
357 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
360 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
365 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
DDebugInfo.cpp34 DISubprogram *llvm::getDISubprogram(const MDNode *Scope) { in getDISubprogram() argument
35 if (auto *LocalScope = dyn_cast_or_null<DILocalScope>(Scope)) in getDISubprogram()
117 void DebugInfoFinder::processScope(DIScope *Scope) { in processScope() argument
118 if (!Scope) in processScope()
120 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
124 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) { in processScope()
128 if (auto *SP = dyn_cast<DISubprogram>(Scope)) { in processScope()
132 if (!addScope(Scope)) in processScope()
134 if (auto *LB = dyn_cast<DILexicalBlockBase>(Scope)) { in processScope()
136 } else if (auto *NS = dyn_cast<DINamespace>(Scope)) { in processScope()
[all …]
DDebugInfoMetadata.cpp42 unsigned Column, Metadata *Scope, in getImpl() argument
51 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl()
60 Ops.push_back(Scope); in getImpl()
244 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
249 (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
251 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData}; in getImpl()
259 unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, in getImpl() argument
268 DICompositeType, (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
271 Metadata *Ops[] = {File, Scope, Name, BaseType, in getImpl()
280 Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, in buildODRType() argument
[all …]
DDebugLoc.cpp51 const MDNode *Scope = getInlinedAtScope(); in getFnDebugLoc() local
52 if (auto *SP = getDISubprogram(Scope)) in getFnDebugLoc()
58 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, in get() argument
61 if (!Scope) in get()
64 return DILocation::get(Scope->getContext(), Line, Col, in get()
65 const_cast<MDNode *>(Scope), in get()
90 auto *Scope = cast<DIScope>(getScope()); in print() local
91 OS << Scope->getFilename(); in print()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenDAGISel.inc21 /*7*/ OPC_Scope, 80|128,2/*336*/, /*->346*/ // 5 children in Scope
23 /*11*/ OPC_Scope, 80, /*->93*/ // 7 children in Scope
27 /*18*/ OPC_Scope, 34, /*->54*/ // 3 children in Scope
31 /*26*/ OPC_Scope, 12, /*->40*/ // 2 children in Scope
36 /*40*/ /*Scope*/ 12, /*->53*/
41 /*53*/ 0, /*End of Scope*/
42 /*54*/ /*Scope*/ 18, /*->73*/
50 /*73*/ /*Scope*/ 18, /*->92*/
58 /*92*/ 0, /*End of Scope*/
59 /*93*/ /*Scope*/ 77, /*->171*/
[all …]
/external/v8/src/ast/
Dscopes.cc47 Variable* VariableMap::Declare(Zone* zone, Scope* scope, in Declare()
132 Scope::Scope(Zone* zone) in Scope() function in v8::internal::Scope
140 Scope::Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type) in Scope() function in v8::internal::Scope
153 Scope::Snapshot::Snapshot(Scope* scope) in Snapshot()
162 : Scope(zone), in DeclarationScope()
174 DeclarationScope::DeclarationScope(Zone* zone, Scope* outer_scope, in DeclarationScope()
177 : Scope(zone, outer_scope, scope_type), in DeclarationScope()
242 Scope::Scope(Zone* zone, ScopeType scope_type, Handle<ScopeInfo> scope_info) in Scope() function in v8::internal::Scope
261 : Scope(zone, scope_type, scope_info), in DeclarationScope()
269 Scope::Scope(Zone* zone, const AstRawString* catch_variable_name, in Scope() function in v8::internal::Scope
[all …]
Dscopes.h34 Zone* zone, Scope* scope, const AstRawString* name, VariableMode mode,
56 explicit Delegate(Scope* scope,
62 Scope* scope() const { return scope_; } in scope()
65 Scope* scope_;
89 class V8_EXPORT_PRIVATE Scope : public NON_EXPORTED_BASE(ZoneObject) { in NON_EXPORTED_BASE()
94 Scope(Zone* zone, Scope* outer_scope, ScopeType scope_type); in NON_EXPORTED_BASE()
114 explicit Snapshot(Scope* scope); in NON_EXPORTED_BASE()
119 Scope* outer_scope_; in NON_EXPORTED_BASE()
120 Scope* top_inner_scope_; in NON_EXPORTED_BASE()
128 static Scope* DeserializeScopeChain(Isolate* isolate, Zone* zone, in NON_EXPORTED_BASE()
[all …]
/external/clang/lib/CodeGen/
DCGCleanup.cpp192 EHCleanupScope *Scope = in pushCleanup() local
205 Scope->setLifetimeMarker(); in pushCleanup()
207 return Scope->getCleanupBuffer(); in pushCleanup()
425 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlocks() local
431 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup()); in PopCleanupBlocks()
465 EHCleanupScope &Scope) { in CreateNormalEntry() argument
466 assert(Scope.isNormalCleanup()); in CreateNormalEntry()
467 llvm::BasicBlock *Entry = Scope.getNormalBlock(); in CreateNormalEntry()
470 Scope.setNormalBlock(Entry); in CreateNormalEntry()
606 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); in PopCleanupBlock() local
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DScope.java36 final class Scope { class
41 private static final Scope UNSCOPED = new Scope();
49 private Scope(@Nullable AnnotationMirror annotationMirror) { in Scope() method in Scope
53 private Scope() { in Scope() method in Scope
60 static Scope unscoped() { in unscoped()
68 static Scope scopeOf(Element element) { in scopeOf()
70 return scopeAnnotation.isPresent() ? new Scope(scopeAnnotation.get()) : UNSCOPED; in scopeOf()
124 } else if (obj instanceof Scope) { in equals()
125 Scope that = (Scope) obj; in equals()
/external/pdfium/fxjs/
Dfxjs_v8_embeddertest.cpp36 v8::Isolate::Scope isolate_scope(isolate()); in TEST_F()
38 v8::Context::Scope context_scope(GetV8Context()); in TEST_F()
45 v8::Isolate::Scope isolate_scope(isolate()); in TEST_F()
54 v8::Context::Scope context_scope(GetV8Context()); in TEST_F()
60 v8::Context::Scope context_scope1(context1); in TEST_F()
69 v8::Context::Scope context_scope2(context2); in TEST_F()
79 v8::Isolate::Scope isolate_scope(isolate()); in TEST_F()
81 v8::Context::Scope context_scope(GetV8Context()); in TEST_F()
93 v8::Isolate::Scope isolate_scope(isolate()); in TEST_F()
95 v8::Context::Scope context_scope(GetV8Context()); in TEST_F()
[all …]
/external/llvm/include/llvm/IR/
DDIBuilder.h191 DIDerivedType *createMemberType(DIScope *Scope, StringRef Name,
209 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo,
222 DIDerivedType *createStaticMemberType(DIScope *Scope, StringRef Name,
274 DICompositeType *createClassType(DIScope *Scope, StringRef Name,
295 DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNumber,
311 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
324 createTemplateTypeParameter(DIScope *Scope, StringRef Name, DIType *Ty);
332 DITemplateValueParameter *createTemplateValueParameter(DIScope *Scope,
342 DITemplateValueParameter *createTemplateTemplateParameter(DIScope *Scope,
352 DITemplateValueParameter *createTemplateParameterPack(DIScope *Scope,
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp322 LexicalScope *Scope, SmallVectorImpl<DIE *> &FinalChildren) { in constructScopeDIE() argument
323 if (!Scope || !Scope->getScopeNode()) in constructScopeDIE()
326 auto *DS = Scope->getScopeNode(); in constructScopeDIE()
328 assert((Scope->getInlinedAt() || !isa<DISubprogram>(DS)) && in constructScopeDIE()
339 if (Scope->getParent() && isa<DISubprogram>(DS)) { in constructScopeDIE()
340 ScopeDIE = constructInlinedScopeDIE(Scope); in constructScopeDIE()
344 createScopeChildrenDIE(Scope, Children); in constructScopeDIE()
347 if (DD->isLexicalScopeDIENull(Scope)) in constructScopeDIE()
354 createScopeChildrenDIE(Scope, Children, &ChildScopeCount); in constructScopeDIE()
372 ScopeDIE = constructLexicalScopeDIE(Scope); in constructScopeDIE()
[all …]
DDwarfCompileUnit.h121 DIScope *Scope = IE->getScope(); in addImportedEntity() local
122 assert(Scope && "Invalid Scope encoding!"); in addImportedEntity()
123 if (!isa<DILocalScope>(Scope)) in addImportedEntity()
127 auto *LocalScope = cast<DILocalScope>(Scope)->getNonLexicalBlockFileScope(); in addImportedEntity()
148 void constructScopeDIE(LexicalScope *Scope,
161 DIE *constructInlinedScopeDIE(LexicalScope *Scope);
165 DIE *constructLexicalScopeDIE(LexicalScope *Scope);
170 DIE *constructVariableDIE(DbgVariable &DV, const LexicalScope &Scope,
174 DIE *createScopeChildrenDIE(LexicalScope *Scope,
179 void constructSubprogramScopeDIE(LexicalScope *Scope);
[all …]
/external/clang/lib/Sema/
DScope.cpp21 void Scope::setFlags(Scope *parent, unsigned flags) { in setFlags()
88 void Scope::Init(Scope *parent, unsigned flags) { in Init()
98 bool Scope::containedInPrototypeScope() const { in containedInPrototypeScope()
99 const Scope *S = this; in containedInPrototypeScope()
108 void Scope::AddFlags(unsigned FlagsToSet) { in AddFlags()
122 void Scope::mergeNRVOIntoParent() { in mergeNRVOIntoParent()
137 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); } in dump()
139 void Scope::dumpImpl(raw_ostream &OS) const { in dumpImpl()
215 if (const Scope *Parent = getParent()) in dumpImpl()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp54 LLVMMetadataRef Scope, in LLVMDIBuilderCreateLexicalBlock() argument
59 auto *LB = D->createLexicalBlock(unwrap<DILocalScope>(Scope), in LLVMDIBuilderCreateLexicalBlock()
65 LLVMMetadataRef Scope, in LLVMDIBuilderCreateLexicalBlockFile() argument
69 return wrap(D->createLexicalBlockFile(unwrap<DILocalScope>(Scope), in LLVMDIBuilderCreateLexicalBlockFile()
74 LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, const char *Name, in LLVMDIBuilderCreateFunction() argument
79 return wrap(D->createFunction(unwrap<DIScope>(Scope), Name, LinkageName, in LLVMDIBuilderCreateFunction()
87 LLVMDIBuilderCreateAutoVariable(LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, in LLVMDIBuilderCreateAutoVariable() argument
92 return wrap(D->createAutoVariable(unwrap<DIScope>(Scope), Name, in LLVMDIBuilderCreateAutoVariable()
98 LLVMDIBuilderRef Dref, LLVMMetadataRef Scope, const char *Name, in LLVMDIBuilderCreateParameterVariable() argument
103 unwrap<DIScope>(Scope), Name, ArgNo, unwrap<DIFile>(File), Line, in LLVMDIBuilderCreateParameterVariable()
[all …]

12345678910>>...16