Searched refs:CommonAncestor (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3037 DeclContext *CommonAncestor; variable 3044 DeclContext *CommonAncestor) in UsingDirectiveDecl() argument 3047 NominatedNamespace(Nominated), CommonAncestor(CommonAncestor) {} in UsingDirectiveDecl() 3089 DeclContext *getCommonAncestor() { return CommonAncestor; } in getCommonAncestor() 3090 const DeclContext *getCommonAncestor() const { return CommonAncestor; } in getCommonAncestor() 3108 DeclContext *CommonAncestor);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 3428 auto MatchForward = [&](Value *CommonAncestor) { in isSafeToRemoveBitCeilSelect() argument 3430 if (CtlzOp == CommonAncestor) in isSafeToRemoveBitCeilSelect() 3432 if (match(CtlzOp, m_Add(m_Specific(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3436 if (match(CtlzOp, m_Sub(m_APInt(C), m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3441 if (match(CtlzOp, m_Not(m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3449 Value *CommonAncestor; in isSafeToRemoveBitCeilSelect() local 3452 } else if (match(Cond0, m_Add(m_Value(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3454 if (!MatchForward(CommonAncestor)) in isSafeToRemoveBitCeilSelect()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 63 const DeclContext *CommonAncestor; member in __anon506a0daf0111::UnqualUsingEntry 67 const DeclContext *CommonAncestor) in UnqualUsingEntry() argument 68 : Nominated(Nominated), CommonAncestor(CommonAncestor) { in UnqualUsingEntry() 72 return CommonAncestor; in getCommonAncestor()
|
H A D | SemaCodeComplete.cpp | 740 for (const DeclContext *CommonAncestor = TargetContext; in getRequiredQualification() local 741 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification() 742 CommonAncestor = CommonAncestor->getLookupParent()) { in getRequiredQualification() 743 if (CommonAncestor->isTransparentContext() || in getRequiredQualification() 744 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification() 747 TargetParents.push_back(CommonAncestor); in getRequiredQualification()
|
H A D | SemaDeclCXX.cpp | 12155 DeclContext *CommonAncestor = NS; in ActOnUsingDirective() local 12156 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective() 12157 CommonAncestor = CommonAncestor->getParent(); in ActOnUsingDirective() 12161 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2981 DeclContext *CommonAncestor) { in Create() argument 2985 IdentLoc, Used, CommonAncestor); in Create()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1933 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()
|