Searched refs:CommonAncestor (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 3100 DeclContext *CommonAncestor; variable 3107 DeclContext *CommonAncestor) in UsingDirectiveDecl() argument 3110 NominatedNamespace(Nominated), CommonAncestor(CommonAncestor) {} in UsingDirectiveDecl() 3152 DeclContext *getCommonAncestor() { return CommonAncestor; } in getCommonAncestor() 3153 const DeclContext *getCommonAncestor() const { return CommonAncestor; } in getCommonAncestor() 3171 DeclContext *CommonAncestor);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 3519 auto MatchForward = [&](Value *CommonAncestor) { in isSafeToRemoveBitCeilSelect() argument 3521 if (CtlzOp == CommonAncestor) in isSafeToRemoveBitCeilSelect() 3523 if (match(CtlzOp, m_Add(m_Specific(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3528 if (match(CtlzOp, m_Sub(m_APInt(C), m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3533 if (match(CtlzOp, m_Not(m_Specific(CommonAncestor)))) { in isSafeToRemoveBitCeilSelect() 3541 Value *CommonAncestor; in isSafeToRemoveBitCeilSelect() local 3544 } else if (match(Cond0, m_Add(m_Value(CommonAncestor), m_APInt(C)))) { in isSafeToRemoveBitCeilSelect() 3546 if (!MatchForward(CommonAncestor)) in isSafeToRemoveBitCeilSelect()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 62 const DeclContext *CommonAncestor; member in __anon506a0daf0111::UnqualUsingEntry 66 const DeclContext *CommonAncestor) in UnqualUsingEntry() argument 67 : Nominated(Nominated), CommonAncestor(CommonAncestor) { in UnqualUsingEntry() 71 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 | 12483 DeclContext *CommonAncestor = NS; in ActOnUsingDirective() local 12484 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective() 12485 CommonAncestor = CommonAncestor->getParent(); in ActOnUsingDirective() 12489 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 3206 DeclContext *CommonAncestor) { in Create() argument 3210 IdentLoc, Used, CommonAncestor); in Create()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1952 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()
|