Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.h1245 struct ByArg {
1268 std::map<std::vector<uint64_t>, ByArg> ResByArg;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp639 WholeProgramDevirtResolution::ByArg *Res);
671 WholeProgramDevirtResolution::ByArg *Res,
1590 WholeProgramDevirtResolution::ByArg *Res) { in tryUniformRetValOpt()
1599 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in tryUniformRetValOpt()
1711 CallSiteInfo &CSInfo, WholeProgramDevirtResolution::ByArg *Res, in tryUniqueRetValOpt()
1730 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in tryUniqueRetValOpt()
1829 WholeProgramDevirtResolution::ByArg *ResByArg = nullptr; in tryVirtualConstProp()
1879 ResByArg->TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in tryVirtualConstProp()
2154 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in importResolution()
2157 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: { in importResolution()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp318 for (auto &ByArg : WPD.second.ResByArg) { in computeLTOCacheKey() local
319 AddUint64(ByArg.first.size()); in computeLTOCacheKey()
320 for (uint64_t Arg : ByArg.first) in computeLTOCacheKey()
322 AddUnsigned(ByArg.second.TheKind); in computeLTOCacheKey()
323 AddUint64(ByArg.second.Info); in computeLTOCacheKey()
324 AddUnsigned(ByArg.second.Byte); in computeLTOCacheKey()
325 AddUnsigned(ByArg.second.Bit); in computeLTOCacheKey()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9083 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> in parseOptionalResByArg()
9100 WholeProgramDevirtResolution::ByArg ByArg; in parseOptionalResByArg() local
9103 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::Indir; in parseOptionalResByArg()
9106 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in parseOptionalResByArg()
9109 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in parseOptionalResByArg()
9112 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in parseOptionalResByArg()
9126 parseUInt64(ByArg.Info)) in parseOptionalResByArg()
9132 parseUInt32(ByArg.Byte)) in parseOptionalResByArg()
9138 parseUInt32(ByArg.Bit)) in parseOptionalResByArg()
9150 ResByArg[Args] = ByArg; in parseOptionalResByArg()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3115 WholeProgramDevirtResolution::ByArg::Kind K) { in getWholeProgDevirtResByArgKindName()
3117 case WholeProgramDevirtResolution::ByArg::Indir: in getWholeProgDevirtResByArgKindName()
3119 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in getWholeProgDevirtResByArgKindName()
3121 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: in getWholeProgDevirtResByArgKindName()
3123 case WholeProgramDevirtResolution::ByArg::VirtualConstProp: in getWholeProgDevirtResByArgKindName()
3222 WholeProgramDevirtResolution::ByArg::UniformRetVal || in printWPDRes()
3224 WholeProgramDevirtResolution::ByArg::UniqueRetVal) in printWPDRes()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h431 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4105 const WholeProgramDevirtResolution::ByArg &ByArg) { in writeWholeProgramDevirtResolutionByArg() argument
4109 NameVals.push_back(ByArg.TheKind); in writeWholeProgramDevirtResolutionByArg()
4110 NameVals.push_back(ByArg.Info); in writeWholeProgramDevirtResolutionByArg()
4111 NameVals.push_back(ByArg.Byte); in writeWholeProgramDevirtResolutionByArg()
4112 NameVals.push_back(ByArg.Bit); in writeWholeProgramDevirtResolutionByArg()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7405 WholeProgramDevirtResolution::ByArg &B = in parseWholeProgramDevirtResolutionByArg()
7410 static_cast<WholeProgramDevirtResolution::ByArg::Kind>(Record[Slot++]); in parseWholeProgramDevirtResolutionByArg()