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.h3023 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 DInstCombineSelect.cpp3234 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 DSemaLookup.cpp61 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 DSemaCodeComplete.cpp737 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 DSemaDeclCXX.cpp12241 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 DDeclCXX.cpp2928 DeclContext *CommonAncestor) { in Create() argument
2932 IdentLoc, Used, CommonAncestor); in Create()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1946 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()