Lines Matching refs:Flags

78 static void GetObjCImageInfo(Module &M, unsigned &Version, unsigned &Flags,
96 Flags |= mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue();
103 Flags |= (mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue()) << 8;
105 Flags |= (mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue()) << 24;
107 Flags |= (mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue()) << 16;
388 unsigned Flags = 0;
391 GetObjCImageInfo(M, Version, Flags, Section);
397 Streamer.emitInt32(Flags);
424 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_GROUP;
426 ELF::SHT_PROGBITS, Flags, 0);
536 unsigned Flags = 0;
539 Flags |= ELF::SHF_ALLOC;
542 Flags |= ELF::SHF_EXCLUDE;
545 Flags |= ELF::SHF_EXECINSTR;
548 Flags |= ELF::SHF_ARM_PURECODE;
551 Flags |= ELF::SHF_WRITE;
554 Flags |= ELF::SHF_TLS;
557 Flags |= ELF::SHF_MERGE;
560 Flags |= ELF::SHF_STRINGS;
562 return Flags;
685 /// Calculate an appropriate unique ID for a section, and update Flags,
690 MCContext &Ctx, Mangler &Mang, unsigned &Flags,
703 Flags |= ELF::SHF_LINK_ORDER;
709 Flags |= ELF::SHF_SUNW_NODISCARD;
712 Flags |= ELF::SHF_GNU_RETAIN;
725 Flags &= ~ELF::SHF_MERGE;
730 const bool SymbolMergeable = Flags & ELF::SHF_MERGE;
742 Ctx.getELFUniqueIDForEntsize(SectionName, Flags, EntrySize);
766 unsigned Flags = 0;
768 Flags |= ELF::SHF_GROUP;
773 Flags |= ELF::SHF_X86_64_LARGE;
774 return {Group, IsComdat, Flags};
807 unsigned Flags = getELFSectionFlags(Kind);
809 Flags |= ExtraFlags;
813 GO, SectionName, Kind, TM, Ctx, Mang, Flags, EntrySize, NextUniqueID,
818 SectionName, getELFSectionType(SectionName, Kind), Flags, EntrySize,
854 const TargetMachine &TM, bool EmitUniqueSection, unsigned Flags,
858 Flags |= ExtraFlags;
879 return Ctx.getELFSection(Name, getELFSectionType(Name, Kind), Flags,
887 unsigned Flags, unsigned *NextUniqueID) {
891 Flags |= ELF::SHF_LINK_ORDER;
896 Flags |= ELF::SHF_SUNW_NODISCARD;
900 Flags |= ELF::SHF_GNU_RETAIN;
905 Ctx, GO, Kind, Mang, TM, EmitUniqueSection, Flags,
913 unsigned Flags = getELFSectionFlags(Kind);
918 if (!(Flags & ELF::SHF_MERGE) && !Kind.isCommon()) {
926 Used.count(GO), EmitUniqueSection, Flags,
933 unsigned Flags = getELFSectionFlags(Kind);
943 /*EmitUniqueSection=*/true, Flags, &NextUniqueID);
969 unsigned Flags = LSDA->getFlags();
974 Flags |= ELF::SHF_GROUP;
983 Flags |= ELF::SHF_LINK_ORDER;
992 LSDA->getType(), Flags, 0, Group, IsComdat, MCSection::NonUniqueID,
1064 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_EXECINSTR;
1067 Flags |= ELF::SHF_GROUP;
1070 return getContext().getELFSection(Name, ELF::SHT_PROGBITS, Flags,
1080 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE;
1084 Flags |= ELF::SHF_GROUP;
1110 return Ctx.getELFSection(Name, Type, Flags, 0, Comdat, /*IsComdat=*/true);
1590 unsigned Flags = 0;
1594 Flags |=
1597 Flags |=
1600 Flags |=
1606 Flags |=
1611 Flags |=
1616 Flags |=
1620 Flags |=
1625 return Flags;
1846 unsigned Flags = 0;
1849 GetObjCImageInfo(M, Version, Flags, Section);
1859 Streamer.emitInt32(Flags);
1885 std::string Flags;
1887 raw_string_ostream OS(Flags);
1891 if (!Flags.empty()) {
1893 Streamer.emitBytes(Flags);
1895 Flags.clear();
1912 raw_string_ostream OS(Flags);
1917 if (!Flags.empty()) {
1919 Streamer.emitBytes(Flags);
1921 Flags.clear();
2145 unsigned Flags = 0;
2148 Flags |= wasm::WASM_SEG_FLAG_TLS;
2151 Flags |= wasm::WASM_SEG_FLAG_STRINGS;
2155 return Flags;
2181 unsigned Flags = getWasmSectionFlags(Kind);
2183 Name, Kind, Flags, Group, MCContext::GenericSectionID);
2215 unsigned Flags = getWasmSectionFlags(Kind);
2216 return Ctx.getWasmSection(Name, Kind, Flags, Group, UniqueID);