Home
last modified time | relevance | path

Searched refs:RawFlags (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp956 static FunctionSummary::FFlags getDecodedFFlags(uint64_t RawFlags) { in getDecodedFFlags() argument
958 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() argument
973 auto Linkage = GlobalValue::LinkageTypes(RawFlags & 0xF); // 4 bits in getDecodedGVSummaryFlags()
974 RawFlags = RawFlags >> 4; in getDecodedGVSummaryFlags()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1003 uint64_t RawFlags = 0; in getEncodedFFlags() local
1004 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() local
1017 RawFlags |= Flags.NotEligibleToImport; // bool in getEncodedGVSummaryFlags()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp724 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags() argument
729 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() local
6179 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()
6218 uint64_t RawFlags = Record[1]; in parseEntireSummary() local
6220 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()
6244 uint64_t RawFlags = Record[1]; in parseEntireSummary() local
6245 auto Flags = getDecodedGVSummaryFlags(RawFlags, Version); in parseEntireSummary()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp944 uint64_t RawFlags = 0; in getEncodedGVSummaryFlags() local
946 RawFlags |= Flags.HasSection; // bool in getEncodedGVSummaryFlags()
951 RawFlags = (RawFlags << 4) | Flags.Linkage; // 4 bits in getEncodedGVSummaryFlags()
953 return RawFlags; in getEncodedGVSummaryFlags()