/external/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 32 struct CalleeInfo { struct 38 CalleeInfo() : CallsiteCount(0), ProfileCount(0) {} in CalleeInfo() argument 39 CalleeInfo(unsigned CallsiteCount, uint64_t ProfileCount) in CalleeInfo() argument 41 CalleeInfo &operator+=(uint64_t RHSProfileCount) { 234 typedef std::pair<ValueInfo, CalleeInfo> EdgeTy; 260 void addCallGraphEdge(GlobalValue::GUID CalleeGUID, CalleeInfo Info) { in addCallGraphEdge() 267 void addCallGraphEdge(const Value *CalleeV, CalleeInfo Info) { in addCallGraphEdge() 273 void addCallGraphEdges(DenseMap<const Value *, CalleeInfo> &CallGraphEdges) { in addCallGraphEdges()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() 129 return CalleeInfo::HotnessType::Unknown; in getHotness() 131 return CalleeInfo::HotnessType::Hot; in getHotness() 133 return CalleeInfo::HotnessType::Cold; in getHotness() 134 return CalleeInfo::HotnessType::None; in getHotness() 255 MapVector<ValueInfo, CalleeInfo> CallGraphEdges; in computeFunctionSummary() 346 : CalleeInfo::HotnessType::Unknown; in computeFunctionSummary() 348 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 359 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary() 455 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary() [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 55 struct CalleeInfo { struct 74 CalleeInfo() in CalleeInfo() argument 76 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo() argument 104 inline const char *getHotnessName(CalleeInfo::HotnessType HT) { in getHotnessName() argument 106 case CalleeInfo::HotnessType::Unknown: in getHotnessName() 108 case CalleeInfo::HotnessType::Cold: in getHotnessName() 110 case CalleeInfo::HotnessType::None: in getHotnessName() 112 case CalleeInfo::HotnessType::Hot: in getHotnessName() 114 case CalleeInfo::HotnessType::Critical: in getHotnessName() 495 using EdgeTy = std::pair<ValueInfo, CalleeInfo>; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 54 struct CalleeInfo { struct 73 CalleeInfo() in CalleeInfo() argument 75 explicit CalleeInfo(HotnessType Hotness, uint64_t RelBF) in CalleeInfo() argument 103 inline const char *getHotnessName(CalleeInfo::HotnessType HT) { in getHotnessName() argument 105 case CalleeInfo::HotnessType::Unknown: in getHotnessName() 107 case CalleeInfo::HotnessType::Cold: in getHotnessName() 109 case CalleeInfo::HotnessType::None: in getHotnessName() 111 case CalleeInfo::HotnessType::Hot: in getHotnessName() 113 case CalleeInfo::HotnessType::Critical: in getHotnessName() 494 using EdgeTy = std::pair<ValueInfo, CalleeInfo>; [all …]
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() 129 return CalleeInfo::HotnessType::Unknown; in getHotness() 131 return CalleeInfo::HotnessType::Hot; in getHotness() 133 return CalleeInfo::HotnessType::Cold; in getHotness() 134 return CalleeInfo::HotnessType::None; in getHotness() 255 MapVector<ValueInfo, CalleeInfo> CallGraphEdges; in computeFunctionSummary() 346 : CalleeInfo::HotnessType::Unknown; in computeFunctionSummary() 348 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 359 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { in computeFunctionSummary() 456 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | FunctionImport.h | 75 CalleeInfo::HotnessType MaxHotness; 81 ImportFailureInfo(ValueInfo VI, CalleeInfo::HotnessType MaxHotness, in ImportFailureInfo()
|
/external/llvm-project/llvm/include/llvm/Transforms/IPO/ |
D | FunctionImport.h | 75 CalleeInfo::HotnessType MaxHotness; 81 ImportFailureInfo(ValueInfo VI, CalleeInfo::HotnessType MaxHotness, in ImportFailureInfo()
|
/external/llvm-project/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 52 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 52 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 391 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction() 392 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction() 394 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction() 396 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction() 412 Edge.second.getHotness() == CalleeInfo::HotnessType::Hot; in computeImportForFunction() 414 Edge.second.getHotness() == CalleeInfo::HotnessType::Critical; in computeImportForFunction()
|
D | WholeProgramDevirt.cpp | 1069 CalleeInfo CI(CalleeInfo::HotnessType::Hot, /* RelBF = */ 0); in AddCalls()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | FunctionImport.cpp | 392 auto GetBonusMultiplier = [](CalleeInfo::HotnessType Hotness) -> float { in computeImportForFunction() 393 if (Hotness == CalleeInfo::HotnessType::Hot) in computeImportForFunction() 395 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction() 397 if (Hotness == CalleeInfo::HotnessType::Critical) in computeImportForFunction() 413 Edge.second.getHotness() == CalleeInfo::HotnessType::Hot; in computeImportForFunction() 415 Edge.second.getHotness() == CalleeInfo::HotnessType::Critical; in computeImportForFunction()
|
D | WholeProgramDevirt.cpp | 916 CalleeInfo CI(CalleeInfo::HotnessType::Hot, /* RelBF = */ 0); in AddCalls()
|
/external/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 75 DenseMap<const Value *, CalleeInfo> CallGraphEdges; in computeFunctionSummary()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1621 StringRef Name, const CGFunctionInfo &FI, CGCalleeInfo CalleeInfo, in ConstructAttributeList() argument 1635 CalleeInfo.getCalleeFunctionProtoType()); in ConstructAttributeList() 1637 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in ConstructAttributeList() 3511 CGCalleeInfo CalleeInfo, in EmitCall() argument 3908 CGM.ConstructAttributeList(Callee->getName(), CallInfo, CalleeInfo, in EmitCall() 4012 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in EmitCall() 4113 const Decl *TargetDecl = CalleeInfo.getCalleeDecl(); in EmitCall()
|
D | CodeGenModule.h | 986 CGCalleeInfo CalleeInfo, AttributeListType &PAL,
|
D | CodeGenFunction.h | 2819 CGCalleeInfo CalleeInfo = CGCalleeInfo(), 2824 CGCalleeInfo CalleeInfo = CGCalleeInfo(),
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.h | 358 bool ParseHotness(CalleeInfo::HotnessType &Hotness);
|
D | LLParser.cpp | 8352 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in ParseOptionalCalls() 8370 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)}); in ParseOptionalCalls() 8397 bool LLParser::ParseHotness(CalleeInfo::HotnessType &Hotness) { in ParseHotness() 8400 Hotness = CalleeInfo::HotnessType::Unknown; in ParseHotness() 8403 Hotness = CalleeInfo::HotnessType::Cold; in ParseHotness() 8406 Hotness = CalleeInfo::HotnessType::None; in ParseHotness() 8409 Hotness = CalleeInfo::HotnessType::Hot; in ParseHotness() 8412 Hotness = CalleeInfo::HotnessType::Critical; in ParseHotness()
|
/external/llvm-project/llvm/lib/AsmParser/ |
D | LLParser.h | 351 bool parseHotness(CalleeInfo::HotnessType &Hotness);
|
D | LLParser.cpp | 8785 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in parseOptionalCalls() 8803 Calls.push_back(FunctionSummary::EdgeTy{VI, CalleeInfo(Hotness, RelBF)}); in parseOptionalCalls() 8828 bool LLParser::parseHotness(CalleeInfo::HotnessType &Hotness) { in parseHotness() 8831 Hotness = CalleeInfo::HotnessType::Unknown; in parseHotness() 8834 Hotness = CalleeInfo::HotnessType::Cold; in parseHotness() 8837 Hotness = CalleeInfo::HotnessType::None; in parseHotness() 8840 Hotness = CalleeInfo::HotnessType::Hot; in parseHotness() 8843 Hotness = CalleeInfo::HotnessType::Critical; in parseHotness()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.h | 1167 CGCalleeInfo CalleeInfo,
|
D | CGCall.cpp | 1910 StringRef Name, const CGFunctionInfo &FI, CGCalleeInfo CalleeInfo, in ConstructAttributeList() argument 1925 CalleeInfo.getCalleeFunctionProtoType()); in ConstructAttributeList() 1927 const Decl *TargetDecl = CalleeInfo.getCalleeDecl().getDecl(); in ConstructAttributeList() 2083 GetCPUAndFeaturesAttributes(CalleeInfo.getCalleeDecl(), FuncAttrs); in ConstructAttributeList()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5659 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList() 5667 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]); in makeCallList() 5670 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)}); in makeCallList()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 5863 CalleeInfo::HotnessType Hotness = CalleeInfo::HotnessType::Unknown; in makeCallList() 5871 Hotness = static_cast<CalleeInfo::HotnessType>(Record[++I]); in makeCallList() 5874 Ret.push_back(FunctionSummary::EdgeTy{Callee, CalleeInfo(Hotness, RelBF)}); in makeCallList()
|