Home
last modified time | relevance | path

Searched refs:ByArg (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h41 struct ScalarEnumerationTraits<WholeProgramDevirtResolution::ByArg::Kind> {
43 WholeProgramDevirtResolution::ByArg::Kind &value) {
44 io.enumCase(value, "Indir", WholeProgramDevirtResolution::ByArg::Indir);
46 WholeProgramDevirtResolution::ByArg::UniformRetVal);
48 WholeProgramDevirtResolution::ByArg::UniqueRetVal);
50 WholeProgramDevirtResolution::ByArg::VirtualConstProp);
54 template <> struct MappingTraits<WholeProgramDevirtResolution::ByArg> {
55 static void mapping(IO &io, WholeProgramDevirtResolution::ByArg &res) {
65 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>> {
68 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> &V) {
[all …]
H A DModuleSummaryIndex.h1007 struct ByArg {
1030 std::map<std::vector<uint64_t>, ByArg> ResByArg;
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp638 WholeProgramDevirtResolution::ByArg *Res);
670 WholeProgramDevirtResolution::ByArg *Res,
1494 WholeProgramDevirtResolution::ByArg *Res) { in tryUniformRetValOpt()
1503 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in tryUniformRetValOpt()
1616 CallSiteInfo &CSInfo, WholeProgramDevirtResolution::ByArg *Res, in tryUniqueRetValOpt()
1635 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in tryUniqueRetValOpt()
1723 WholeProgramDevirtResolution::ByArg *ResByArg = nullptr; in tryVirtualConstProp()
1773 ResByArg->TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in tryVirtualConstProp()
2038 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in importResolution()
2041 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: { in importResolution()
[all …]
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp279 for (auto &ByArg : WPD.second.ResByArg) { in computeLTOCacheKey() local
280 AddUint64(ByArg.first.size()); in computeLTOCacheKey()
281 for (uint64_t Arg : ByArg.first) in computeLTOCacheKey()
283 AddUnsigned(ByArg.second.TheKind); in computeLTOCacheKey()
284 AddUint64(ByArg.second.Info); in computeLTOCacheKey()
285 AddUnsigned(ByArg.second.Byte); in computeLTOCacheKey()
286 AddUnsigned(ByArg.second.Bit); in computeLTOCacheKey()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp8194 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> in parseOptionalResByArg()
8211 WholeProgramDevirtResolution::ByArg ByArg; in parseOptionalResByArg() local
8214 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::Indir; in parseOptionalResByArg()
8217 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in parseOptionalResByArg()
8220 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in parseOptionalResByArg()
8223 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in parseOptionalResByArg()
8237 parseUInt64(ByArg.Info)) in parseOptionalResByArg()
8243 parseUInt32(ByArg.Byte)) in parseOptionalResByArg()
8249 parseUInt32(ByArg.Bit)) in parseOptionalResByArg()
8261 ResByArg[Args] = ByArg; in parseOptionalResByArg()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAsmWriter.cpp2938 WholeProgramDevirtResolution::ByArg::Kind K) { in getWholeProgDevirtResByArgKindName()
2940 case WholeProgramDevirtResolution::ByArg::Indir: in getWholeProgDevirtResByArgKindName()
2942 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in getWholeProgDevirtResByArgKindName()
2944 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: in getWholeProgDevirtResByArgKindName()
2946 case WholeProgramDevirtResolution::ByArg::VirtualConstProp: in getWholeProgDevirtResByArgKindName()
3045 WholeProgramDevirtResolution::ByArg::UniformRetVal || in printWPDRes()
3047 WholeProgramDevirtResolution::ByArg::UniqueRetVal) in printWPDRes()
/llvm-project-15.0.7/llvm/include/llvm/AsmParser/
H A DLLParser.h386 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3826 const WholeProgramDevirtResolution::ByArg &ByArg) { in writeWholeProgramDevirtResolutionByArg() argument
3830 NameVals.push_back(ByArg.TheKind); in writeWholeProgramDevirtResolutionByArg()
3831 NameVals.push_back(ByArg.Info); in writeWholeProgramDevirtResolutionByArg()
3832 NameVals.push_back(ByArg.Byte); in writeWholeProgramDevirtResolutionByArg()
3833 NameVals.push_back(ByArg.Bit); in writeWholeProgramDevirtResolutionByArg()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp6883 WholeProgramDevirtResolution::ByArg &B = in parseWholeProgramDevirtResolutionByArg()
6888 static_cast<WholeProgramDevirtResolution::ByArg::Kind>(Record[Slot++]); in parseWholeProgramDevirtResolutionByArg()