Home
last modified time | relevance | path

Searched refs:FunctionSummary (Results 1 – 8 of 8) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DFunctionSummary.h32 class FunctionSummary {
50 FunctionSummary() : in FunctionSummary() function
56 typedef llvm::DenseMap<const Decl *, FunctionSummary> MapTy;
65 typedef std::pair<const Decl *, FunctionSummary> KVPair; in findOrInsertSummary()
66 I = Map.insert(KVPair(D, FunctionSummary())).first; in findOrInsertSummary()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp143 if (auto *FuncSummary = dyn_cast<FunctionSummary>(&Summary)) { in eligibleForImport()
145 FuncSummary->calls(), [&](const FunctionSummary::EdgeTy &Edge) { in eligibleForImport()
186 auto *Summary = cast<FunctionSummary>(GVSummary); in selectCallee()
260 using EdgeInfo = std::pair<const FunctionSummary *, unsigned /* Threshold */>;
266 const FunctionSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForFunction()
286 const FunctionSummary *ResolvedCalleeSummary; in computeImportForFunction()
288 ResolvedCalleeSummary = cast<FunctionSummary>( in computeImportForFunction()
294 ResolvedCalleeSummary = cast<FunctionSummary>(CalleeSummary); in computeImportForFunction()
350 auto *FuncSummary = dyn_cast<FunctionSummary>(Summary); in ComputeImportForModule()
/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp99 std::unique_ptr<FunctionSummary> FuncSummary = in computeFunctionSummary()
100 llvm::make_unique<FunctionSummary>(Flags, NumInsts); in computeFunctionSummary()
/external/clang/lib/StaticAnalyzer/Core/
DCMakeLists.txt29 FunctionSummary.cpp
/external/llvm/lib/IR/
DModuleSummaryIndex.cpp75 auto *Summary = dyn_cast_or_null<FunctionSummary>(GlobSummary.get()); in collectDefinedFunctionsForModule()
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h231 class FunctionSummary : public GlobalValueSummary {
246 FunctionSummary(GVFlags Flags, unsigned NumInsts) in FunctionSummary() function
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp3207 FunctionSummary *FS = cast<FunctionSummary>(Summary); in writePerModuleFunctionSummaryRecord()
3219 std::vector<FunctionSummary::EdgeTy> Calls = FS->calls(); in writePerModuleFunctionSummaryRecord()
3221 [this](const FunctionSummary::EdgeTy &L, in writePerModuleFunctionSummaryRecord()
3222 const FunctionSummary::EdgeTy &R) { in writePerModuleFunctionSummaryRecord()
3463 auto *FS = cast<FunctionSummary>(S); in writeCombinedGlobalValueSummary()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp6180 std::unique_ptr<FunctionSummary> FS = in parseEntireSummary()
6181 llvm::make_unique<FunctionSummary>(Flags, InstCount); in parseEntireSummary()
6273 std::unique_ptr<FunctionSummary> FS = in parseEntireSummary()
6274 llvm::make_unique<FunctionSummary>(Flags, InstCount); in parseEntireSummary()