/llvm-project/lld/test/MachO/ |
H A D | tlv-dylib.s | 38 # RUN: llvm-otool -lv %t/test | FileCheck --check-prefix=FLAGS %s 39 # FLAGS: sectname __got 40 # FLAGS-NEXT: segname __DATA_CONST 41 # FLAGS-NEXT: addr 42 # FLAGS-NEXT: size 0x0000000000000008 43 # FLAGS-NEXT: offset 44 # FLAGS-NEXT: align 2^3 (8) 45 # FLAGS-NEXT: reloff 0 46 # FLAGS-NEXT: nreloc 0 47 # FLAGS-NEXT: type S_NON_LAZY_SYMBOL_POINTERS [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | loh.mir | 26 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g3 27 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g4 29 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g2 30 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g3 32 ; CHECK-NEXT: $x0 = ADRP target-flags(aarch64-page) @g0 33 ; CHECK-NEXT: $x0 = ADRP target-flags(aarch64-page) @g1 34 $x0 = ADRP target-flags(aarch64-page) @g0 35 $x0 = ADRP target-flags(aarch64-page) @g1 36 $x1 = ADRP target-flags(aarch64-page) @g2 37 $x1 = ADRP target-flags(aarch64-page) @g3 [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | set-section-flags.test | 3 # Single flags on a section with no flags: 4 # RUN: llvm-objcopy --set-section-flags=.foo=alloc \ 5 # RUN: --set-section-flags=.baz=alloc --set-section-flags=.rela.baz=alloc %t %t.alloc 7 # RUN: llvm-objcopy --set-section-flags=.foo=load \ 8 # RUN: --set-section-flags=.baz=load --set-section-flags=.rela.baz=load %t %t.load 10 # RUN: llvm-objcopy --set-section-flags=.foo=noload \ 11 # RUN: --set-section-flags=.baz=noload --set-section-flags=.rela.baz=noload %t %t.noload 13 # RUN: llvm-objcopy --set-section-flags=.foo=readonly \ 14 # RUN: --set-section-flags=.baz=readonly --set-section-flags=.rela.baz=readonly %t %t.readonly 16 # RUN: llvm-objcopy --set-section-flags=.foo=exclude \ [all …]
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | override-shflags.yaml | 5 # RUN: llvm-readobj --sections %t1 | FileCheck %s --check-prefix=UPDATE-FLAGS 7 # UPDATE-FLAGS: Name: .symtab 8 # UPDATE-FLAGS-NEXT: Type: SHT_SYMTAB 9 # UPDATE-FLAGS-NEXT: Flags [ (0x1) 11 # UPDATE-FLAGS: Name: .strtab 12 # UPDATE-FLAGS-NEXT: Type: SHT_STRTAB 13 # UPDATE-FLAGS-NEXT: Flags [ (0x2) 15 # UPDATE-FLAGS: Name: .shstrtab 16 # UPDATE-FLAGS-NEXT: Type: SHT_STRTAB 17 # UPDATE-FLAGS-NEXT: Flags [ (0x3) [all …]
|
/llvm-project/mlir/test/Dialect/OpenMP/ |
H A D | attr.mlir | 3 // CHECK: module attributes {omp.flags = #omp.flags<>} { 4 module attributes {omp.flags = #omp.flags<debug_kind = 0, assume_teams_oversubscription = false, as… 6 // CHECK: module attributes {omp.flags = #omp.flags<debug_kind = 20>} { 7 module attributes {omp.flags = #omp.flags<debug_kind = 20, assume_teams_oversubscription = false, a… 9 // CHECK: module attributes {omp.flags = #omp.flags<debug_kind = 100, assume_teams_oversubscription… 10 module attributes {omp.flags = #omp.flags<debug_kind = 100, assume_teams_oversubscription = true, a… 12 // CHECK: module attributes {omp.flags = #omp.flags<debug_kind = 200, assume_teams_oversubscription… 13 module attributes {omp.flags = #omp.flags<debug_kind = 200, assume_teams_oversubscription = true, a… 15 // CHECK: module attributes {omp.flags = #omp.flags<debug_kind = 300, assume_teams_oversubscription… 16 module attributes {omp.flags = #omp.flags<debug_kind = 300, assume_teams_oversubscription = true, a… [all …]
|
/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDriver.cpp | 1 //===- FuzzerDriver.cpp - FuzzerDriver function and flags -----------------===// 67 } Flags; variable 73 {#Name, Description, Default, &Flags.Name, nullptr, nullptr}, 76 nullptr, nullptr, &Flags.Name}, 78 {#Name, Description, 0, nullptr, &Flags.Name, nullptr}, 150 Printf("INFO: libFuzzer ignores flags that start with '--'\n"); in ParseOneFlag() 164 if (Flags.verbosity >= 2) in ParseOneFlag() 170 if (Flags.verbosity >= 2) in ParseOneFlag() 175 if (Flags.verbosity >= 2) in ParseOneFlag() 185 "use -help=1 to list all flags\n\n", Param); in ParseOneFlag() [all …]
|
/llvm-project/flang/lib/Evaluate/ |
H A D | complex.cpp | 17 RealFlags flags; in Add() local 18 Part reSum{re_.Add(that.re_, rounding).AccumulateFlags(flags)}; in Add() 19 Part imSum{im_.Add(that.im_, rounding).AccumulateFlags(flags)}; in Add() 20 return {Complex{reSum, imSum}, flags}; in Add() 26 RealFlags flags; in Subtract() local 27 Part reDiff{re_.Subtract(that.re_, rounding).AccumulateFlags(flags)}; in Subtract() 28 Part imDiff{im_.Subtract(that.im_, rounding).AccumulateFlags(flags)}; in Subtract() 29 return {Complex{reDiff, imDiff}, flags}; in Subtract() 36 RealFlags flags; in Multiply() local 37 Part ac{re_.Multiply(that.re_, rounding).AccumulateFlags(flags)}; in Multiply() [all …]
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | FMF.h | 1 //===-- llvm/FMF.h - Fast math flags subclass -------------------*- C++ -*-===// 9 // This file defines the fast math flags. 19 /// Convenience struct for specifying and reasoning about fast-math flags. 24 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 [all...] |
H A D | GEPNoWrapFlags.h | 1 //===-- llvm/GEPNoWrapFlags.h - NoWrap flags for GEPs -----------*- C++ -*-===// 9 // This file defines the nowrap flags for getelementptr operators. 20 /// Represents flags for the getelementptr instruction/expression. 21 /// The following flags are supported: 33 unsigned Flags; variable 34 GEPNoWrapFlags(unsigned Flags) : Flags(Flags) { in GEPNoWrapFlags() argument 40 GEPNoWrapFlags() : Flags(0) {} in GEPNoWrapFlags() 44 : Flags(IsInBound in GEPNoWrapFlags() 58 fromRaw(unsigned Flags) fromRaw() argument [all...] |
/llvm-project/llvm/test/CodeGen/MIR/Hexagon/ |
H A D | target-flags.mir | 8 ; CHECK: target-flags(hexagon-pcrel) 9 $r0 = A2_tfrsi target-flags (hexagon-pcrel) 0 10 ; CHECK: target-flags(hexagon-got) 11 $r0 = A2_tfrsi target-flags (hexagon-got) 0 12 ; CHECK: target-flags(hexagon-lo16) 13 $r0 = A2_tfrsi target-flags (hexagon-lo16) 0 14 ; CHECK: target-flags(hexagon-hi16) 15 $r0 = A2_tfrsi target-flags (hexagon-hi16) 0 16 ; CHECK: target-flags(hexagon-gprel) 17 $r0 = A2_tfrsi target-flags (hexago [all...] |
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Flags.h | 1 //===-- Flags.h -------------------------------------------------*- C++ -*-===// 17 /// \class Flags Flags.h "lldb/Utility/Flags.h" 18 /// A class to manage flags. 20 /// The Flags class managed flag bits and allows testing and modification of 22 class Flags { 24 /// The value type for flags is a 32 bit unsigned integer type. 30 /// flags. 32 /// \param[in] flags 33 /// The initial value for all flags. 34 Flags(ValueType flags = 0) : m_flags(flags) {} in m_flags() argument [all …]
|
/llvm-project/llvm/lib/Demangle/ |
H A 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() 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/lldb/test/API/functionalities/postmortem/mach-core/ |
H A D | test.core.yaml | 9 flags: 0x00000000 225 flags: 0 236 flags: 0 247 flags: 0 258 flags: 0 269 flags: 0 280 flags: 0 291 flags: 0 302 flags: 0 313 flags: 0 [all …]
|
/llvm-project/llvm/test/tools/llvm-rc/ |
H A D | memoryflags.test | 7 ; CHECK-NEXT: Memory flags: 0x1050 11 ; CHECK-NEXT: Memory flags: 0x1050 15 ; CHECK-NEXT: Memory flags: 0x1010 19 ; CHECK-NEXT: Memory flags: 0x1030 23 ; CHECK-NEXT: Memory flags: 0x0 27 ; CHECK-NEXT: Memory flags: 0x1030 31 ; CHECK-NEXT: Memory flags: 0x1010 35 ; CHECK-NEXT: Memory flags: 0x1030 39 ; CHECK-NEXT: Memory flags: 0x1030 43 ; CHECK-NEXT: Memory flags: 0x1030 [all …]
|
/llvm-project/llvm/include/llvm/ExecutionEngine/ |
H A D | JITSymbol.h | 73 /// Flags for symbols in the JIT. 95 /// Construct a JITSymbolFlags instance from the given flags. 96 JITSymbolFlags(FlagNames Flags) : Flags(Flags) {} in JITSymbolFlags() argument 98 /// Construct a JITSymbolFlags instance from the given flags and target 99 /// flags. 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; [all …]
|
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | section-flags-os-proc.test | 1 ## Here we test how OS and processor specific flags are dumped. 7 # OS-PROC-LLVM: Name: .os.flags.low 9 # OS-PROC-LLVM-NEXT: Flags [ (0x100000) 11 # OS-PROC-LLVM: Name: .os.flags.high 13 # OS-PROC-LLVM-NEXT: Flags [ (0xFE00000) 16 # OS-PROC-LLVM: Name: .os.flags.mask 18 # OS-PROC-LLVM-NEXT: Flags [ (0xFF00000) 21 # OS-PROC-LLVM: Name: .proc.flags.low 23 # OS-PROC-LLVM-NEXT: Flags [ (0x10000000) 25 # OS-PROC-LLVM: Name: .proc.flags.high [all …]
|
H A D | section-flags.test | 1 ## Check how we dump regular ELF section flags. 9 # 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) [all …]
|
/llvm-project/libc/cmake/modules/ |
H A D | LLVMLibCFlagRules.cmake | 2 # multi-valued option `FLAGS`. It should be one of the following forms: 6 # A target will inherit all the flags of its upstream dependency. 11 # `TARGET_NAME` that has `FLAG_NAME` in its `FLAGS` property. 13 # `TARGET_NAME` depends on `DEP` and `DEP` has `FLAG_NAME` in its `FLAGS` 16 # in its `FLAGS` property. 19 # in its `FLAGS` property. 22 # To show all the targets' dependency and flags, pass 77 # Collect flags from dependency list. To see which flags come with each 92 get_target_property(flags [all...] |
/llvm-project/clang/tools/clang-linker-wrapper/ |
H A D | LinkerWrapperOpts.td | 12 // 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/test/tools/llvm-cxxdump/ |
H A D | eh.test | 41 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/test/CodeGen/RISCV/ |
H A D | mir-target-flags.ll | 12 ; `target-flags(...)` 25 ; RV32-SMALL: target-flags(riscv-hi) @g_e 26 ; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_e 27 ; RV32-SMALL: target-flags(riscv-hi) @g_i 28 ; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_i 29 ; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_un 30 ; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi0> 31 ; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_ld 32 ; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> 33 ; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_ie [all …]
|
/llvm-project/llvm/test/tools/obj2yaml/ELF/ |
H A D | program-headers.yaml | 41 # YAML-NEXT: Flags: [ PF_R ] 47 # YAML-NEXT: Flags: [ PF_X, PF_R ] 54 # YAML-NEXT: Flags: [ PF_R ] 61 # YAML-NEXT: Flags: [ PF_W, PF_R ] 68 # YAML-NEXT: Flags: [ PF_W, PF_R ] 75 # YAML-NEXT: Flags: [ PF_R ] 81 # YAML-NEXT: Flags: [ PF_R ] 85 # YAML-NEXT: Flags: [ PF_R ] 91 # YAML-NEXT: Flags: [ PF_R ] 108 Flags: [ PF_R ] [all …]
|
H A D | mips-eflags.yaml | 3 ## e_flags might keep both flags and regular values in a different bits. 4 ## Here we test all flags at once. 6 # RUN: yaml2obj --docnum=1 %s -o %t-non-flags 7 # RUN: obj2yaml %t-non-flags | FileCheck %s --check-prefix=FLAGS 9 # FLAGS: Flags: [ EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_ABI2, EF_MIPS_32BITMODE, EF… 17 Flags: [ EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_ABI2, EF_MIPS_32BITMODE, 31 # ABI: Flags: [ [[ABI]], EF_MIPS_ARCH_1 ] 39 Flags: [ EF_MIPS_ABI_O32 ] 47 Flags: [ EF_MIPS_ABI_O64 ] 55 Flags: [ EF_MIPS_ABI_EABI32 ] [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/ELF/ |
H A D | program-headers.test | 8 # ELF32-NEXT: filesz 0x00000003 memsz 0x00000003 flags -w- 10 # ELF32-NEXT: filesz 0x00000007 memsz 0x00000007 flags --x 12 # ELF32-NEXT: filesz 0x00000007 memsz 0x00000007 flags --x 14 # ELF32-NEXT: filesz 0x00000010 memsz 0x00000010 flags rwx 16 # ELF32-NEXT: filesz 0x00000004 memsz 0x00000004 flags rw- 18 # ELF32-NEXT: filesz 0x00000003 memsz 0x00000003 flags --- 20 # ELF32-NEXT: filesz 0x00000001 memsz 0x00000001 flags --- 22 # ELF32-NEXT: filesz 0x00000001 memsz 0x00000001 flags --- 24 # ELF32-NEXT: filesz 0x00000003 memsz 0x00000003 flags --- 26 # ELF32-NEXT: filesz 0x00000003 memsz 0x00000003 flags --- [all …]
|
/llvm-project/clang/include/clang/Basic/ |
H A D | TargetBuiltins.h | 187 /// Flags to identify the types for overloaded Neon builtins. 189 /// These must be kept in sync with the flags in utils/TableGen/NeonEmitter.h. 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 186 uint32_t Flags; global() variable [all...] |