Searched defs:Scope (Results 26 - 50 of 68) sorted by relevance

123

/external/llvm/lib/CodeGen/
H A DLexicalScopes.cpp108 MDNode *Scope = nullptr; local
110 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
111 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, IA));
118 MDNode *Scope = nullptr; local
120 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
121 if (!Scope)
126 DIDescriptor D = DIDescriptor(Scope);
128 Scope = DILexicalBlockFile(Scope).getScope();
131 auto I = InlinedLexicalScopeMap.find(std::make_pair(Scope, I
140 MDNode *Scope = nullptr; local
155 getOrCreateRegularScope(MDNode *Scope) argument
233 constructScopeNest(LexicalScope *Scope) argument
290 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
312 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
[all...]
H A DMachineCSE.cpp430 ScopeType *Scope = new ScopeType(VNT); local
431 ScopeMap[MBB] = Scope;
/external/llvm/lib/IR/
H A DDebugLoc.cpp48 /// Return both the Scope and the InlinedAt values.
49 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, argument
52 Scope = IA = nullptr;
61 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get();
69 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get();
80 const MDNode *Scope = getScopeNode(Ctx); local
81 DISubprogram SP = getDISubprogram(Scope);
95 MDNode *Scope, MDNode *InlinedAt) {
99 if (!Scope) return Result;
106 LLVMContext &Ctx = Scope
94 get(unsigned Line, unsigned Col, MDNode *Scope, MDNode *InlinedAt) argument
139 MDNode *Scope = Loc.getScope(); local
148 MDNode *Scope = LexBlock.getContext(); local
204 getOrAddScopeRecordIdxEntry(MDNode *Scope, int ExistingIdx) argument
227 getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA, int ExistingIdx) argument
[all...]
H A DDIBuilder.cpp423 DIDerivedType DIBuilder::createMemberType(DIDescriptor Scope, StringRef Name, argument
433 DIScope(getNonCompileUnitScope(Scope)).getRef(),
448 DIBuilder::createStaticMemberType(DIDescriptor Scope, StringRef Name, argument
457 DIScope(getNonCompileUnitScope(Scope)).getRef(),
690 DICompositeType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name, argument
701 DIScope(getNonCompileUnitScope(Scope)).getRef(),
750 DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber,
757 DIScope(getNonCompileUnitScope(Scope)).getRef(),
888 DIBuilder::createForwardDecl(unsigned Tag, StringRef Name, DIDescriptor Scope, argument
896 DIScope(getNonCompileUnitScope(Scope))
749 createEnumerationType( DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, DIArray Elements, DIType UnderlyingType, StringRef UniqueIdentifier) argument
922 createReplaceableForwardDecl( unsigned Tag, StringRef Name, DIDescriptor Scope, DIFile F, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint64_t AlignInBits, StringRef UniqueIdentifier) argument
1037 createLocalVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo, DITypeRef Ty, bool AlwaysPreserve, unsigned Flags, unsigned ArgNo) argument
1072 createComplexVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile F, unsigned LineNo, DITypeRef Ty, ArrayRef<Value *> Addr, unsigned ArgNo) argument
1203 createNameSpace(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo) argument
1220 createLexicalBlockFile(DIDescriptor Scope, DIFile File) argument
1234 createLexicalBlock(DIDescriptor Scope, DIFile File, unsigned Line, unsigned Col, unsigned Discriminator) argument
[all...]
H A DDebugInfo.cpp925 DISubprogram llvm::getDISubprogram(const MDNode *Scope) { argument
926 DIDescriptor D(Scope);
928 return DISubprogram(Scope);
931 return getDISubprogram(DILexicalBlockFile(Scope).getContext());
934 return getDISubprogram(DILexicalBlock(Scope).getContext());
1075 void DebugInfoFinder::processScope(DIScope Scope) { argument
1076 if (Scope.isType()) {
1077 DIType Ty(Scope);
1081 if (Scope.isCompileUnit()) {
1082 addCompileUnit(DICompileUnit(Scope));
1205 addScope(DIScope Scope) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_management.cc32 enum Scope { enum in namespace:extensions::__anon3943
46 Scope scope,
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp319 Scope(*availableValues),
327 ScopedHTType::ScopeTy Scope; member in class:__anon26278::EarlyCSE::NodeScope
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Drecognizers.rb129 = Scope
131 Scope is used to represent instances of ANTLR's various attribute scopes.
137 Block = Scope.new( "name", "depth = 0", "variables = {}" )
144 class Scope < ::Struct class in class:ANTLR3
314 def Scope( *declarations, &body ) method in class:ANTLR3.Scope.Recognizer
315 Scope.new( *declarations, &body )
/external/chromium_org/third_party/jinja2/
H A Dnodes.py887 class Scope(Stmt): class in inherits:Stmt
/external/chromium_org/third_party/motemplate/
H A Dmotemplate.py175 def Scope(self, context, fn, *args): member in class:_Contexts
551 render_state.contexts.Scope({self._bind_to.name: item},
557 render_state.contexts.Scope({self._bind_to.name: value},
560 render_state.contexts.Scope(value, self._content.Render, render_state)
580 render_state.contexts.Scope({self._bind_to.name: value},
662 render_state.contexts.Scope(self._args, self._partial.Render, render_state)
679 render_state.contexts.Scope(
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h203 enum ContextKind { StackFrame, Scope, Block }; enumerator in enum:clang::LocationContext::ContextKind
315 : LocationContext(Scope, ctx, parent), Enter(s) {}
324 ProfileCommon(ID, Scope, ctx, parent, s);
328 return Ctx->getKind() == Scope;
/external/clang/include/clang/Sema/
H A DScope.h1 //===--- Scope.h - Scope interface ------------------------------*- C++ -*-===//
10 // This file defines the Scope interface.
34 /// Scope - A scope is a transient data structure that is used while parsing the
38 class Scope { class in namespace:clang
124 Scope *AnyParent;
148 Scope *FnParent;
149 Scope *MSLocalManglingParent;
155 Scope *BreakParent, *ContinueParent;
159 Scope *BlockParen
192 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) function in class:clang::Scope
[all...]
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp630 unsigned Scope = I->first; local
639 if (Reachable.test(Scope)) {
642 for (unsigned S = I->first; S != Scope; S = Scopes[S].ParentScope)
650 if (Scope == 0 || Scope < Min) break;
653 if (Scopes[Scope].OutDiag) break;
655 Scope = Scopes[Scope].ParentScope;
H A DSema.cpp36 #include "clang/Sema/Scope.h"
69 void Sema::ActOnTranslationUnitScope(Scope *S) {
1024 /// \brief Determines the active Scope associated with the given declaration
1027 /// This routine maps a declaration context to the active Scope object that
1031 /// must update the Scope.
1035 Scope *Sema::getScopeForContext(DeclContext *Ctx) {
1041 for (Scope *S = getCurScope(); S; S = S->getParent()) {
1044 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope))
1066 void Sema::PushBlockScope(Scope *BlockScop
1088 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); local
[all...]
H A DSemaTemplateInstantiateDecl.cpp333 LocalInstantiationScope Scope(SemaRef);
804 LocalInstantiationScope Scope(SemaRef);
1011 LocalInstantiationScope Scope(SemaRef);
1091 LocalInstantiationScope Scope(SemaRef);
1250 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
1418 SemaRef.CheckFunctionDeclaration(/*Scope*/ nullptr, Function, Previous,
1526 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
1999 LocalInstantiationScope Scope(SemaRef);
2033 LocalInstantiationScope Scope(SemaRef);
2050 LocalInstantiationScope Scope(SemaRe
2910 LocalInstantiationScope *Scope = SemaRef.CurrentInstantiationScope; local
2979 addInstantiatedParametersToScope(Sema &S, FunctionDecl *Function, const FunctionDecl *PatternDecl, LocalInstantiationScope &Scope, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
/external/chromium_org/v8/src/
H A Disolate.h699 // Scope currently can only be used for regular exceptions,
1510 class Scope { class in class:v8::internal::FINAL
1512 explicit Scope(CodeTracer* tracer) : tracer_(tracer) { tracer->OpenFile(); } function in class:v8::internal::FINAL::Scope
1513 ~Scope() { tracer_->CloseFile(); }
H A Dscopes.cc33 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name,
68 // Implementation of Scope
70 Scope::Scope(Scope* outer_scope, ScopeType scope_type, function in class:v8::internal::Scope
93 Scope::Scope(Scope* inner_scope, function in class:v8::internal::Scope
121 Scope::Scope(Scop function in class:v8::internal::Scope
[all...]
H A Dscopes.h24 Variable* Declare(Scope* scope, const AstRawString* name, VariableMode mode,
41 // are allocated on-demand from Scope::NonLocal to avoid wasting memory
70 class Scope: public ZoneObject { class in namespace:v8::internal
75 Scope(Scope* outer_scope, ScopeType scope_type,
83 static Scope* DeserializeScopeChain(Context* context, Scope* global_scope,
96 Scope* FinalizeBlockScope();
206 // Scope-specific info.
330 ZoneList<Scope*>* inner_scope
[all...]
H A Dparser.h353 typedef v8::internal::Scope Scope; typedef in struct:v8::internal::ParserTraits::Type
354 typedef v8::internal::Scope* ScopePtr;
434 Scope* scope, ObjectLiteralProperty* property, bool* has_function) {
451 void CheckPossibleEvalCall(Expression* expression, Scope* scope);
545 Expression* ThisExpression(Scope* scope,
548 Expression* SuperReference(Scope* scope,
561 const AstRawString* name, int pos, Scope* scope,
577 V8_INLINE Scope* NewScope(Scope* parent_scop
[all...]
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp161 EHCleanupScope *Scope = local
174 return Scope->getCleanupBuffer();
378 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
384 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
418 EHCleanupScope &Scope) {
419 assert(Scope.isNormalCleanup());
420 llvm::BasicBlock *Entry = Scope.getNormalBlock();
423 Scope.setNormalBlock(Entry);
565 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
566 assert(Scope
417 CreateNormalEntry(CodeGenFunction &CGF, EHCleanupScope &Scope) argument
960 EHCleanupScope &Scope = local
970 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I)); local
1046 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C)); local
1102 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
1114 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
[all...]
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DSymtab.py47 # A symbol table entry in a Scope or ModuleNamespace.
253 class Scope(object): class in inherits:object
255 # outer_scope Scope or None Enclosing scope
840 class PreImportScope(Scope):
845 Scope.__init__(self, Options.pre_import, None, None)
854 class BuiltinScope(Scope):
861 Scope.__init__(self, "__builtin__", None, None)
863 Scope.__init__(self, "__builtin__", PreImportScope(), None)
875 return Scope.lookup(self, name)
967 class ModuleScope(Scope)
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2353 MDNode *Scope = nullptr, *IA = nullptr; local
2354 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1));
2356 LastLoc = DebugLoc::get(Line, Col, Scope, IA);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1650 MDNode *Scope, *IA; local
1651 DL.getScopeAndInlinedAt(Scope, IA, I->getContext());
1655 Vals.push_back(Scope ? VE.getValueID(Scope)+1 : 0);
/external/llvm/utils/TableGen/
H A DDAGISelMatcher.h48 Scope, // Push a checking scope. enumerator in enum:llvm::Matcher::KindTy
194 : Matcher(Scope), Children(children.begin(), children.end()) {
224 return N->getKind() == Scope;
502 /// then the match fails. This is semantically equivalent to a Scope node where
556 /// then the match fails. This is semantically equivalent to a Scope node where
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp331 /// Check whether we should create a DIE for the given Scope, return true
333 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { argument
334 if (Scope->isAbstractScope())
338 const SmallVectorImpl<InsnRange> &Ranges = Scope->getRanges();
400 LexicalScope *Scope) {
401 if (isLexicalScopeDIENull(Scope))
405 if (Scope->isAbstractScope())
408 attachRangesOrLowHighPC(TheCU, *ScopeDIE, Scope->getRanges());
417 LexicalScope *Scope) {
418 assert(Scope
399 constructLexicalScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) argument
416 constructInlinedScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) argument
446 constructVariableDIE(DwarfCompileUnit &TheCU, DbgVariable &DV, const LexicalScope &Scope, DIE *&ObjectPointer) argument
456 createScopeChildrenDIE( DwarfCompileUnit &TheCU, LexicalScope *Scope, SmallVectorImpl<std::unique_ptr<DIE>> &Children) argument
488 createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope, DIE &ScopeDIE) argument
500 constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) argument
539 constructSubprogramScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) argument
558 constructScopeDIE(DwarfCompileUnit &TheCU, LexicalScope *Scope) argument
1093 createAbstractVariable(const DIVariable &Var, LexicalScope *Scope) argument
1121 addCurrentFnArgument(DbgVariable *Var, LexicalScope *Scope) argument
1150 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); local
1208 LexicalScope *Scope = nullptr; local
1320 const MDNode *Scope = DL.getScope(Asm->MF->getFunction()->getContext()); local
[all...]

Completed in 3463 milliseconds

123