Home
last modified time | relevance | path

Searched refs:IsDefinition (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm/lib/IR/
DLLVMContextImpl.h526 bool IsDefinition;
541 bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine,
548 IsDefinition(IsDefinition), ScopeLine(ScopeLine),
558 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
571 IsDefinition == RHS->isDefinition() &&
587 if (!IsDefinition && LinkageName)
603 return isDeclarationOfODRMember(LHS.IsDefinition, LHS.Scope,
613 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
617 if (IsDefinition || !Scope || !LinkageName)
625 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
[all …]
DDebugInfoMetadata.cpp413 bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine, in getImpl() argument
422 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition, in getImpl()
430 IsDefinition, IsOptimized), in getImpl()
511 Metadata *Type, bool IsLocalToUnit, bool IsDefinition, in getImpl() argument
519 IsLocalToUnit, IsDefinition, Variable, in getImpl()
523 DEFINE_GETIMPL_STORE(DIGlobalVariable, (Line, IsLocalToUnit, IsDefinition), in getImpl()
/external/llvm/unittests/IR/
DMetadataTest.cpp1420 bool IsDefinition = true; in TEST_F() local
1435 Type, IsLocalToUnit, IsDefinition, ScopeLine, in TEST_F()
1448 EXPECT_EQ(IsDefinition, N->isDefinition()); in TEST_F()
1461 Type, IsLocalToUnit, IsDefinition, ScopeLine, in TEST_F()
1468 Type, IsLocalToUnit, IsDefinition, ScopeLine, ContainingType, in TEST_F()
1473 IsLocalToUnit, IsDefinition, ScopeLine, ContainingType, in TEST_F()
1477 Type, IsLocalToUnit, IsDefinition, ScopeLine, in TEST_F()
1483 IsLocalToUnit, IsDefinition, ScopeLine, ContainingType, in TEST_F()
1488 IsLocalToUnit, IsDefinition, ScopeLine, ContainingType, in TEST_F()
1493 getSubroutineType(), IsLocalToUnit, IsDefinition, in TEST_F()
[all …]
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h1299 unsigned IsDefinition : 1;
1305 bool IsDefinition, bool IsOptimized, ArrayRef<Metadata *> Ops)
1310 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition),
1321 DISubroutineType *Type, bool IsLocalToUnit, bool IsDefinition,
1330 IsLocalToUnit, IsDefinition, ScopeLine, ContainingType,
1338 bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine,
1357 bool IsLocalToUnit, bool IsDefinition, unsigned ScopeLine,
1365 IsDefinition, ScopeLine, ContainingType, Virtuality,
1371 unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition,
1376 (Scope, Name, LinkageName, File, Line, Type, IsLocalToUnit, IsDefinition,
[all …]
/external/clang/include/clang/Lex/
DCodeCompletionHandler.h47 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/external/llvm-project/clang/include/clang/Lex/
DCodeCompletionHandler.h48 virtual void CodeCompleteMacroName(bool IsDefinition) { } in CodeCompleteMacroName() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp760 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
762 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
764 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, in createFunction()
767 if (IsDefinition) in createFunction()
779 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
783 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
798 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
800 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
802 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
805 if (IsDefinition) in createMethod()
DLLVMContextImpl.h704 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
709 if (IsDefinition || !Scope || !LinkageName)
722 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
889 bool IsDefinition;
896 bool IsLocalToUnit, bool IsDefinition,
901 IsDefinition(IsDefinition),
908 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
918 IsDefinition == RHS->isDefinition() &&
934 IsLocalToUnit, IsDefinition, /* AlignInBits, */
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp231 const VariantMatcher IsDefinition = constructMatcher("isDefinition"); in TEST_F() local
233 constructMatcher("varDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
235 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
237 constructMatcher("functionDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
/external/llvm-project/llvm/lib/IR/
DDIBuilder.cpp804 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createFunction() local
806 /*IsDistinct=*/IsDefinition, VMContext, getNonCompileUnitScope(Context), in createFunction()
808 SPFlags, IsDefinition ? CUNode : nullptr, TParams, Decl, in createFunction()
811 if (IsDefinition) in createFunction()
823 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createTempFunctionFwdDecl() local
827 IsDefinition ? CUNode : nullptr, TParams, in createTempFunctionFwdDecl()
842 bool IsDefinition = SPFlags & DISubprogram::SPFlagDefinition; in createMethod() local
844 /*IsDistinct=*/IsDefinition, VMContext, cast<DIScope>(Context), Name, in createMethod()
846 Flags, SPFlags, IsDefinition ? CUNode : nullptr, TParams, nullptr, in createMethod()
849 if (IsDefinition) in createMethod()
DLLVMContextImpl.h773 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
778 if (IsDefinition || !Scope || !LinkageName)
791 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
972 bool IsDefinition;
979 bool IsLocalToUnit, bool IsDefinition,
984 IsDefinition(IsDefinition),
991 IsLocalToUnit(N->isLocalToUnit()), IsDefinition(N->isDefinition()),
1001 IsDefinition == RHS->isDefinition() &&
1017 IsLocalToUnit, IsDefinition, /* AlignInBits, */
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp230 const VariantMatcher IsDefinition = constructMatcher("isDefinition"); in TEST_F() local
232 constructMatcher("varDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
234 constructMatcher("recordDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
236 constructMatcher("functionDecl", IsDefinition).getTypedMatcher<Decl>(); in TEST_F()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp76 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition, in LLVMDIBuilderCreateFunction() argument
82 IsLocalToUnit, IsDefinition, ScopeLine, Flags, in LLVMDIBuilderCreateFunction()
DDIBuilderBindings.h57 LLVMMetadataRef CompositeType, int IsLocalToUnit, int IsDefinition,
Ddibuilder.go188 IsDefinition bool member
209 boolToCInt(f.IsDefinition),
/external/clang/lib/AST/
DDeclBase.cpp543 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
544 IsDefinition = false; in canBeWeakImported()
549 IsDefinition = true; in canBeWeakImported()
557 IsDefinition = true; in canBeWeakImported()
574 bool IsDefinition; in isWeakImported() local
575 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
/external/llvm-project/llvm/bindings/go/llvm/
Dir_test.go124 IsDefinition: true,
/external/llvm-project/llvm/unittests/IR/
DMetadataTest.cpp2207 bool IsDefinition = true; in TEST_F() local
2222 assert(!IsLocalToUnit && IsDefinition && !IsOptimized && in TEST_F()
2239 EXPECT_EQ(IsDefinition, N->isDefinition()); in TEST_F()
2564 bool IsDefinition = true; in TEST_F() local
2573 IsDefinition, StaticDataMemberDeclaration, templateParams, AlignInBits); in TEST_F()
2583 EXPECT_EQ(IsDefinition, N->isDefinition()); in TEST_F()
2588 Line, Type, IsLocalToUnit, IsDefinition, in TEST_F()
2594 Type, IsLocalToUnit, IsDefinition, in TEST_F()
2597 Line, Type, IsLocalToUnit, IsDefinition, in TEST_F()
2601 Type, IsLocalToUnit, IsDefinition, in TEST_F()
[all …]
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp688 bool Decl::canBeWeakImported(bool &IsDefinition) const { in canBeWeakImported()
689 IsDefinition = false; in canBeWeakImported()
694 IsDefinition = true; in canBeWeakImported()
702 IsDefinition = true; in canBeWeakImported()
719 bool IsDefinition; in isWeakImported() local
720 if (!canBeWeakImported(IsDefinition)) in isWeakImported()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDebugInfoMetadata.h1628 static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
1640 (IsDefinition ? SPFlagDefinition : SPFlagZero) |
2628 bool IsDefinition;
2631 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
2634 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
2640 bool IsLocalToUnit, bool IsDefinition,
2645 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
2652 bool IsLocalToUnit, bool IsDefinition,
2667 bool IsLocalToUnit, bool IsDefinition,
2671 IsDefinition, StaticDataMemberDeclaration, TemplateParams,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheck.cpp417 bool IsDefinition = false; in parsePattern() local
448 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
449 SubstNeeded = !IsDefinition; in parsePattern()
450 if (IsDefinition) { in parsePattern()
493 IsDefinition = true; in parsePattern()
503 if (IsDefinition) { in parsePattern()
534 if (IsDefinition) in parsePattern()
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h1847 static DISPFlags toSPFlags(bool IsLocalToUnit, bool IsDefinition,
1859 (IsDefinition ? SPFlagDefinition : SPFlagZero) |
2874 bool IsDefinition;
2877 bool IsLocalToUnit, bool IsDefinition, uint32_t AlignInBits,
2880 IsLocalToUnit(IsLocalToUnit), IsDefinition(IsDefinition) {}
2886 bool IsLocalToUnit, bool IsDefinition,
2891 IsLocalToUnit, IsDefinition, StaticDataMemberDeclaration,
2898 bool IsLocalToUnit, bool IsDefinition,
2913 bool IsLocalToUnit, bool IsDefinition,
2917 IsDefinition, StaticDataMemberDeclaration, TemplateParams,
[all …]
/external/googletest/googlemock/scripts/generator/cpp/
Dast.py118 def IsDefinition(self): member in Node
276 def IsDefinition(self): member in Typedef
300 def IsDefinition(self): member in _NestedType
329 def IsDefinition(self): member in Class
372 def IsDefinition(self): member in Function
449 def IsDefinition(self): member in Type
/external/llvm-project/llvm/lib/FileCheck/
DFileCheck.cpp995 bool IsDefinition = false; in parsePattern() local
1026 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern()
1027 SubstNeeded = !IsDefinition; in parsePattern()
1028 if (IsDefinition) { in parsePattern()
1071 IsDefinition = true; in parsePattern()
1083 if (IsDefinition) { in parsePattern()
1114 if (IsDefinition) in parsePattern()
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h540 bool IsDefinition = true) const;

123