Home
last modified time | relevance | path

Searched refs:CalledFn (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1818 Function *CalledFn = CI->getCalledFunction(); in hasOnlyColdCalls() local
1819 if (!CalledFn) in hasOnlyColdCalls()
1821 if (!CalledFn->hasLocalLinkage()) in hasOnlyColdCalls()
1824 if (CalledFn->getIntrinsicID() != Intrinsic::not_intrinsic) in hasOnlyColdCalls()
1827 if (!hasChangeableCC(CalledFn) || CalledFn->isVarArg() || in hasOnlyColdCalls()
1828 CalledFn->hasAddressTaken()) in hasOnlyColdCalls()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp1676 const FunctionDecl *CalledFn = CE->getDirectCallee(); in setup() local
1677 if (!CalledFn) in setup()
1681 unsigned NumFnParams = CalledFn->getNumParams(); in setup()
1683 if (CalledFn->getParamDecl(Idx) == PassedToParam) in setup()
1688 {CalledFn->getCanonicalDecl(), *TargetIdx}); in setup()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp970 auto *CalledFn = in removeImplausibleInstructions() local
972 if (CalledFn && ((CalledFn->isIntrinsic() && CB->doesNotThrow()) || in removeImplausibleInstructions()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp840 auto *CalledFn = in PropagateOperandBundles() local
842 if (CalledFn && CalledFn->isIntrinsic() && I->doesNotThrow() && in PropagateOperandBundles()
843 !IntrinsicInst::mayLowerToFunctionCall(CalledFn->getIntrinsicID())) in PropagateOperandBundles()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp1007 if (Function *CalledFn = Call->getCalledFunction()) in calcZeroHeuristics() local
1008 TLI->getLibFunc(*CalledFn, Func); in calcZeroHeuristics()