Searched refs:OptionBit (Results 1 – 6 of 6) sorted by relevance
18 enum class OptionBit { enum33 bool get(OptionBit Opt) const { return Val & (1U << static_cast<u32>(Opt)); } in get()37 (Val >> static_cast<u32>(OptionBit::FillContents0of2)) & 3); in getFillContentsMode()43 Options.get(OptionBit::UseMemoryTagging); in useMemoryTagging()51 void clear(OptionBit Opt) { in clear()56 void set(OptionBit Opt) { in set()64 NewOpts &= ~(3U << static_cast<u32>(OptionBit::FillContents0of2)); in setFillContentsMode()66 << static_cast<u32>(OptionBit::FillContents0of2); in setFillContentsMode()
152 Primary.Options.set(OptionBit::MayReturnNull); in initLinkerInitialized()158 Primary.Options.set(OptionBit::DeallocTypeMismatch); in initLinkerInitialized()160 Primary.Options.set(OptionBit::DeleteSizeMismatch); in initLinkerInitialized()163 Primary.Options.set(OptionBit::UseMemoryTagging); in initLinkerInitialized()164 Primary.Options.set(OptionBit::UseOddEvenTags); in initLinkerInitialized()281 if (!Options.get(OptionBit::UseOddEvenTags)) in computeOddEvenMaskForPointerMaybe()299 if (Options.get(OptionBit::MayReturnNull))337 if (Options.get(OptionBit::MayReturnNull))370 if (Options.get(OptionBit::MayReturnNull))547 if (Options.get(OptionBit::DeallocTypeMismatch)) {[all …]
482 if (Options.get(OptionBit::AddLargeAllocationSlack)) in allocate()
17 enum class OptionBit { enum31 bool get(OptionBit Opt) const { return Val & (1U << static_cast<u32>(Opt)); } in get()35 (Val >> static_cast<u32>(OptionBit::FillContents0of2)) & 3); in getFillContentsMode()45 void clear(OptionBit Opt) { in clear()50 void set(OptionBit Opt) { in set()58 NewOpts &= ~(3U << static_cast<u32>(OptionBit::FillContents0of2)); in setFillContentsMode()60 << static_cast<u32>(OptionBit::FillContents0of2); in setFillContentsMode()
149 Primary.Options.set(OptionBit::MayReturnNull); in initLinkerInitialized()155 Primary.Options.set(OptionBit::DeallocTypeMismatch); in initLinkerInitialized()157 Primary.Options.set(OptionBit::DeleteSizeMismatch); in initLinkerInitialized()158 Primary.Options.set(OptionBit::UseOddEvenTags); in initLinkerInitialized()258 if (!Options.get(OptionBit::UseOddEvenTags)) in computeOddEvenMaskForPointerMaybe()289 if (Options.get(OptionBit::MayReturnNull))308 if (Options.get(OptionBit::MayReturnNull))344 if (Options.get(OptionBit::MayReturnNull))503 if (Options.get(OptionBit::DeallocTypeMismatch)) {514 if (DeleteSize && Options.get(OptionBit::DeleteSizeMismatch)) {[all …]
98 Options.set(OptionBit::UseMemoryTagging); in initLinkerInitialized()212 return SupportsMemoryTagging && Options.get(OptionBit::UseMemoryTagging); in useMemoryTagging()214 void disableMemoryTagging() { Options.clear(OptionBit::UseMemoryTagging); } in disableMemoryTagging()