Searched refs:RawFlags (Results 1 – 4 of 4) sorted by relevance
956 static FunctionSummary::FFlags getDecodedFFlags(uint64_t RawFlags) { in getDecodedFFlags() argument958 Flags.ReadNone = RawFlags & 0x1; in getDecodedFFlags()959 Flags.ReadOnly = (RawFlags >> 1) & 0x1; in getDecodedFFlags()960 Flags.NoRecurse = (RawFlags >> 2) & 0x1; in getDecodedFFlags()961 Flags.ReturnDoesNotAlias = (RawFlags >> 3) & 0x1; in getDecodedFFlags()962 Flags.NoInline = (RawFlags >> 4) & 0x1; in getDecodedFFlags()963 Flags.AlwaysInline = (RawFlags >> 5) & 0x1; in getDecodedFFlags()968 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags() argument973 auto Linkage = GlobalValue::LinkageTypes(RawFlags & 0xF); // 4 bits in getDecodedGVSummaryFlags()974 RawFlags = RawFlags >> 4; in getDecodedGVSummaryFlags()[all …]
1003 uint64_t RawFlags = 0; in getEncodedFFlags() local1004 RawFlags |= Flags.ReadNone; in getEncodedFFlags()1005 RawFlags |= (Flags.ReadOnly << 1); in getEncodedFFlags()1006 RawFlags |= (Flags.NoRecurse << 2); in getEncodedFFlags()1007 RawFlags |= (Flags.ReturnDoesNotAlias << 3); in getEncodedFFlags()1008 RawFlags |= (Flags.NoInline << 4); in getEncodedFFlags()1009 RawFlags |= (Flags.AlwaysInline << 5); in getEncodedFFlags()1010 return RawFlags; in getEncodedFFlags()1015 uint64_t RawFlags = 0; in getEncodedGVSummaryFlags() local1017 RawFlags |= Flags.NotEligibleToImport; // bool in getEncodedGVSummaryFlags()[all …]
724 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags() argument729 auto Linkage = GlobalValue::LinkageTypes(RawFlags & 0xF); // 4 bits in getDecodedGVSummaryFlags()730 RawFlags = RawFlags >> 4; in getDecodedGVSummaryFlags()731 auto HasSection = RawFlags & 0x1; // bool in getDecodedGVSummaryFlags()6176 uint64_t RawFlags = Record[1]; in parseEntireSummary() local6179 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()6218 uint64_t RawFlags = Record[1]; in parseEntireSummary() local6220 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()6244 uint64_t RawFlags = Record[1]; in parseEntireSummary() local6245 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()[all …]
944 uint64_t RawFlags = 0; in getEncodedGVSummaryFlags() local946 RawFlags |= Flags.HasSection; // bool in getEncodedGVSummaryFlags()951 RawFlags = (RawFlags << 4) | Flags.Linkage; // 4 bits in getEncodedGVSummaryFlags()953 return RawFlags; in getEncodedGVSummaryFlags()