Home
last modified time | relevance | path

Searched refs:FromFn (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp711 const Function *FromFn = CurFromI->getFunction(); in isPotentiallyReachable() local
712 if (FromFn == &ToFn) { in isPotentiallyReachable()
744 QueryingAA, IRPosition::function(*FromFn), DepClassTy::OPTIONAL); in isPotentiallyReachable()
747 LLVM_DEBUG(dbgs() << "[AA] " << *CurFromI << " in @" << FromFn->getName() in isPotentiallyReachable()
756 QueryingAA, IRPosition::function(*FromFn), DepClassTy::OPTIONAL); in isPotentiallyReachable()
768 if (A.checkForAllInstructions(ReturnInstCB, FromFn, &QueryingAA, in isPotentiallyReachable()
782 if (!GoBackwardsCB(*FromFn)) in isPotentiallyReachable()
786 << FromFn->getName() << "\n"); in isPotentiallyReachable()
801 Result = !A.checkForAllCallSites(CheckCallSite, *FromFn, in isPotentiallyReachable()
806 << " in @" << FromFn->getName() in isPotentiallyReachable()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp1941 const auto *FromFn = cast<FunctionType>(CanFrom); in IsFunctionConversion() local
1942 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsFunctionConversion()
1951 FromFn = Context.adjustFunctionType(FromFn, FromEInfo.withNoReturn(false)); in IsFunctionConversion()
1955 const auto *FromFPT = dyn_cast<FunctionProtoType>(FromFn); in IsFunctionConversion()
1964 FromFn = FromFPT; in IsFunctionConversion()
1974 FromFn = FromFPT; in IsFunctionConversion()
1984 FromFn = cast<FunctionType>( in IsFunctionConversion()
2004 FromFn = QT->getAs<FunctionType>(); in IsFunctionConversion()
2013 FromFPT = cast<FunctionProtoType>(FromFn); // in case FromFn changed above in IsFunctionConversion()
2024 FromFn = QT->getAs<FunctionType>(); in IsFunctionConversion()
[all …]
H A DSemaExpr.cpp8954 if (const auto *FromFn = in IsInvalidSMECallConversion() local
8957 FromFn->getAArch64SMEAttributes() & FunctionType::SME_AttributeMask; in IsInvalidSMECallConversion()
8973 if (const auto *FromFn = in IsInvalidCmseNSCallConversion() local
8976 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsInvalidCmseNSCallConversion()
H A DSemaChecking.cpp12074 if (const auto *FromFn = From->getAs<FunctionType>()) { in AdjustingCFIUncheckedCallee() local
12076 if (FromFn->getCFIUncheckedCalleeAttr() && in AdjustingCFIUncheckedCallee()
12079 if (!FromFn->getCFIUncheckedCalleeAttr() && in AdjustingCFIUncheckedCallee()