Home
last modified time | relevance | path

Searched refs:CommonAncestor (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3037 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 DInstCombineSelect.cpp3428 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 DSemaLookup.cpp63 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 DSemaCodeComplete.cpp740 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 DSemaDeclCXX.cpp12155 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 DDeclCXX.cpp2981 DeclContext *CommonAncestor) { in Create() argument
2985 IdentLoc, Used, CommonAncestor); in Create()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1933 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()