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.h43 struct ScalarEnumerationTraits<WholeProgramDevirtResolution::ByArg::Kind> {
45 WholeProgramDevirtResolution::ByArg::Kind &value) {
46 io.enumCase(value, "Indir", WholeProgramDevirtResolution::ByArg::Indir);
48 WholeProgramDevirtResolution::ByArg::UniformRetVal);
50 WholeProgramDevirtResolution::ByArg::UniqueRetVal);
52 WholeProgramDevirtResolution::ByArg::VirtualConstProp);
56 template <> struct MappingTraits<WholeProgramDevirtResolution::ByArg> {
57 static void mapping(IO &io, WholeProgramDevirtResolution::ByArg &res) {
67 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>> {
70 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> &V) {
[all …]
H A DModuleSummaryIndex.h1241 struct ByArg {
1264 std::map<std::vector<uint64_t>, ByArg> ResByArg;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp670 WholeProgramDevirtResolution::ByArg *Res);
702 WholeProgramDevirtResolution::ByArg *Res,
1643 WholeProgramDevirtResolution::ByArg *Res) { in tryUniformRetValOpt()
1652 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in tryUniformRetValOpt()
1762 CallSiteInfo &CSInfo, WholeProgramDevirtResolution::ByArg *Res, in tryUniqueRetValOpt()
1781 Res->TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in tryUniqueRetValOpt()
1902 WholeProgramDevirtResolution::ByArg *ResByArg = nullptr; in tryVirtualConstProp()
1963 ResByArg->TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in tryVirtualConstProp()
2236 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in importResolution()
2239 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: { in importResolution()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp309 for (auto &ByArg : WPD.second.ResByArg) { in computeLTOCacheKey() local
310 AddUint64(ByArg.first.size()); in computeLTOCacheKey()
311 for (uint64_t Arg : ByArg.first) in computeLTOCacheKey()
313 AddUnsigned(ByArg.second.TheKind); in computeLTOCacheKey()
314 AddUint64(ByArg.second.Info); in computeLTOCacheKey()
315 AddUnsigned(ByArg.second.Byte); in computeLTOCacheKey()
316 AddUnsigned(ByArg.second.Bit); in computeLTOCacheKey()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9410 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg> in parseOptionalResByArg()
9427 WholeProgramDevirtResolution::ByArg ByArg; in parseOptionalResByArg() local
9430 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::Indir; in parseOptionalResByArg()
9433 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniformRetVal; in parseOptionalResByArg()
9436 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::UniqueRetVal; in parseOptionalResByArg()
9439 ByArg.TheKind = WholeProgramDevirtResolution::ByArg::VirtualConstProp; in parseOptionalResByArg()
9453 parseUInt64(ByArg.Info)) in parseOptionalResByArg()
9459 parseUInt32(ByArg.Byte)) in parseOptionalResByArg()
9465 parseUInt32(ByArg.Bit)) in parseOptionalResByArg()
9477 ResByArg[Args] = ByArg; in parseOptionalResByArg()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3278 WholeProgramDevirtResolution::ByArg::Kind K) { in getWholeProgDevirtResByArgKindName()
3280 case WholeProgramDevirtResolution::ByArg::Indir: in getWholeProgDevirtResByArgKindName()
3282 case WholeProgramDevirtResolution::ByArg::UniformRetVal: in getWholeProgDevirtResByArgKindName()
3284 case WholeProgramDevirtResolution::ByArg::UniqueRetVal: in getWholeProgDevirtResByArgKindName()
3286 case WholeProgramDevirtResolution::ByArg::VirtualConstProp: in getWholeProgDevirtResByArgKindName()
3385 WholeProgramDevirtResolution::ByArg::UniformRetVal || in printWPDRes()
3387 WholeProgramDevirtResolution::ByArg::UniqueRetVal) in printWPDRes()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h435 std::map<std::vector<uint64_t>, WholeProgramDevirtResolution::ByArg>
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4338 const WholeProgramDevirtResolution::ByArg &ByArg) { in writeWholeProgramDevirtResolutionByArg() argument
4342 NameVals.push_back(ByArg.TheKind); in writeWholeProgramDevirtResolutionByArg()
4343 NameVals.push_back(ByArg.Info); in writeWholeProgramDevirtResolutionByArg()
4344 NameVals.push_back(ByArg.Byte); in writeWholeProgramDevirtResolutionByArg()
4345 NameVals.push_back(ByArg.Bit); in writeWholeProgramDevirtResolutionByArg()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7469 WholeProgramDevirtResolution::ByArg &B = in parseWholeProgramDevirtResolutionByArg()
7474 static_cast<WholeProgramDevirtResolution::ByArg::Kind>(Record[Slot++]); in parseWholeProgramDevirtResolutionByArg()