Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 960) sorted by relevance

12345678910>>...39

/llvm-project/llvm/
H A D.gitattributes1 # binary files
2 test/Object/Inputs/*.a* binary
3 test/tools/dsymutil/Inputs/*.o binary
4 test/tools/dsymutil/Inputs/*.a binary
5 test/tools/dsymutil/Inputs/*.i386 binary
6 test/tools/dsymutil/Inputs/*.x86_64 binary
7 test/tools/dsymutil/Inputs/*.armv7m binary
8 test/tools/dsymutil/Inputs/*.dylib binary
9 test/tools/dsymutil/Inputs/*.dSYM binary
10 test/tools/dsymutil/Inputs/*.swiftmodule binary
[all...]
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
H A Dbinary-input-and-output.test6 ## -I binary -O binary preserves payload through in-memory representation.
7 # RUN: llvm-objcopy -I binary -O binary %t.txt %t.2.txt
11 ## If -O is not specified, it defaults to -I, i.e. "binary".
12 # RUN: llvm-objcopy -I binary %t.txt %t.3.txt
15 ## -I binary -O elf* creates an ELF. -O binary transforms it back to the
17 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.o
18 # RUN: llvm-objcopy -O binary %t.o %t.4.txt
22 # RUN: llvm-objcopy -I binary -B i386:x86-64 -O binary %t.txt %t.5.txt
H A Dpad-to.test4 # NOT-BINARY: error: '--pad-to' is only supported for binary output
6 # RUN: not llvm-objcopy -O binary --pad-to= %t 2>&1 | FileCheck %s --check-prefix=BAD-FORMAT
9 # RUN: not llvm-objcopy -O binary --pad-to=x %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT
12 # RUN: not llvm-objcopy -O binary --pad-to=0x1G %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT2
15 # RUN: not llvm-objcopy -O binary --pad-to=ff %t 2>&1 | FileCheck %s --check-prefix=BAD-INPUT3
18 # RUN: not llvm-objcopy -O binary --pad-to=0x112233445566778899 %t 2>&1 | FileCheck %s --check-pref…
22 # RUN: llvm-objcopy -O binary %t %t.bin
24 ## Pad to an address smaller than the binary size.
25 # RUN: llvm-objcopy -O binary --pad-to=0x20 %t %t-p1
27 # RUN: llvm-objcopy -O binary --pad-to=0x200 %t %t-p2
[all …]
H A Dbinary-output-target.test3 # RUN: llvm-objcopy -I binary -O elf64-littleaarch64 %t.txt %t.aarch64.o
6 # RUN: llvm-objcopy -I binary -O elf32-littlearm %t.txt %t.arm.o
9 # RUN: llvm-objcopy -I binary -O elf32-i386 %t.txt %t.i386.o
12 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.x86-64.o
15 # RUN: llvm-objcopy -I binary -O elf32-bigmips %t.txt %t.mips.o
18 # RUN: llvm-objcopy -I binary -O elf32-powerpc %t.txt %t.ppc32be.o
21 # RUN: llvm-objcopy -I binary -O elf32-powerpcle %t.txt %t.ppc32le.o
24 # RUN: llvm-objcopy -I binary -O elf64-powerpc %t.txt %t.ppc64be.o
27 # RUN: llvm-objcopy -I binary -O elf64-powerpcle %t.txt %t.ppc64le.o
30 # RUN: llvm-objcopy -I binary -O elf32-littleriscv %t.txt %t.rv32.o
[all …]
H A Dinput-output-target.test7 # RUN: llvm-objcopy -F binary %t.txt %t.2.txt
11 # RUN: llvm-objcopy --target binary %t.txt %t.3.txt
15 # RUN: not llvm-objcopy --target binary --input-target binary \
18 # RUN: not llvm-objcopy --target binary --output-target binary \
H A Dnew-symbol-visibility.test2 ## using binary input can be specified with the --new-symbol-visibility switch.
4 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %s %t.unspecified
6 # RUN: llvm-objcopy --new-symbol-visibility default -I binary -O elf64-x86-64 %s %t.default
8 # RUN: llvm-objcopy --new-symbol-visibility hidden -I binary -O elf64-x86-64 %s %t.hidden
10 # RUN: llvm-objcopy --new-symbol-visibility protected -I binary -O elf64-x86-64 %s %t.protected
12 # RUN: llvm-objcopy --new-symbol-visibility internal -I binary -O elf64-x86-64 %s %t.internal
19 # RUN: not llvm-objcopy --new-symbol-visibility fluff -I binary -O elf64-x86-64 \
/llvm-project/compiler-rt/lib/asan/scripts/
H A Dasan_symbolize.py83 def symbolize(self, addr, binary, offset): argument
84 """Symbolize the given address (pair of binary and offset).
89 binary: path to executable/shared object containing this instruction.
90 offset: instruction offset in the @binary.
132 def symbolize(self, addr, binary, offset): argument
138 symbolizer_input = '"%s" %s' % (binary, offset)
168 def __init__(self, binary): argument
170 self.binary = binary
178 logging.debug("addr2line binary i
192 symbolize(self, addr, binary, offset) global() argument
291 __init__(self, addr, binary, arch) global() argument
302 symbolize(self, addr, binary, offset) global() argument
336 symbolize(self, addr, binary, offset) global() argument
349 BreakpadSymbolizerFactory(binary) global() argument
358 SystemSymbolizerFactory(system, addr, binary, arch) global() argument
427 symbolize(self, addr, binary, offset) global() argument
461 symbolize_address(self, addr, binary, offset, arch) global() argument
[all...]
/llvm-project/mlir/unittests/Dialect/SPIRV/
H A DDeserializationTest.cpp48 return spirv::deserialize(binary, &context); in deserialize()
65 spirv::appendModuleHeader(binary, spirv::Version::V_1_0, /*idBound=*/0); in addHeader()
71 binary.push_back(spirv::getPrefixedOpcode(wordCount, op)); in addInstruction()
72 binary.append(operands.begin(), operands.end()); in addInstruction()
120 SmallVector<uint32_t, 5> binary; member in DeserializationTest
137 binary.front() = 0xdeadbeef; // Change to a wrong magic number in TEST_F()
149 binary.push_back(0); // OpNop with zero word count in TEST_F()
157 binary.push_back((2u << 16) | in TEST_F()
184 std::swap(typeDecl, binary); in TEST_F()
188 std::swap(typeDecl, binary); in TEST_F()
[all …]
H A DSerializationTest.cpp107 auto binarySize = binary.size(); in scanInstruction()
108 auto *begin = binary.begin(); in scanInstruction()
112 auto wordCount = binary[currOffset] >> 16; in scanInstruction()
117 static_cast<spirv::Opcode>(binary[currOffset] & 0xffff); in scanInstruction()
131 SmallVector<uint32_t, 0> binary; member in SerializationTest
142 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary))); in TEST_F()
159 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary))); in TEST_F()
186 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary))); in TEST_F()
207 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary, options))); in TEST_F()
223 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary, option in TEST_F()
[all...]
/llvm-project/lld/test/ELF/
H A Dmips-elf-flags-binary.s4 # RUN: echo -n "BLOB" > %t.binary
5 # RUN: ld.lld -m elf32btsmip -r -b binary %t.binary -o %t.out
8 # RUN: echo -n "BLOB" > %t.binary
9 # RUN: ld.lld -m elf32btsmipn32 -r -b binary %t.binary -o %t.out
12 # RUN: echo -n "BLOB" > %t.binary
13 # RUN: ld.lld -m elf64btsmip -r -b binary %t.binary -o %t.out
H A Doformat-binary.s4 # RUN: ld.lld -o %t.out %t --oformat=binary
9 ## OUTPUT_FORMAT(binary) selects the binary format as well.
10 # RUN: echo "OUTPUT_FORMAT(binary)" > %t.script
14 # RUN: echo "OUTPUT_FORMAT("binary")OUTPUT_FORMAT(elf64-x86-64)" > %t.script
18 ## --oformat=binary overrides an ELF OUTPUT_FORMAT.
20 # RUN: ld.lld -o %t2.out --script %t.script %t --oformat binary
24 # RUN: ld.lld -o %t2.out --script %t.script %t --oformat binary
30 # RUN: ld.lld -T %talign.lds %t --oformat binary -o %talign
38 # RUN: ld.lld -T %tempty.lds %t --oformat binary
[all...]
/llvm-project/llvm/test/CodeGen/DirectX/
H A Dclamp.ll8 ; CHECK: call i16 @dx.op.binary.i16(i32 37, i16 %{{.*}}, i16 %{{.*}})
9 ; CHECK: call i16 @dx.op.binary.i16(i32 38, i16 %{{.*}}, i16 %{{.*}})
17 ; CHECK: call i32 @dx.op.binary.i32(i32 37, i32 %{{.*}}, i32 %{{.*}})
18 ; CHECK: call i32 @dx.op.binary.i32(i32 38, i32 %{{.*}}, i32 %{{.*}})
26 ; CHECK: call i64 @dx.op.binary.i64(i32 37, i64 %a, i64 %b)
27 ; CHECK: call i64 @dx.op.binary.i64(i32 38, i64 %{{.*}}, i64 %c)
35 ; CHECK: call half @dx.op.binary.f16(i32 35, half %{{.*}}, half %{{.*}})
36 ; CHECK: call half @dx.op.binary.f16(i32 36, half %{{.*}}, half %{{.*}})
44 ; CHECK: call float @dx.op.binary.f32(i32 35, float %{{.*}}, float %{{.*}})
45 ; CHECK: call float @dx.op.binary
[all...]
/llvm-project/lldb/test/Shell/ObjectFile/ELF/
H A Dminidebuginfo-set-and-hit-breakpoint.test6 # RUN: %clang_host -Wl,--dynamic-list=%T/dynmic-symbols.txt -g -o %t.binary %p/Inputs/minidebuginfo…
11 # Extract the dynamic symbols from the main binary, there is no need
14 # IGNORE: llvm-nm -D %t.binary --format=posix --defined-only | awk '{ print $1 }' | sort > %t.dynsy…
20 # IGNORE: llvm-nm %t.binary --format=posix --defined-only | awk '{ if ($2 == "T" || $2 == "t" || $2…
30 # Separate full debug info into debug binary.
32 # RUN: llvm-objcopy --only-keep-debug %t.binary %t.debug
41 # in the .dynsym section of the main binary. The bits removing .rela.plt,
47 # Drop the full debug info from the original binary.
49 # RUN: llvm-strip --strip-all -R .comment %t.binary
52 # original binary.
[all …]
/llvm-project/flang/lib/Decimal/
H A DCMakeLists.txt53 binary-to-decimal.cpp
54 decimal-to-binary.cpp
66 binary-to-decimal.cpp
67 decimal-to-binary.cpp
71 binary-to-decimal.cpp
72 decimal-to-binary.cpp
76 binary-to-decimal.cpp
77 decimal-to-binary.cpp
81 binary-to-decimal.cpp
82 decimal-to-binary.cpp
/llvm-project/mlir/lib/Target/SPIRV/
H A DTranslateRegistration.cpp52 auto binary = llvm::ArrayRef(reinterpret_cast<const uint32_t *>(start), in deserializeModule() local
54 return spirv::deserialize(binary, context); in deserializeModule()
75 SmallVector<uint32_t, 0> binary; in serializeModule() local
76 if (failed(spirv::serialize(module, binary))) in serializeModule()
79 output.write(reinterpret_cast<char *>(binary.data()), in serializeModule()
80 binary.size() * sizeof(uint32_t)); in serializeModule()
104 SmallVector<uint32_t, 0> binary; in roundTripModule() local
109 if (failed(spirv::serialize(module, binary, options))) in roundTripModule()
117 spirv::deserialize(binary, &deserializationContext); in roundTripModule()
/llvm-project/llvm/docs/CommandGuide/
H A Dllvm-install-name-tool.rst15 install names and rpaths listed in a Mach-O binary.
29 Add an rpath named ``<rpath>`` to the specified binary. Can be specified multiple
31 the binary.
36 specified binary. Can be specified multiple times to change multiple dependent shared
38 in the specified binary.
42 Delete an rpath named ``<rpath>`` from the specified binary. Can be specified multiple
44 the binary.
48 Deletes all rpaths from the binary.
57 specified binary. If specified multiple times, only the last :option:`-id` option is
58 selected. Option is ignored if the specified Mach-O binary is not a dynamic shared library.
[all …]
/llvm-project/libc/utils/gpu/loader/nvptx/
H A DLoader.cpp
/llvm-project/bolt/docs/
H A DBAT.md4 unoptimized binary. BOLT Address Translation allows collecting profile
5 from BOLT-optimized binary and using it for optimizing the input (pre-BOLT)
6 binary.
10 into the output binary containing translation tables and split functions linkage
12 binary onto the original binary.
16 needs to be passed along with the optimized binary containing BAT section to
18 binary.
30 note section in the output binary.
32 During profile conversion when BAT-enabled binary is passed to perf2bolt,
35 offsets in the input binary.
[all …]
/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
H A Dpatch-crashlog.py15 def __init__(self, data, binary, offsets, json): argument
17 self.binary = binary
22 self.data = self.data.replace("@EXEC@", self.binary)
23 self.data = self.data.replace("@NAME@", os.path.basename(self.binary))
26 output = subprocess.check_output(["dwarfdump", "--uuid", self.binary]).decode(
36 output = subprocess.check_output(["nm", self.binary]).decode("utf-8")
71 p = CrashLogPatcher(data, args.binary, offsets, args.json)
/llvm-project/mlir/lib/Conversion/GPUToVulkan/
H A DConvertGPULaunchFuncToVulkanLaunchFunc.cpp
/llvm-project/utils/bazel/llvm-project-overlay/llvm/
H A Dbinary_alias.bzl5 """Creates a copy of a binary, giving it a different basename.
9 binary = ":some_cc_binary",
15 target_file = ctx.executable.binary,
22 runfiles = ctx.attr.binary[DefaultInfo].default_runfiles,
28 "binary": attr.label(
/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl06.rst51 binary operators. An example of this is:
63 def binary> 10 (LHS RHS)
67 def binary| 5 (LHS RHS)
76 def binary= 9 (LHS RHS)
84 implementing support for user-defined binary operators and adding unary
90 Adding support for user-defined binary operators is pretty simple with
91 our current framework. We'll first add support for the unary/binary
109 if (IdentifierStr == "binary")
115 This just adds lexer support for the unary and binary keywords, like we
117 about our current AST, is that we represent binary operators with full
[all …]
/llvm-project/mlir/include/mlir/Dialect/GPU/IR/
H A DCompilationAttrInterfaces.td25 compile GPU modules into binary objects, providing an opaque interface to
44 Creates a GPU object attribute from a binary string.
47 retrieve additional information like the list of kernels in the binary.
48 The `object` parameter is a binary string. The `options` parameter is
91 operations like `gpu.binary` & `gpu.launch_func`. An example of such
110 Translates a `gpu.binary` Op into a sequence of LLVM IR target-specific
111 instructions, embedding the binary into a host LLVM module.
114 `gpu.binary`.
116 The first argument has to be a GPU binary operation.
129 `gpu.launch_func` operation; it searches the appropriate binary an
[all...]
/llvm-project/llvm/test/tools/llvm-cov/
H A Dmissing-binaries.test1 RUN: llvm-profdata merge %S/Inputs/binary-formats.proftext -o %t.profdata
2 … show -instr-profile=%t.profdata --object=%t.nonexistent.binary.1 --object=%t.nonexistent.binary.2…
4 CHECK: failed to load coverage: '{{.*}}nonexistent.binary.1':
/llvm-project/clang/docs/
H A DClangOffloadPackager.rst14 metadata. We use a custom binary format for bundling all the device images
17 create a fat-binary.
22 The binary format is marked by the ``0x10FF10AD`` magic bytes, followed by a
23 version. Each created binary contains its own magic bytes. This allows us to
25 by the linker, such as when using relocatable linking. Conceptually, this binary
26 format is a serialization of a string map and an image buffer. The binary header
35 | uint8_t | magic | The magic bytes for the binary format (0x10FF10AD) |
39 | uint64_t | size | Size of this binary in bytes |
47 of the binary blob containing the information for a single offloading image. We
76 identify the type of image stored here without needing to inspect the binary.
[all …]

12345678910>>...39