• Home
  • Raw
  • Download

Lines Matching refs:FunctionSummary

612 FunctionSummary *findCalleeFunctionSummary(ValueInfo VI, StringRef ModuleId) {  in findCalleeFunctionSummary()
623 if (!isa<FunctionSummary>(GVS->getBaseObject())) in findCalleeFunctionSummary()
654 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(S)) in findCalleeFunctionSummary()
682 const ConstantRange *findParamAccess(const FunctionSummary &FS, in findParamAccess()
708 FunctionSummary *FS = in resolveAllCalls()
824 std::vector<FunctionSummary::ParamAccess>
828 std::vector<FunctionSummary::ParamAccess> ParamAccesses; in getParamAccesses()
838 FunctionSummary::ParamAccess &Param = ParamAccesses.back(); in getParamAccesses()
855 for (FunctionSummary::ParamAccess &Param : ParamAccesses) { in getParamAccesses()
856 sort(Param.Calls, [](const FunctionSummary::ParamAccess::Call &L, in getParamAccesses()
857 const FunctionSummary::ParamAccess::Call &R) { in getParamAccesses()
1007 const ConstantRange FullSet(FunctionSummary::ParamAccess::RangeWidth, true); in generateParamAccessSummary()
1014 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(GV.get())) in generateParamAccessSummary()
1020 std::map<const FunctionSummary *, FunctionInfo<FunctionSummary>> Functions; in generateParamAccessSummary()
1025 FunctionSummary *FS = dyn_cast<FunctionSummary>(GV.get()); in generateParamAccessSummary()
1029 FunctionInfo<FunctionSummary> FI; in generateParamAccessSummary()
1033 .emplace(PS.ParamNo, FunctionSummary::ParamAccess::RangeWidth) in generateParamAccessSummary()
1038 FunctionSummary *S = in generateParamAccessSummary()
1047 US.Calls.emplace(CallInfo<FunctionSummary>(S, Call.ParamNo), in generateParamAccessSummary()
1060 StackSafetyDataFlowAnalysis<FunctionSummary> SSDFA( in generateParamAccessSummary()
1061 FunctionSummary::ParamAccess::RangeWidth, std::move(Functions)); in generateParamAccessSummary()
1063 std::vector<FunctionSummary::ParamAccess> NewParams; in generateParamAccessSummary()
1070 FunctionSummary::ParamAccess &New = NewParams.back(); in generateParamAccessSummary()
1074 const_cast<FunctionSummary *>(KV.first)->setParamAccesses( in generateParamAccessSummary()