Home
last modified time | relevance | path

Searched refs:Flags (Results 1 – 25 of 1900) sorted by relevance

12345678910>>...76

/llvm-project/llvm/include/llvm/IR/
H A DFMF.h24 unsigned Flags = 0; variable
30 if (F == 0x7F) Flags = ~0U; in FastMathFlags()
31 else Flags = F; in FastMathFlags()
57 bool any() const { return Flags != 0; } in any()
58 bool none() const { return Flags == 0; } in none()
59 bool all() const { return Flags == ~0U; } in all()
61 void clear() { Flags = 0; } in clear()
62 void set() { Flags = ~0U; } in set()
65 bool allowReassoc() const { return 0 != (Flags & AllowReassoc); } in allowReassoc()
66 bool noNaNs() const { return 0 != (Flags in allowReassoc()
[all...]
H A DGEPNoWrapFlags.h33 unsigned Flags; variable
34 GEPNoWrapFlags(unsigned Flags) : Flags(Flags) { in GEPNoWrapFlags() argument
40 GEPNoWrapFlags() : Flags(0) {} in GEPNoWrapFlags()
44 : Flags(IsInBounds ? (InBoundsFlag | NUSWFlag) : 0) {} in GEPNoWrapFlags()
58 static GEPNoWrapFlags fromRaw(unsigned Flags) { in fromRaw() argument
59 return GEPNoWrapFlags(Flags); in fromRaw()
61 unsigned getRaw() const { return Flags; } in getRaw()
63 bool isInBounds() const { return Flags
[all...]
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDriver.cpp67 } 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()
240 if (Flags.verbosity) { in WorkerThread()
[all …]
/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h27 // Machine Operand Flags and Description
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()
140 // Machine Instruction Flags and Description
147 /// MCInstrDesc::Flags field.
214 uint64_t Flags; // Flags identifyin variable
[all...]
/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp120 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()
158 void NodeArrayNode::output(OutputBuffer &OB, OutputFlags Flags) const { in output()
159 output(OB, Flags, ", ");
162 void NodeArrayNode::output(OutputBuffer &OB, OutputFlags Flags, in output()
167 Nodes[0]->output(OB, Flags); in output()
170 Nodes[I]->output(OB, Flags); in output()
175 OutputFlags Flags) const { in output()
195 void IntegerLiteralNode::output(OutputBuffer &OB, OutputFlags Flags) cons in output()
160 output(OutputBuffer & OB,OutputFlags Flags,std::string_view Separator) const output() argument
553 outputOneDimension(OutputBuffer & OB,OutputFlags Flags,Node * N) const outputOneDimension() argument
[all...]
/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h96 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 …]
/llvm-project/clang/include/clang/Basic/
H A DTargetBuiltins.h187 /// Flags to identify the types for overloaded Neon builtins.
196 uint32_t Flags;
215 NeonTypeFlags(unsigned F) : Flags(F) {} in isPoly()
216 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in isPoly()
218 Flags |= UnsignedFlag; in isQuad()
220 Flags |= QuadFlag;
223 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } variable
228 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; }
229 bool isQuad() const { return (Flags & QuadFlag) != 0; }
262 /// Flags t in SVETypeFlags()
186 uint32_t Flags; global() variable
[all...]
H A DLangStandard.h81 unsigned Flags;
95 bool hasLineComments() const { return Flags & LineComment; }
98 bool isC99() const { return Flags & C99; }
101 bool isC11() const { return Flags & C11; }
104 bool isC17() const { return Flags & C17; }
107 bool isC23() const { return Flags & C23; }
110 bool isC2y() const { return Flags & C2y; }
113 bool isCPlusPlus() const { return Flags & CPlusPlus; }
116 bool isCPlusPlus11() const { return Flags & CPlusPlus11; }
119 bool isCPlusPlus14() const { return Flags
82 unsigned Flags; global() member
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DFindTarget.cpp141 RelSet Flags; member
143 template <typename T> void debug(T &Node, RelSet Flags) { in debug()
144 dlog("visit [{0}] {1}", Flags, nodeToString(DynTypedNode::create(Node))); in debug()
147 void report(const NamedDecl *D, RelSet Flags) { in report()
148 dlog("--> [{0}] {1}", Flags, nodeToString(DynTypedNode::create(*D))); in report()
149 auto It = Decls.try_emplace(D, std::make_pair(Flags, Decls.size())); in report()
152 It.first->second.first |= Flags; in report()
167 void add(const Decl *Dcl, RelSet Flags) { in add()
171 debug(*D, Flags); in add()
175 // already seen this decl with all flags in Flags in add()
254 RelSet Flags; add() member
365 RelSet Flags; add() member
555 DeclRelationSet Flags; allTargetDecls() local
[all...]
/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dbitmask_enum_test.cpp23 enum Flags { F0 = 0, F1 = 1, F2 = 2, F3 = 4, F4 = 8 }; enum
28 ORC_RT_DECLARE_ENUM_AS_BITMASK(Flags, F4);
31 static_assert(is_bitmask_enum<Flags>::value != 0);
32 static_assert(largest_bitmask_enum_bit<Flags>::value == Flags::F4);
36 static_assert(is_bitmask_enum<Flags>::value != 0);
37 static_assert(largest_bitmask_enum_bit<Flags>::value == Flags::F4);
40 Flags f = F1 | F2; in TEST()
48 Flags in TEST()
126 enum Flags { global() enum
[all...]
/llvm-project/clang/tools/clang-linker-wrapper/
H A DLinkerWrapperOpts.td12 // Flags for the linker wrapper.
14 Flags<[WrapperOnlyOption]>, MetaVarName<"<path>">,
17 Flags<[WrapperOnlyOption]>, MetaVarName<"<dir>">,
20 Flags<[WrapperOnlyOption]>, MetaVarName<"<triple>">,
23 Flags<[WrapperOnlyOption]>, MetaVarName<"<O0, O1, O2, or O3>">,
26 Flags<[WrapperOnlyOption]>, MetaVarName<"<value> or <triple>=<value>">,
29 Flags<[WrapperOnlyOption]>, MetaVarName<"<value> or <triple>=<value>">,
32 Flags<[WrapperOnlyOption]>,
35 Flags<[WrapperOnlyOption]>, HelpText<"Verbose output from tools">;
37 Flags<[WrapperOnlyOptio
[all...]
/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp69 !(Flags & ELF::SHF_MERGE)) { in printSwitchToSection()
70 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection()
72 if (Flags & ELF::SHF_EXECINSTR) in printSwitchToSection()
74 if (Flags & ELF::SHF_WRITE) in printSwitchToSection()
76 if (Flags & ELF::SHF_EXCLUDE) in printSwitchToSection()
78 if (Flags & ELF::SHF_TLS) in printSwitchToSection()
85 if (Flags & ELF::SHF_ALLOC) in printSwitchToSection()
87 if (Flags & ELF::SHF_EXCLUDE) in printSwitchToSection()
89 if (Flags & ELF::SHF_EXECINSTR) in printSwitchToSection()
91 if (Flags in printSwitchToSection()
[all...]
/llvm-project/llvm/test/tools/llvm-cxxdump/
H A Deh.test41 COFF-I386: __TI1?AW4E@@[Flags]: 0
42 COFF-I386: __TI1?AW4E@@[Flags.Const]: false
43 COFF-I386: __TI1?AW4E@@[Flags.Volatile]: false
47 COFF-I386: __TI1PQS@@H[Flags]: 0
48 COFF-I386: __TI1PQS@@H[Flags.Const]: false
49 COFF-I386: __TI1PQS@@H[Flags.Volatile]: false
53 COFF-I386: __TI2CPAW4E@@[Flags]: 1
54 COFF-I386: __TI2CPAW4E@@[Flags.Const]: true
55 COFF-I386: __TI2CPAW4E@@[Flags.Volatile]: false
59 COFF-I386: __TI2CVPAW4E@@[Flags]: 3
[all …]
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp25 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 …]
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dsection-flags.test9 # LLVM-NEXT: Flags [ (0x80200FF7)
27 # LLVM-NEXT: Flags [ (0x0)
32 # LLVM-NEXT: Flags [ (0x1)
38 # LLVM-NEXT: Flags [ (0x2)
44 # LLVM-NEXT: Flags [ (0x4)
50 # LLVM-NEXT: Flags [ (0x10)
56 # LLVM-NEXT: Flags [ (0x20)
62 # LLVM-NEXT: Flags [ (0x40)
68 # LLVM-NEXT: Flags [ (0x80)
74 # LLVM-NEXT: Flags [ (0x100)
[all …]
H A Dversioninfo.test18 Flags: [ SHF_ALLOC ]
23 Flags: [ SHF_ALLOC ]
28 - Flags: 1
31 - Flags: 2
34 - Flags: 4
37 - Flags: 7
42 - Flags: 8
51 Flags: [ SHF_ALLOC ]
59 Flags: 1
63 Flags: 2
[all …]
/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h265 virtual void output(OutputBuffer &OB, OutputFlags Flags) const = 0;
267 std::string toString(OutputFlags Flags = OF_Default) const;
302 virtual void outputPre(OutputBuffer &OB, OutputFlags Flags) const = 0;
303 virtual void outputPost(OutputBuffer &OB, OutputFlags Flags) const = 0; in output()
305 void output(OutputBuffer &OB, OutputFlags Flags) const override { in output()
306 outputPre(OB, Flags); in output()
307 outputPost(OB, Flags);
317 void outputPre(OutputBuffer &OB, OutputFlags Flags) const override;
318 void outputPost(OutputBuffer &OB, OutputFlags Flags) const override {}
327 void outputPre(OutputBuffer &OB, OutputFlags Flags) cons
572 uint32_t Flags = 0; global() member
[all...]
/llvm-project/llvm/tools/llvm-reduce/deltas/
H A DReduceInstructionFlags.cpp58 FastMathFlags Flags = FPOp->getFastMathFlags(); in reduceFlagsInModule()
60 if (Flags.allowReassoc() && !O.shouldKeep()) in reduceFlagsInModule()
61 Flags.setAllowReassoc(false); in reduceFlagsInModule()
63 if (Flags.noNaNs() && !O.shouldKeep()) in reduceFlagsInModule()
64 Flags.setNoNaNs(false); in reduceFlagsInModule()
66 if (Flags.noInfs() && !O.shouldKeep()) in reduceFlagsInModule()
67 Flags.setNoInfs(false); in reduceFlagsInModule()
69 if (Flags.noSignedZeros() && !O.shouldKeep()) in reduceFlagsInModule()
70 Flags.setNoSignedZeros(false); in reduceFlagsInModule()
72 if (Flags in reduceFlagsInModule()
54 FastMathFlags Flags = FPOp->getFastMathFlags(); reduceFlagsInModule() local
[all...]
/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dflags_test.cpp108 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 …]
/llvm-project/llvm/unittests/Support/
H A DMemoryTest.cpp53 Flags = GetParam(); in MappedMemoryTest()
85 unsigned Flags; member in __anon6935dd440111::MappedMemoryTest
92 if ((Flags & Memory::MF_WRITE) && (Flags & Memory::MF_EXEC) && \
100 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P()
113 sizeof(int), nullptr, Flags | Memory::MF_HUGE_HINT, EC); in TEST_P()
128 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P()
130 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC); in TEST_P()
132 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); in TEST_P()
148 MemoryBlock M4 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P()
158 if (Flags && in TEST_P()
[all …]
/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeFormat.h26 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
[all...]
/llvm-project/llvm/unittests/ADT/
H A DBitmaskEnumTest.cpp15 enum Flags { enum
24 static_assert(is_bitmask_enum<Flags>::value != 0);
25 static_assert(largest_bitmask_enum_bit<Flags>::value == Flags::F4);
34 static_assert(is_bitmask_enum<Flags>::value != 0);
35 static_assert(largest_bitmask_enum_bit<Flags>::value == Flags::F4);
39 Flags f = F1 | F2; in TEST()
53 Flags f = F1; in TEST()
72 Flags in TEST()
178 enum Flags { F0 = 0, F1 = 1, F2 = 2, F3 = 4, LLVM_MARK_AS_BITMASK_ENUM(F3) }; global() enum
[all...]
/llvm-project/lldb/unittests/Utility/
H A DFlagsTest.cpp22 TEST(Flags, GetBitSize) { in TEST() argument
23 Flags f; in TEST()
29 TEST(Flags, Reset) { in TEST() argument
30 Flags f; in TEST()
35 TEST(Flags, Clear) { in TEST() argument
36 Flags f; in TEST()
47 TEST(Flags, AllSet) { in TEST() argument
48 Flags f; in TEST()
65 TEST(Flags, AnySet) { in TEST() argument
66 Flags f; in TEST()
[all …]
/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_symbol_def.h1 //===--------- ExecutorSymbolDef.h - (Addr, Flags) pair ---------*- C++ -*-===//
25 /// Flags for symbols in the JIT.
50 JITSymbolFlags(FlagNames Flags, TargetFlagsType TargetFlags) in JITSymbolFlags() argument
51 : TargetFlags(TargetFlags), Flags(Flags) {} in JITSymbolFlags()
54 return Flags == RHS.Flags && TargetFlags == RHS.TargetFlags;
59 return static_cast<UnderlyingType>(Flags); in getRawFlagsValue()
70 FlagNames Flags = None; variable
77 ExecutorSymbolDef(ExecutorAddr Addr, JITSymbolFlags Flags) in ExecutorSymbolDef() argument
92 JITSymbolFlags Flags; global() variable
141 JITSymbolFlags Flags; deserialize() local
[all...]
/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp32 LocalSymFlags Flags) { in formatLocalSymFlags() argument
34 if (Flags == LocalSymFlags::None) in formatLocalSymFlags()
37 PUSH_FLAG(LocalSymFlags, IsParameter, Flags, "param"); in formatLocalSymFlags()
38 PUSH_FLAG(LocalSymFlags, IsAddressTaken, Flags, "address is taken"); in formatLocalSymFlags()
39 PUSH_FLAG(LocalSymFlags, IsCompilerGenerated, Flags, "compiler generated"); in formatLocalSymFlags()
40 PUSH_FLAG(LocalSymFlags, IsAggregate, Flags, "aggregate"); in formatLocalSymFlags()
41 PUSH_FLAG(LocalSymFlags, IsAggregated, Flags, "aggregated"); in formatLocalSymFlags()
42 PUSH_FLAG(LocalSymFlags, IsAliased, Flags, "aliased"); in formatLocalSymFlags()
43 PUSH_FLAG(LocalSymFlags, IsAlias, Flags, "alias"); in formatLocalSymFlags()
44 PUSH_FLAG(LocalSymFlags, IsReturnValue, Flags, "return val"); in formatLocalSymFlags()
[all …]

12345678910>>...76