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

123

/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp326 : Scope(AvailableValues), LoadScope(AvailableLoads),
333 ScopedHTType::ScopeTy Scope; member in class:__anon11011::EarlyCSE::NodeScope
/external/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.cpp163 EHCleanupScope *Scope = local
176 return Scope->getCleanupBuffer();
381 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
387 Old.strictlyEncloses(Scope.getEnclosingNormalCleanup());
421 EHCleanupScope &Scope) {
422 assert(Scope.isNormalCleanup());
423 llvm::BasicBlock *Entry = Scope.getNormalBlock();
426 Scope.setNormalBlock(Entry);
575 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin()); local
576 assert(Scope
420 CreateNormalEntry(CodeGenFunction &CGF, EHCleanupScope &Scope) argument
965 EHCleanupScope &Scope = local
975 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(I)); local
1051 EHCleanupScope &Scope = cast<EHCleanupScope>(*CGF.EHStack.find(C)); local
1107 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
1119 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.find(C)); local
[all...]
H A DCGBuiltin.cpp1319 llvm::SynchronizationScope Scope; local
1322 Scope = llvm::SingleThread;
1324 Scope = llvm::CrossThread;
1334 Builder.CreateFence(llvm::Acquire, Scope);
1337 Builder.CreateFence(llvm::Release, Scope);
1340 Builder.CreateFence(llvm::AcquireRelease, Scope);
1343 Builder.CreateFence(llvm::SequentiallyConsistent, Scope);
1360 Builder.CreateFence(llvm::Acquire, Scope);
1366 Builder.CreateFence(llvm::Release, Scope);
1371 Builder.CreateFence(llvm::AcquireRelease, Scope);
[all...]
H A DCGDebugInfo.cpp78 llvm::DIDescriptor Scope(DI->LexicalBlockStack.back());
79 CGF.Builder.SetCurrentDebugLocation(llvm::DebugLoc::get(0, 0, Scope));
123 auto *Scope = cast<llvm::MDScope>(LexicalBlockStack.back()); local
126 if (PCLoc.isInvalid() || Scope->getFilename() == PCLoc.getFilename())
129 if (auto *LBF = dyn_cast<llvm::MDLexicalBlockFile>(Scope)) {
135 } else if (isa<llvm::MDLexicalBlock>(Scope) ||
136 isa<llvm::MDSubprogram>(Scope)) {
138 DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc));
2654 llvm::MDNode *Scope = LexicalBlockStack.back();
2656 getLineNumber(CurLoc), getColumnNumber(CurLoc), Scope)); local
2843 auto *Scope = cast<llvm::MDScope>(LexicalBlockStack.back()); local
[all...]
/external/clang/lib/Sema/
H A DSema.cpp36 #include "clang/Sema/Scope.h"
69 void Sema::ActOnTranslationUnitScope(Scope *S) {
1047 /// \brief Determines the active Scope associated with the given declaration
1050 /// This routine maps a declaration context to the active Scope object that
1054 /// must update the Scope.
1058 Scope *Sema::getScopeForContext(DeclContext *Ctx) {
1064 for (Scope *S = getCurScope(); S; S = S->getParent()) {
1067 if (S->getFlags() & (Scope::DeclScope | Scope::TemplateParamScope))
1089 void Sema::PushBlockScope(Scope *BlockScop
1111 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); local
[all...]
H A DSemaTemplateInstantiateDecl.cpp416 LocalInstantiationScope Scope(SemaRef);
889 LocalInstantiationScope Scope(SemaRef);
1096 LocalInstantiationScope Scope(SemaRef);
1176 LocalInstantiationScope Scope(SemaRef);
1338 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
1506 SemaRef.CheckFunctionDeclaration(/*Scope*/ nullptr, Function, Previous,
1614 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
2087 LocalInstantiationScope Scope(SemaRef);
2121 LocalInstantiationScope Scope(SemaRef);
2138 LocalInstantiationScope Scope(SemaRe
3001 LocalInstantiationScope *Scope = SemaRef.CurrentInstantiationScope; local
3070 addInstantiatedParametersToScope(Sema &S, FunctionDecl *Function, const FunctionDecl *PatternDecl, LocalInstantiationScope &Scope, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp304 LexicalScope *Scope, SmallVectorImpl<std::unique_ptr<DIE>> &FinalChildren) {
305 if (!Scope || !Scope->getScopeNode())
308 DIScope DS(Scope->getScopeNode());
310 assert((Scope->getInlinedAt() || !isa<MDSubprogram>(DS)) &&
321 if (Scope->getParent() && isa<MDSubprogram>(DS)) {
322 ScopeDIE = constructInlinedScopeDIE(Scope);
326 createScopeChildrenDIE(Scope, Children);
329 if (DD->isLexicalScopeDIENull(Scope))
336 createScopeChildrenDIE(Scope, Childre
303 constructScopeDIE( LexicalScope *Scope, SmallVectorImpl<std::unique_ptr<DIE>> &FinalChildren) argument
419 constructInlinedScopeDIE(LexicalScope *Scope) argument
449 constructLexicalScopeDIE(LexicalScope *Scope) argument
534 constructVariableDIE( DbgVariable &DV, const LexicalScope &Scope, DIE *&ObjectPointer) argument
542 createScopeChildrenDIE( LexicalScope *Scope, SmallVectorImpl<std::unique_ptr<DIE>> &Children, unsigned *ChildScopeCount) argument
561 constructSubprogramScopeDIE(LexicalScope *Scope) argument
588 createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE) argument
602 constructAbstractSubprogramScopeDIE(LexicalScope *Scope) argument
[all...]
H A DDwarfDebug.cpp314 /// Check whether we should create a DIE for the given Scope, return true
316 bool DwarfDebug::isLexicalScopeDIENull(LexicalScope *Scope) { argument
317 if (Scope->isAbstractScope())
321 const SmallVectorImpl<InsnRange> &Ranges = Scope->getRanges();
339 void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) { argument
340 assert(Scope && Scope->getScopeNode());
341 assert(Scope->isAbstractScope());
342 assert(!Scope->getInlinedAt());
344 const MDNode *SP = Scope
679 createAbstractVariable(const DIVariable &Var, LexicalScope *Scope) argument
719 LexicalScope *Scope = LScopes.findLexicalScope(VI.Loc); local
893 LexicalScope *Scope = nullptr; local
976 const MDNode *Scope = DL.getScope(); local
[all...]
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp830 MDScope *Scope;
832 Scope = TheCU;
834 Scope = *LexicalBlocks.back();
836 DebugLoc::get(AST->getLine(), AST->getCol(), Scope));
1250 DIScope *Scope = KSDbgInfo.LexicalBlocks.back(); local
1254 *Scope, Args[Idx], Unit, Line,
1258 DebugLoc::get(Line, 0, *Scope),
/external/llvm/include/llvm/IR/
H A DMetadata.h539 : TBAA(T), Scope(S), NoAlias(N) {}
542 return TBAA == A.TBAA && Scope == A.Scope && NoAlias == A.NoAlias;
547 explicit operator bool() const { return TBAA || Scope || NoAlias; }
553 MDNode *Scope; member in struct:llvm::AAMDNodes
570 DenseMapInfo<MDNode *>::getHashValue(Val.Scope) ^
H A DDebugInfoMetadata.h696 MDScopeRef Scope, MDTypeRef BaseType,
702 Line, Scope, BaseType, SizeInBits, AlignInBits, OffsetInBits,
707 Metadata *Scope, Metadata *BaseType,
723 unsigned Line, Metadata *Scope, Metadata *BaseType,
727 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
731 MDScopeRef Scope, MDTypeRef BaseType, uint64_t SizeInBits,
734 (Tag, Name, File, Line, Scope, BaseType, SizeInBits,
857 unsigned Line, MDScopeRef Scope, MDTypeRef BaseType,
863 Context, Tag, getCanonicalMDString(Context, Name), File, Line, Scope,
870 unsigned Line, Metadata *Scope, Metadat
694 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, MDFile *File, unsigned Line, MDScopeRef Scope, MDTypeRef BaseType, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, Metadata *ExtraData, StorageType Storage, bool ShouldCreate = true) argument
856 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, Metadata *File, unsigned Line, MDScopeRef Scope, MDTypeRef BaseType, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, uint64_t Flags, DebugNodeArray Elements, unsigned RuntimeLang, MDTypeRef VTableHolder, MDTemplateParameterArray TemplateParams, StringRef Identifier, StorageType Storage, bool ShouldCreate = true) argument
1143 getImpl(LLVMContext &Context, unsigned Line, unsigned Column, MDLocalScope *Scope, MDLocation *InlinedAt, StorageType Storage, bool ShouldCreate = true) argument
1268 getImpl(LLVMContext &Context, MDScopeRef Scope, StringRef Name, StringRef LinkageName, MDFile *File, unsigned Line, MDSubroutineType *Type, bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine, MDTypeRef ContainingType, unsigned Virtuality, unsigned VirtualIndex, unsigned Flags, bool IsOptimized, Constant *Function, MDTemplateParameterArray TemplateParams, MDSubprogram *Declaration, MDLocalVariableArray Variables, StorageType Storage, bool ShouldCreate = true) argument
1475 getImpl(LLVMContext &Context, MDLocalScope *Scope, MDFile *File, unsigned Line, unsigned Column, StorageType Storage, bool ShouldCreate = true) argument
1535 getImpl(LLVMContext &Context, MDLocalScope *Scope, MDFile *File, unsigned Discriminator, StorageType Storage, bool ShouldCreate = true) argument
1594 getImpl(LLVMContext &Context, MDScope *Scope, MDFile *File, StringRef Name, unsigned Line, StorageType Storage, bool ShouldCreate = true) argument
1793 getImpl(LLVMContext &Context, MDScope *Scope, StringRef Name, StringRef LinkageName, MDFile *File, unsigned Line, MDTypeRef Type, bool IsLocalToUnit, bool IsDefinition, Constant *Variable, MDDerivedType *StaticDataMemberDeclaration, StorageType Storage, bool ShouldCreate = true) argument
1877 getImpl(LLVMContext &Context, unsigned Tag, MDScope *Scope, StringRef Name, MDFile *File, unsigned Line, MDTypeRef Type, unsigned Arg, unsigned Flags, StorageType Storage, bool ShouldCreate = true) argument
2181 getImpl(LLVMContext &Context, unsigned Tag, MDScope *Scope, DebugNodeRef Entity, unsigned Line, StringRef Name, StorageType Storage, bool ShouldCreate = true) argument
[all...]
/external/llvm/lib/IR/
H A DDIBuilder.cpp283 MDDerivedType *DIBuilder::createMemberType(MDScope *Scope, StringRef Name, argument
291 MDScopeRef::get(getNonCompileUnitScope(Scope)), MDTypeRef::get(Ty),
301 MDDerivedType *DIBuilder::createStaticMemberType(MDScope *Scope, StringRef Name, argument
309 MDScopeRef::get(getNonCompileUnitScope(Scope)), MDTypeRef::get(Ty), 0, 0,
409 MDCompositeType* DIBuilder::createUnionType(MDScope * Scope, StringRef Name, argument
418 MDScopeRef::get(getNonCompileUnitScope(Scope)), nullptr, SizeInBits,
434 MDScope *Scope, StringRef Name, MDFile *File, unsigned LineNumber,
439 MDScopeRef::get(getNonCompileUnitScope(Scope)),
499 DIBuilder::createForwardDecl(unsigned Tag, StringRef Name, MDScope * Scope, argument
507 MDScopeRef::get(getNonCompileUnitScope(Scope)), nullpt
433 createEnumerationType( MDScope *Scope, StringRef Name, MDFile *File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, DIArray Elements, MDType *UnderlyingType, StringRef UniqueIdentifier) argument
516 createReplaceableCompositeType( unsigned Tag, StringRef Name, MDScope * Scope, MDFile* F, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint64_t AlignInBits, unsigned Flags, StringRef UniqueIdentifier) argument
586 createLocalVariable( unsigned Tag, MDScope *Scope, StringRef Name, MDFile *File, unsigned LineNo, MDType *Ty, bool AlwaysPreserve, unsigned Flags, unsigned ArgNo) argument
702 createNameSpace(MDScope * Scope, StringRef Name, MDFile* File, unsigned LineNo) argument
708 createLexicalBlockFile(MDScope * Scope, MDFile* File, unsigned Discriminator) argument
714 createLexicalBlock(MDScope * Scope, MDFile* File, unsigned Line, unsigned Col) argument
[all...]
H A DLLVMContextImpl.h235 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
238 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope, argument
240 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt) {}
243 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
248 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt();
251 return hash_combine(Line, Column, Scope, InlinedAt);
336 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
345 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
348 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scop
344 MDNodeKeyImpl(unsigned Tag, StringRef Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, Metadata *ExtraData) argument
378 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
390 MDNodeKeyImpl(unsigned Tag, StringRef Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, StringRef Identifier) argument
521 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
540 MDNodeKeyImpl(Metadata *Scope, StringRef Name, StringRef LinkageName, Metadata *File, unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine, Metadata *ContainingType, unsigned Virtuality, unsigned VirtualIndex, unsigned Flags, bool IsOptimized, Metadata *Function, Metadata *TemplateParams, Metadata *Declaration, Metadata *Variables) argument
591 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
596 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Line, unsigned Column) argument
612 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
616 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Discriminator) argument
632 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
637 MDNodeKeyImpl(Metadata *Scope, Metadata *File, StringRef Name, unsigned Line) argument
686 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
697 MDNodeKeyImpl(Metadata *Scope, StringRef Name, StringRef LinkageName, Metadata *File, unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition, Metadata *Variable, Metadata *StaticDataMemberDeclaration) argument
732 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
740 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, StringRef Name, Metadata *File, unsigned Line, Metadata *Type, unsigned Arg, unsigned Flags) argument
807 Metadata *Scope; member in struct:llvm::MDNodeKeyImpl
812 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, unsigned Line, StringRef Name) argument
[all...]
H A DVerifier.cpp985 MDLocalScope *Scope = DL->getInlinedAtScope(); local
986 if (Scope && !Seen.insert(Scope).second)
989 MDSubprogram *SP = Scope ? Scope->getSubprogram() : nullptr;
996 &I, DL, Scope, SP);
/external/llvm/unittests/IR/
H A DMetadataTest.cpp967 MDScopeRef Scope = getSubprogramRef(); local
972 File, 1, Scope, BaseType, 2, 3, 4, 5, ExtraData);
977 EXPECT_EQ(Scope, N->getScope());
985 "something", File, 1, Scope, BaseType, 2, 3,
989 "something", File, 1, Scope, BaseType, 2, 3,
992 File, 1, Scope, BaseType, 2, 3, 4, 5,
995 "something", getFile(), 1, Scope, BaseType, 2,
998 "something", File, 2, Scope, BaseType, 2, 3,
1005 Scope, getBasicType("basic2"), 2, 3, 4, 5, ExtraData));
1007 "something", File, 1, Scope, BaseTyp
1028 MDScopeRef Scope = getSubprogramRef(); local
1047 MDScopeRef Scope = getSubprogramRef(); local
1164 MDScopeRef Scope = getSubprogramRef(); local
1190 MDScopeRef Scope = getSubprogramRef(); local
1422 MDScopeRef Scope = getCompositeType(); local
1567 MDScopeRef Scope = getCompositeType(); local
1605 MDLocalScope *Scope = getSubprogram(); local
1632 MDLocalScope *Scope = getSubprogram(); local
1658 MDScope *Scope = getFile(); local
1734 MDScope *Scope = getSubprogram(); local
1809 MDLocalScope *Scope = getSubprogram(); local
1955 MDScope *Scope = getSubprogram(); local
[all...]
/external/llvm/utils/TableGen/
H A DDAGISelMatcher.h49 Scope, // Push a checking scope. enumerator in enum:llvm::Matcher::KindTy
195 : Matcher(Scope), Children(children.begin(), children.end()) {
225 return N->getKind() == Scope;
503 /// then the match fails. This is semantically equivalent to a Scope node where
557 /// then the match fails. This is semantically equivalent to a Scope node where
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1705 MDNode *Scope = cast<MDNode>(MDValueList.getValueFwdRef(Record[3])); local
1710 (Context, Line, Column, Scope, InlinedAt)),
3388 MDNode *Scope = nullptr, *IA = nullptr; local
3389 if (ScopeID) Scope = cast<MDNode>(MDValueList.getValueFwdRef(ScopeID-1));
3391 LastLoc = DebugLoc::get(Line, Col, Scope, IA);
/external/vogar/lib/
H A Dminiguice.jarjavax/ javax/inject/ javax/inject/Inject.class Inject.java package javax.inject public abstract annotation javax ...
/external/clang/lib/Analysis/
H A DCFG.cpp104 const LocalScope* Scope; member in class:__anon890::LocalScope::const_iterator
107 /// Invalid iterator (with null Scope) has VarIter equal to 0.
115 : Scope(nullptr), VarIter(0) {}
120 : Scope(&S), VarIter(I) {
123 if (VarIter == 0 && Scope)
124 *this = Scope->Prev;
128 assert (Scope && "Dereferencing invalid iterator is not allowed");
130 return &Scope->Vars[VarIter - 1];
137 if (!Scope)
143 *this = Scope
1239 createOrReuseLocalScope(LocalScope* Scope) argument
1275 addLocalScopeForDeclStmt(DeclStmt *DS, LocalScope* Scope) argument
1289 addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope) argument
[all...]
/external/v8/include/
H A Dv8.h4386 class V8_EXPORT Scope { class in class:v8::Isolate
4388 explicit Scope(Isolate* isolate) : isolate_(isolate) { function in class:v8::Isolate::Scope
4392 ~Scope() { isolate_->Exit(); }
4397 // Prevent copying of Scope objects.
4398 Scope(const Scope&);
4399 Scope& operator=(const Scope&);
4417 // Prevent copying of Scope objects.
4436 // Prevent copying of Scope object
5555 class Scope { class in class:v8::Context
5557 explicit V8_INLINE Scope(Handle<Context> context) : context_(context) { function in class:v8::Context::Scope
[all...]
/external/clang/include/clang/Sema/
H A DDeclSpec.h369 // Scope specifier for the type spec, if applicable.
1371 CXXScopeSpec &Scope() { function in struct:clang::DeclaratorChunk::MemberPointerTypeInfo
1374 const CXXScopeSpec &Scope() const { function in struct:clang::DeclaratorChunk::MemberPointerTypeInfo
1378 Scope().~CXXScopeSpec();

Completed in 967 milliseconds

123