| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | FMF.h | 25 unsigned Flags = 0; variable 31 if (F == 0x7F) Flags = ~0U; in FastMathFlags() 32 else Flags = F; in FastMathFlags() 58 bool any() const { return Flags != 0; } in any() 59 bool none() const { return Flags == 0; } in none() 60 bool all() const { return Flags == ~0U; } in all() 62 void clear() { Flags = 0; } in clear() 63 void set() { Flags = ~0U; } in set() 66 bool allowReassoc() const { return 0 != (Flags & AllowReassoc); } in allowReassoc() 67 bool noNaNs() const { return 0 != (Flags & NoNaNs); } in noNaNs() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/MC/ |
| D | MCInstrDesc.h | 94 uint8_t Flags; variable 105 return Flags & (1 << MCOI::LookupPtrRegClass); in isLookupPtrRegClass() 110 bool isPredicate() const { return Flags & (1 << MCOI::Predicate); } in isPredicate() 113 bool isOptionalDef() const { return Flags & (1 << MCOI::OptionalDef); } in isOptionalDef() 116 bool isBranchTarget() const { return Flags & (1 << MCOI::BranchTarget); } in isBranchTarget() 212 uint64_t Flags; // Flags identifying machine instr class variable 255 uint64_t getFlags() const { return Flags; } in getFlags() 259 bool isPreISelOpcode() const { return Flags & (1ULL << MCID::PreISelOpcode); } in isPreISelOpcode() 265 bool isVariadic() const { return Flags & (1ULL << MCID::Variadic); } in isVariadic() 269 bool hasOptionalDef() const { return Flags & (1ULL << MCID::HasOptionalDef); } in hasOptionalDef() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Demangle/ |
| D | MicrosoftDemangleNodes.cpp | 120 std::string Node::toString(OutputFlags Flags) const { in toString() 122 this->output(OB, Flags); in toString() 129 void PrimitiveTypeNode::outputPre(OutputBuffer &OB, OutputFlags Flags) const { in outputPre() 156 void NodeArrayNode::output(OutputBuffer &OB, OutputFlags Flags) const { in output() 157 output(OB, Flags, ", "); in output() 160 void NodeArrayNode::output(OutputBuffer &OB, OutputFlags Flags, in output() argument 165 Nodes[0]->output(OB, Flags); in output() 168 Nodes[I]->output(OB, Flags); in output() 173 OutputFlags Flags) const { in output() 193 void IntegerLiteralNode::output(OutputBuffer &OB, OutputFlags Flags) const { in output() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| D | FuzzerDriver.cpp | 67 } Flags; variable 73 {#Name, Description, Default, &Flags.Name, nullptr, nullptr}, 76 nullptr, nullptr, &Flags.Name}, 78 {#Name, Description, 0, nullptr, &Flags.Name, nullptr}, 164 if (Flags.verbosity >= 2) in ParseOneFlag() 170 if (Flags.verbosity >= 2) in ParseOneFlag() 175 if (Flags.verbosity >= 2) in ParseOneFlag() 204 Flags.len_control = 0; in ParseFlags() 212 if (Flags.ignore_remaining_args) in ParseFlags() 239 if (Flags.verbosity) { in WorkerThread() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/ExecutionEngine/ |
| D | JITSymbol.h | 96 JITSymbolFlags(FlagNames Flags) : Flags(Flags) {} in JITSymbolFlags() argument 100 JITSymbolFlags(FlagNames Flags, TargetFlagsType TargetFlags) in JITSymbolFlags() argument 101 : TargetFlags(TargetFlags), Flags(Flags) {} in JITSymbolFlags() 104 explicit operator bool() const { return Flags != None || TargetFlags != 0; } 108 return Flags == RHS.Flags && TargetFlags == RHS.TargetFlags; 113 Flags &= RHS; 119 Flags |= RHS; 125 return (Flags & HasError) == HasError; in hasError() 130 return (Flags & Weak) == Weak; in isWeak() 135 return (Flags & Common) == Common; in isCommon() [all …]
|
| /openbsd/src/gnu/llvm/clang/include/clang/Basic/ |
| D | TargetBuiltins.h | 173 uint32_t Flags; variable 191 NeonTypeFlags(unsigned F) : Flags(F) {} in NeonTypeFlags() 192 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() 194 Flags |= UnsignedFlag; in NeonTypeFlags() 196 Flags |= QuadFlag; in NeonTypeFlags() 199 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType() 204 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } in isUnsigned() 205 bool isQuad() const { return (Flags & QuadFlag) != 0; } in isQuad() 210 uint64_t Flags; variable 245 SVETypeFlags(uint64_t F) : Flags(F) { in SVETypeFlags() [all …]
|
| D | LangStandard.h | 78 unsigned Flags; member 92 bool hasLineComments() const { return Flags & LineComment; } in hasLineComments() 95 bool isC99() const { return Flags & C99; } in isC99() 98 bool isC11() const { return Flags & C11; } in isC11() 101 bool isC17() const { return Flags & C17; } in isC17() 104 bool isC2x() const { return Flags & C2x; } in isC2x() 107 bool isCPlusPlus() const { return Flags & CPlusPlus; } in isCPlusPlus() 110 bool isCPlusPlus11() const { return Flags & CPlusPlus11; } in isCPlusPlus11() 113 bool isCPlusPlus14() const { return Flags & CPlusPlus14; } in isCPlusPlus14() 116 bool isCPlusPlus17() const { return Flags & CPlusPlus17; } in isCPlusPlus17() [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| D | ReduceInstructionFlags.cpp | 37 FastMathFlags Flags = FPOp->getFastMathFlags(); in reduceFlagsInModule() local 39 if (Flags.allowReassoc() && !O.shouldKeep()) in reduceFlagsInModule() 40 Flags.setAllowReassoc(false); in reduceFlagsInModule() 42 if (Flags.noNaNs() && !O.shouldKeep()) in reduceFlagsInModule() 43 Flags.setNoNaNs(false); in reduceFlagsInModule() 45 if (Flags.noInfs() && !O.shouldKeep()) in reduceFlagsInModule() 46 Flags.setNoInfs(false); in reduceFlagsInModule() 48 if (Flags.noSignedZeros() && !O.shouldKeep()) in reduceFlagsInModule() 49 Flags.setNoSignedZeros(false); in reduceFlagsInModule() 51 if (Flags.allowReciprocal() && !O.shouldKeep()) in reduceFlagsInModule() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/MC/ |
| D | MCSectionELF.cpp | 71 !(Flags & ELF::SHF_MERGE)) { in printSwitchToSection() 72 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection() 74 if (Flags & ELF::SHF_EXECINSTR) in printSwitchToSection() 76 if (Flags & ELF::SHF_WRITE) in printSwitchToSection() 78 if (Flags & ELF::SHF_EXCLUDE) in printSwitchToSection() 80 if (Flags & ELF::SHF_TLS) in printSwitchToSection() 87 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection() 89 if (Flags & ELF::SHF_EXCLUDE) in printSwitchToSection() 91 if (Flags & ELF::SHF_EXECINSTR) in printSwitchToSection() 93 if (Flags & ELF::SHF_GROUP) in printSwitchToSection() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| D | JITSymbol.cpp | 25 JITSymbolFlags Flags = JITSymbolFlags::None; in fromGlobalValue() local 27 Flags |= JITSymbolFlags::Weak; in fromGlobalValue() 29 Flags |= JITSymbolFlags::Common; in fromGlobalValue() 31 Flags |= JITSymbolFlags::Exported; in fromGlobalValue() 34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 37 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 46 Flags &= ~JITSymbolFlags::Exported; in fromGlobalValue() 49 return Flags; in fromGlobalValue() 53 JITSymbolFlags Flags = JITSymbolFlags::None; in fromSummary() local 56 Flags |= JITSymbolFlags::Weak; in fromSummary() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Demangle/ |
| D | MicrosoftDemangleNodes.h | 264 virtual void output(OutputBuffer &OB, OutputFlags Flags) const = 0; 266 std::string toString(OutputFlags Flags = OF_Default) const; 301 virtual void outputPre(OutputBuffer &OB, OutputFlags Flags) const = 0; 302 virtual void outputPost(OutputBuffer &OB, OutputFlags Flags) const = 0; 304 void output(OutputBuffer &OB, OutputFlags Flags) const override { in output() 305 outputPre(OB, Flags); in output() 306 outputPost(OB, Flags); in output() 316 void outputPre(OutputBuffer &OB, OutputFlags Flags) const override; 317 void outputPost(OutputBuffer &OB, OutputFlags Flags) const override {} in outputPost() 326 void outputPre(OutputBuffer &OB, OutputFlags Flags) const override; [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| D | flags_test.cpp | 108 scudo::Flags Flags; in TEST() local 109 scudo::registerFlags(&Parser, &Flags); in TEST() 110 Flags.setDefaults(); in TEST() 111 Flags.dealloc_type_mismatch = false; in TEST() 112 Flags.delete_size_mismatch = false; in TEST() 113 Flags.quarantine_max_chunk_size = 1024; in TEST() 116 EXPECT_TRUE(Flags.dealloc_type_mismatch); in TEST() 117 EXPECT_TRUE(Flags.delete_size_mismatch); in TEST() 118 EXPECT_EQ(2048, Flags.quarantine_max_chunk_size); in TEST() 124 scudo::Flags Flags; in TEST() local [all …]
|
| /openbsd/src/gnu/llvm/lldb/include/lldb/DataFormatters/ |
| D | TypeFormat.h | 26 class Flags { 28 Flags() {} in Flags() function 30 Flags(const Flags &other) : m_flags(other.m_flags) {} in Flags() function 32 Flags(uint32_t value) : m_flags(value) {} in Flags() function 34 Flags &operator=(const Flags &rhs) { 41 Flags &operator=(const uint32_t &rhs) { 46 Flags &Clear() { in Clear() 55 Flags &SetCascades(bool value = true) { 68 Flags &SetSkipPointers(bool value = true) { 81 Flags &SetSkipReferences(bool value = true) { [all …]
|
| D | TypeSummary.h | 53 class Flags { 55 Flags() = default; 57 Flags(const Flags &other) : m_flags(other.m_flags) {} in Flags() function 59 Flags(uint32_t value) : m_flags(value) {} in Flags() function 61 Flags &operator=(const Flags &rhs) { 68 Flags &operator=(const uint32_t &rhs) { 73 Flags &Clear() { in Clear() 82 Flags &SetCascades(bool value = true) { 95 Flags &SetSkipPointers(bool value = true) { 108 Flags &SetSkipReferences(bool value = true) { [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| D | MinimalSymbolDumper.cpp | 31 LocalSymFlags Flags) { in formatLocalSymFlags() argument 33 if (Flags == LocalSymFlags::None) in formatLocalSymFlags() 36 PUSH_FLAG(LocalSymFlags, IsParameter, Flags, "param"); in formatLocalSymFlags() 37 PUSH_FLAG(LocalSymFlags, IsAddressTaken, Flags, "address is taken"); in formatLocalSymFlags() 38 PUSH_FLAG(LocalSymFlags, IsCompilerGenerated, Flags, "compiler generated"); in formatLocalSymFlags() 39 PUSH_FLAG(LocalSymFlags, IsAggregate, Flags, "aggregate"); in formatLocalSymFlags() 40 PUSH_FLAG(LocalSymFlags, IsAggregated, Flags, "aggregated"); in formatLocalSymFlags() 41 PUSH_FLAG(LocalSymFlags, IsAliased, Flags, "aliased"); in formatLocalSymFlags() 42 PUSH_FLAG(LocalSymFlags, IsAlias, Flags, "alias"); in formatLocalSymFlags() 43 PUSH_FLAG(LocalSymFlags, IsReturnValue, Flags, "return val"); in formatLocalSymFlags() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/TextAPI/ |
| D | Symbol.h | 64 Symbol(SymbolKind Kind, StringRef Name, TargetList Targets, SymbolFlags Flags) in Symbol() argument 65 : Name(Name), Targets(std::move(Targets)), Kind(Kind), Flags(Flags) {} in Symbol() 73 SymbolFlags getFlags() const { return Flags; } in getFlags() 76 return (Flags & SymbolFlags::WeakDefined) == SymbolFlags::WeakDefined; in isWeakDefined() 80 return (Flags & SymbolFlags::WeakReferenced) == SymbolFlags::WeakReferenced; in isWeakReferenced() 84 return (Flags & SymbolFlags::ThreadLocalValue) == in isThreadLocalValue() 89 return (Flags & SymbolFlags::Undefined) == SymbolFlags::Undefined; in isUndefined() 93 return (Flags & SymbolFlags::Rexported) == SymbolFlags::Rexported; in isReexported() 113 return std::tie(Name, Kind, Targets, Flags) == 114 std::tie(O.Name, O.Kind, O.Targets, O.Flags); [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| D | CallLowering.cpp | 36 addFlagsUsingAttrFn(ISD::ArgFlagsTy &Flags, in addFlagsUsingAttrFn() argument 39 Flags.setSExt(); in addFlagsUsingAttrFn() 41 Flags.setZExt(); in addFlagsUsingAttrFn() 43 Flags.setInReg(); in addFlagsUsingAttrFn() 45 Flags.setSRet(); in addFlagsUsingAttrFn() 47 Flags.setNest(); in addFlagsUsingAttrFn() 49 Flags.setByVal(); in addFlagsUsingAttrFn() 51 Flags.setPreallocated(); in addFlagsUsingAttrFn() 53 Flags.setInAlloca(); in addFlagsUsingAttrFn() 55 Flags.setReturned(); in addFlagsUsingAttrFn() [all …]
|
| /openbsd/src/gnu/llvm/lld/MachO/ |
| D | Options.td | 3 // Flags that lld/MachO understands but ld64 doesn't. These take 129 // Flags<[HelpHidden]> marks options that are not yet ported to lld, 147 Flags<[HelpHidden]>, 151 Flags<[HelpHidden]>, 158 Flags<[HelpHidden]>, 162 Flags<[HelpHidden]>, 206 Flags<[HelpHidden]>, 211 Flags<[HelpHidden]>, 249 Flags<[HelpHidden]>, 302 Flags<[HelpHidden]>, [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_flags_test.cpp | 19 TEST(Flags, Basic) { in TEST() argument 21 Flags f; in TEST() 26 TEST(Flags, DefaultValues) { in TEST() argument 27 Flags f; in TEST() 80 void VerifyOptions1(Flags *f) { in VerifyOptions1() 103 void VerifyOptions2(Flags *f) { in VerifyOptions2() 131 TEST(Flags, ParseDefaultOptions) { in TEST() argument 132 Flags f; in TEST() 143 TEST(Flags, ParseEnvOptions) { in TEST() argument 144 Flags f; in TEST() [all …]
|
| /openbsd/src/gnu/llvm/llvm/tools/llvm-undname/ |
| D | llvm-undname.cpp | 63 MSDemangleFlags Flags = MSDF_None; in msDemangle() local 65 Flags = MSDemangleFlags(Flags | MSDF_DumpBackrefs); in msDemangle() 67 Flags = MSDemangleFlags(Flags | MSDF_NoAccessSpecifier); in msDemangle() 69 Flags = MSDemangleFlags(Flags | MSDF_NoCallingConvention); in msDemangle() 71 Flags = MSDemangleFlags(Flags | MSDF_NoReturnType); in msDemangle() 73 Flags = MSDemangleFlags(Flags | MSDF_NoMemberType); in msDemangle() 75 Flags = MSDemangleFlags(Flags | MSDF_NoVariableType); in msDemangle() 79 microsoftDemangle(S.c_str(), &NRead, nullptr, nullptr, &Status, Flags); in msDemangle()
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | Scope.cpp | 22 Flags = flags; in setFlags() 42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags() 45 Flags |= parent->getFlags() & OpenMPSimdDirectiveScope; in setFlags() 48 Flags |= OpenMPOrderClauseScope; in setFlags() 63 if (Flags & (ClassScope | FnScope)) { in setFlags() 114 assert((Flags & BreakScope) == 0 && "Already set"); in AddFlags() 118 assert((Flags & ContinueScope) == 0 && "Already set"); in AddFlags() 121 Flags |= FlagsToSet; in AddFlags() 194 unsigned Flags = getFlags(); in dumpImpl() local 195 bool HasFlags = Flags != 0; in dumpImpl() [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| D | ValueMapper.h | 147 ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags = RF_None, 168 void addFlags(RemapFlags Flags); 210 RemapFlags Flags = RF_None, 213 return ValueMapper(VM, Flags, TypeMapper, Materializer).mapValue(*V); 232 RemapFlags Flags = RF_None, 235 return ValueMapper(VM, Flags, TypeMapper, Materializer).mapMetadata(*MD); 240 RemapFlags Flags = RF_None, 243 return ValueMapper(VM, Flags, TypeMapper, Materializer).mapMDNode(*MD); 255 RemapFlags Flags = RF_None, 258 ValueMapper(VM, Flags, TypeMapper, Materializer).remapInstruction(*I); [all …]
|
| /openbsd/src/gnu/llvm/clang/include/clang/AST/ |
| D | OSLog.h | 76 unsigned Flags = 0; variable 82 : TheKind(kind), TheExpr(expr), Size(size), Flags(flags), in TheKind() 84 assert(((Flags == 0) || (Flags == IsPrivate) || (Flags == IsPublic) || in TheKind() 85 (Flags == IsSensitive)) && in TheKind() 91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem() 94 unsigned char result = Flags; in getDescriptorByte() 102 bool getIsPrivate() const { return (Flags & IsPrivate) != 0; } in getIsPrivate() 115 enum Flags { HasPrivateItems = 1, HasNonScalarItems = 1 << 1 }; enum
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
| D | MachineIRBuilder.h | 664 std::optional<unsigned> Flags = std::nullopt) { 665 return buildInstr(TargetOpcode::G_FPEXT, {Res}, {Op}, Flags); 917 MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone, 957 MachineMemOperand::Flags MMOFlags = MachineMemOperand::MONone, 1123 std::optional<unsigned> Flags = std::nullopt); 1167 std::optional<unsigned> Flags = std::nullopt); 1181 std::optional<unsigned> Flags = std::nullopt); 1525 std::optional<unsigned> Flags = std::nullopt) { 1526 return buildInstr(TargetOpcode::G_ADD, {Dst}, {Src0, Src1}, Flags); 1542 std::optional<unsigned> Flags = std::nullopt) { [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | ModuleSummaryIndex.cpp | 93 uint64_t Flags = 0; in getFlags() local 95 Flags |= 0x1; in getFlags() 97 Flags |= 0x2; in getFlags() 99 Flags |= 0x4; in getFlags() 101 Flags |= 0x8; in getFlags() 103 Flags |= 0x10; in getFlags() 105 Flags |= 0x20; in getFlags() 107 Flags |= 0x40; in getFlags() 109 Flags |= 0x80; in getFlags() 110 return Flags; in getFlags() [all …]
|