Searched refs:CommonAncestor (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3023 DeclContext *CommonAncestor; variable 3030 DeclContext *CommonAncestor) in UsingDirectiveDecl() argument 3033 NominatedNamespace(Nominated), CommonAncestor(CommonAncestor) {} in UsingDirectiveDecl() 3075 DeclContext *getCommonAncestor() { return CommonAncestor; } in getCommonAncestor() 3076 const DeclContext *getCommonAncestor() const { return CommonAncestor; } in getCommonAncestor() 3094 DeclContext *CommonAncestor);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 3234 auto MatchForward = [&](Value *CommonAncestor) { in isSafeToRemoveBitCeilSelect() argument 3236 if (CtlzOp == CommonAncestor) in isSafeToRemoveBitCeilSelect() 3238 if (match(CtlzOp, m_Add(m_Specific(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3242 if (match(CtlzOp, m_Sub(m_APInt(C), m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3247 if (match(CtlzOp, m_Not(m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3255 Value *CommonAncestor; in isSafeToRemoveBitCeilSelect() local 3258 } else if (match(Cond0, m_Add(m_Value(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3260 if (!MatchForward(CommonAncestor)) in isSafeToRemoveBitCeilSelect()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLookup.cpp | 61 const DeclContext *CommonAncestor; member in __anon9467d2770111::UnqualUsingEntry 65 const DeclContext *CommonAncestor) in UnqualUsingEntry() argument 66 : Nominated(Nominated), CommonAncestor(CommonAncestor) { in UnqualUsingEntry() 70 return CommonAncestor; in getCommonAncestor()
|
H A D | SemaCodeComplete.cpp | 737 for (const DeclContext *CommonAncestor = TargetContext; in getRequiredQualification() local 738 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification() 739 CommonAncestor = CommonAncestor->getLookupParent()) { in getRequiredQualification() 740 if (CommonAncestor->isTransparentContext() || in getRequiredQualification() 741 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification() 744 TargetParents.push_back(CommonAncestor); in getRequiredQualification()
|
H A D | SemaDeclCXX.cpp | 12241 DeclContext *CommonAncestor = NS; in ActOnUsingDirective() local 12242 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective() 12243 CommonAncestor = CommonAncestor->getParent(); in ActOnUsingDirective() 12247 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2928 DeclContext *CommonAncestor) { in Create() argument 2932 IdentLoc, Used, CommonAncestor); in Create()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1946 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()
|