Searched defs:Scope (Results 1 - 25 of 35) sorted by relevance

12

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
H A Dsymbols.h59 typedef struct Scope_Rec Scope; typedef in typeref:struct:Scope_Rec
68 Scope *next, *prev; // doubly-linked list of all scopes
69 Scope *parent;
70 Scope *funScope; // Points to base scope of enclosing function
96 extern Scope *CurrentScope;
97 extern Scope *GlobalScope;
98 extern Scope *ScopeList;
100 Scope *NewScopeInPool(MemoryPool *);
102 void PushScope(Scope *fScope);
103 Scope *PopScop
[all...]
/external/llvm/lib/ExecutionEngine/JIT/
H A DOProfileJITEventListener.cpp75 // Holds the filename of each Scope, so that we can pass a null-terminated
81 const char *getFilename(MDNode *Scope) { argument
82 std::string &Filename = Filenames[Scope];
84 Filename = DIScope(Scope).getFilename();
/external/v8/src/
H A Dpreparser.h107 class Scope { class in class:v8::preparser::PreParser
109 Scope(Scope** variable, ScopeType type) function in class:v8::preparser::PreParser::Scope
118 ~Scope() { *variable_ = prev_; }
129 Scope** const variable_;
130 Scope* const prev_;
153 Scope top_scope(&scope_, kTopLevelScope);
270 Scope* scope_;
H A Dscopes.h51 Variable* Declare(Scope* scope,
63 // are allocated on-demand from Scope::NonLocal to avoid wasting memory
87 class Scope: public ZoneObject { class in namespace:v8::internal
103 Scope(Scope* outer_scope, Type type);
105 virtual ~Scope() { }
112 static Scope* DeserializeScopeChain(CompilationInfo* info,
113 Scope* innermost_scope);
200 // Scope-specific info.
232 Scope* outer_scop
[all...]
H A Dscopes.cc85 Variable* VariableMap::Declare(Scope* scope,
112 // Implementation of Scope
116 Scope::Scope(Type type) function in class:v8::internal::Scope
128 Scope::Scope(Scope* outer_scope, Type type) function in class:v8::internal::Scope
145 Scope::Scope(Scope* inner_scop function in class:v8::internal::Scope
[all...]
H A Dheap.h2009 class Scope BASE_EMBEDDED {
2021 Scope(GCTracer* tracer, ScopeId scope) function in class:v8::internal::BASE_EMBEDDED::BASE_EMBEDDED
2027 ~Scope() {
2102 double scopes_[Scope::kNumberOfScopes];
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp98 MDNode *Scope, *IA; local
99 I->getDebugLoc().getScopeAndInlinedAt(Scope, IA, I->getContext());
100 if (Scope) EnumerateMetadata(Scope);
H A DBitcodeWriter.cpp1392 MDNode *Scope, *IA; local
1393 DL.getScopeAndInlinedAt(Scope, IA, I->getContext());
1397 Vals.push_back(Scope ? VE.getValueID(Scope)+1 : 0);
/external/llvm/lib/CodeGen/
H A DLexicalScopes.cpp117 MDNode *Scope = NULL; local
119 DL.getScopeAndInlinedAt(Scope, IA, MF->getFunction()->getContext());
120 if (!Scope) return NULL;
124 DIDescriptor D = DIDescriptor(Scope);
126 Scope = DILexicalBlockFile(Scope).getScope();
130 return LexicalScopeMap.lookup(Scope);
136 MDNode *Scope = NULL; local
138 DL.getScopeAndInlinedAt(Scope, InlinedAt, MF->getFunction()->getContext());
142 getOrCreateAbstractScope(Scope);
151 getOrCreateRegularScope(MDNode *Scope) argument
175 getOrCreateInlinedScope(MDNode *Scope, MDNode *InlinedAt) argument
214 constructScopeNest(LexicalScope *Scope) argument
271 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
293 LexicalScope *Scope = getOrCreateLexicalScope(DL); local
[all...]
H A DMachineCSE.cpp341 ScopeType *Scope = new ScopeType(VNT); local
342 ScopeMap[MBB] = Scope;
/external/llvm/lib/VMCore/
H A DDebugLoc.cpp47 /// Return both the Scope and the InlinedAt values.
48 void DebugLoc::getScopeAndInlinedAt(MDNode *&Scope, MDNode *&IA, argument
51 Scope = IA = 0;
60 Scope = Ctx.pImpl->ScopeRecords[ScopeIdx-1].get();
68 Scope = Ctx.pImpl->ScopeInlinedAtRecords[-ScopeIdx-1].first.get();
74 MDNode *Scope, MDNode *InlinedAt) {
78 if (Scope == 0) return Result;
85 LLVMContext &Ctx = Scope->getContext();
89 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeRecordIdxEntry(Scope, 0);
91 Result.ScopeIdx = Ctx.pImpl->getOrAddScopeInlinedAtIdxEntry(Scope,
73 get(unsigned Line, unsigned Col, MDNode *Scope, MDNode *InlinedAt) argument
190 getOrAddScopeRecordIdxEntry(MDNode *Scope, int ExistingIdx) argument
213 getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA, int ExistingIdx) argument
[all...]
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h200 enum ContextKind { StackFrame, Scope, Block }; enumerator in enum:clang::LocationContext::ContextKind
310 : LocationContext(Scope, ctx, parent), Enter(s) {}
319 ProfileCommon(ID, Scope, ctx, parent, s);
323 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.
26 /// Scope - A scope is a transient data structure that is used while parsing the
30 class Scope { class in namespace:clang
95 Scope *AnyParent;
115 Scope *FnParent;
120 Scope *BreakParent, *ContinueParent;
125 Scope *ControlParent;
129 Scope *BlockParen
159 Scope(Scope *Parent, unsigned ScopeFlags, DiagnosticsEngine &Diag) function in class:clang::Scope
[all...]
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp606 unsigned Scope = I->first; local
615 if (Reachable.test(Scope)) {
618 for (unsigned S = I->first; S != Scope; S = Scopes[S].ParentScope)
626 if (Scope == 0 || Scope < Min) break;
629 if (Scopes[Scope].OutDiag) break;
631 Scope = Scopes[Scope].ParentScope;
H A DSema.cpp26 #include "clang/Sema/Scope.h"
72 void Sema::ActOnTranslationUnitScope(Scope *S) {
741 /// \brief Determines the active Scope associated with the given declaration
744 /// This routine maps a declaration context to the active Scope object that
748 /// must update the Scope.
752 Scope *Sema::getScopeForContext(DeclContext *Ctx) {
758 for (Scope *S = getCurScope(); S; S = S->getParent()) {
761 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope))
783 void Sema::PushBlockScope(Scope *BlockScop
790 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); local
[all...]
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
H A Dprocess.js251 /* -----[ Scope and mangling ]----- */
253 function Scope(parent) { class
283 Scope.prototype = {
365 current_scope = new Scope(current_scope);
/external/llvm/lib/Analysis/
H A DDebugInfo.cpp758 DIScope Scope(DL.getScope(Ctx));
760 if (Scope.Verify())
761 CommentOS << Scope.getFilename();
967 DIDescriptor Scope(Loc.getScope(Ctx));
969 if (Scope.isCompileUnit())
970 addCompileUnit(DICompileUnit(Scope));
971 else if (Scope.isSubprogram())
972 processSubprogram(DISubprogram(Scope));
973 else if (Scope.isLexicalBlockFile()) {
974 DILexicalBlockFile DBF = DILexicalBlockFile(Scope);
1127 getDISubprogram(const MDNode *Scope) argument
[all...]
H A DDIBuilder.cpp311 DIType DIBuilder::createMemberType(DIDescriptor Scope, StringRef Name, argument
319 getNonCompileUnitScope(Scope),
452 DIType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name, argument
460 getNonCompileUnitScope(Scope),
499 DIType DIBuilder::createEnumerationType(DIDescriptor Scope, StringRef Name, argument
507 getNonCompileUnitScope(Scope),
701 DIVariable DIBuilder::createLocalVariable(unsigned Tag, DIDescriptor Scope, argument
708 getNonCompileUnitScope(Scope),
721 DISubprogram Fn(getDISubprogram(Scope));
730 DIVariable DIBuilder::createComplexVariable(unsigned Tag, DIDescriptor Scope, argument
842 createNameSpace(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo) argument
856 createLexicalBlockFile(DIDescriptor Scope, DIFile File) argument
866 createLexicalBlock(DIDescriptor Scope, DIFile File, unsigned Line, unsigned Col) argument
[all...]
/external/v8/src/ia32/
H A Dassembler-ia32.h442 // Supported features must be enabled by a Scope before use.
445 // CpuFeatures::Scope fscope(SSE2);
483 class Scope BASE_EMBEDDED {
486 explicit Scope(CpuFeature f) { function in class:v8::internal::CpuFeatures::BASE_EMBEDDED
498 ~Scope() {
509 explicit Scope(CpuFeature f) {}
/external/v8/src/mips/
H A Dassembler-mips.h344 // Supported features must be enabled by a Scope before use.
363 class Scope BASE_EMBEDDED {
366 explicit Scope(CpuFeature f) function in class:v8::internal::CpuFeatures::BASE_EMBEDDED
375 ~Scope() {
385 explicit Scope(CpuFeature f) {}
/external/v8/src/x64/
H A Dassembler-x64.h429 // Supported features must be enabled by a Scope before use.
432 // CpuFeatures::Scope fscope(SSE3);
470 class Scope BASE_EMBEDDED {
473 explicit Scope(CpuFeature f) { function in class:v8::internal::CpuFeatures::BASE_EMBEDDED
485 ~Scope() {
496 explicit Scope(CpuFeature f) {}
/external/clang/lib/CodeGen/
H A DCGCleanup.cpp156 EHCleanupScope *Scope = local
169 return Scope->getCleanupBuffer();
374 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
380 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
387 EHCleanupScope &Scope) {
388 assert(Scope.isNormalCleanup());
389 llvm::BasicBlock *Entry = Scope.getNormalBlock();
392 Scope.setNormalBlock(Entry);
534 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
535 assert(Scope
386 CreateNormalEntry(CodeGenFunction &CGF, EHCleanupScope &Scope) argument
919 EHCleanupScope &Scope = local
929 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I)); local
1004 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C)); local
1044 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
1055 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
[all...]
H A DCGBuiltin.cpp953 llvm::SynchronizationScope Scope; local
955 Scope = llvm::SingleThread;
957 Scope = llvm::CrossThread;
967 Builder.CreateFence(llvm::Acquire, Scope);
970 Builder.CreateFence(llvm::Release, Scope);
973 Builder.CreateFence(llvm::AcquireRelease, Scope);
976 Builder.CreateFence(llvm::SequentiallyConsistent, Scope);
993 Builder.CreateFence(llvm::Acquire, Scope);
999 Builder.CreateFence(llvm::Release, Scope);
1004 Builder.CreateFence(llvm::AcquireRelease, Scope);
[all...]
/external/v8/src/arm/
H A Dassembler-arm.h474 // Supported features must be enabled by a Scope before use.
504 class Scope BASE_EMBEDDED {
507 explicit Scope(CpuFeature f) { function in class:v8::internal::CpuFeatures::BASE_EMBEDDED
519 ~Scope() {
530 explicit Scope(CpuFeature f) {}
/external/v8/include/
H A Dv8.h2573 class V8EXPORT Scope { class in class:v8::Isolate
2575 explicit Scope(Isolate* isolate) : isolate_(isolate) { function in class:v8::Isolate::Scope
2579 ~Scope() { isolate_->Exit(); }
2584 // Prevent copying of Scope objects.
2585 Scope(const Scope&);
2586 Scope& operator=(const Scope&);
3297 class Scope { class in class:v8::Context
3299 explicit inline Scope(Handl function in class:v8::Context::Scope
[all...]

Completed in 1063 milliseconds

12