Home
last modified time | relevance | path

Searched +refs:llvm +refs:mode (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/external/llvm/utils/emacs/
DREADME1 -*- llvm/utils/emacs/README -*-
6 * llvm-mode.el
8 Syntax highlighting mode for LLVM assembly files. To use, add this code to
12 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
13 (require 'llvm-mode)
15 * tablegen-mode.el
17 Syntax highlighting mode for TableGen description files. To use, add this code
21 (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
22 (require 'tablegen-mode)
26 <llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
/external/AFLplusplus/docs/
Dfeatures.md3 AFL++ supports llvm from 3.8 up to version 12, very fast binary fuzzing with
4 QEMU 5.1 with laf-intel and Redqueen, FRIDA mode, unicorn mode, gcc plugin, full
9 | Feature/Instrumentation | afl-gcc | llvm | gcc_plugin | FRIDA mode(9) | QEMU mode(10…
27 see [instrumentation/README.llvm.md](../instrumentation/README.llvm.md)
31 [instrumentation/README.llvm.md](../instrumentation/README.llvm.md).
47 for all llvm versions and all our compile modes, only instrument what should
55 [instrumentation/README.llvm.md](../instrumentation/README.llvm.md).
60 see [instrumentation/README.llvm.md](../instrumentation/README.llvm.md).
77 efficiency bug in previous llvm versions
80 4. With pcguard mode and LTO mode for LLVM 11 and newer
[all …]
DINSTALL.md24 whatever llvm version is available. We recommend llvm 13, 14, 15 or 16.
29 # try to install llvm 14 and install the distro default if that fails
30 sudo apt-get install -y lld-14 llvm-14 llvm-14-dev clang-14 || sudo apt-get install -y lld llvm llv…
32 sudo apt-get install -y ninja-build # for QEMU mode
39 It is recommended to install the newest available gcc, clang and llvm-dev
42 Note that `make distrib` also builds FRIDA mode, QEMU mode, unicorn_mode, and
53 * all: the main AFL++ binaries and llvm/gcc instrumentation
81 * CODE_COVERAGE - compile the target for code coverage (see docs/instrumentation/README.llvm.md)
85 * LLVM_DEBUG - shows llvm deprecation warnings
91 * NO_NYX - disable building nyx mode dependencies
[all …]
/external/llvm/test/MC/ARM/
Darm-thumb-cpus.s1 @ RUN: not llvm-mc -show-encoding -triple=arm-eabi < %s 2>&1 \
4 @ RUN: llvm-mc -show-encoding -triple=armv4t < %s 2>&1 \
7 @ RUN: llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-a15 < %s 2>&1 \
10 @ RUN: not llvm-mc -show-encoding -triple=arm-eabi -mcpu=cortex-m3 < %s 2>&1 \
13 @ RUN: not llvm-mc -show-encoding -triple=armv7m-eabi < %s 2>&1 \
16 @ RUN: not llvm-mc -show-encoding -triple=armv6m-eabi < %s 2>&1 \
19 @ RUN: not llvm-mc -show-encoding -triple=armv6sm-eabi < %s 2>&1 \
30 @ CHECK-ARM-ONLY: target does not support Thumb mode
31 @ CHECK-ARM-ONLY: target does not support Thumb mode
33 @ CHECK-THUMB-ONLY: target does not support ARM mode
[all …]
Ddirective-arch_extension-idiv.s1 @ RUN: not llvm-mc -triple armv6-eabi -filetype asm -o /dev/null 2>&1 %s \
3 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
5 @ RUN: not llvm-mc -triple armv7m-eabi -filetype asm -o /dev/null 2>&1 %s \
7 @ RUN: not llvm-mc -triple thumbv6-eabi -filetype asm -o /dev/null 2>&1 %s \
9 @ RUN: not llvm-mc -triple thumbv7-eabi -filetype asm -o /dev/null 2>&1 %s \
11 @ RUN: not llvm-mc -triple thumbv7m-eabi -filetype asm -o /dev/null 2>&1 %s \
28 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
31 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
45 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
50 @ CHECK-THUMBv6: error: instruction requires: divide in ARM arm-mode
Dthumb2-dsp-diag.s1 @ RUN: not llvm-mc -triple=thumbv7m 2>&1 < %s | FileCheck --check-prefix=CHECK-ERRORS %s
2 @ RUN: llvm-mc -triple=thumbv7em -show-encoding < %s | FileCheck --check-prefix=CHECK-7EM %s
9 @ CHECK-ERRORS: error: instruction requires: arm-mode
10 @ CHECK-ERRORS: error: instruction requires: arm-mode
11 @ CHECK-ERRORS: error: instruction requires: arm-mode
12 @ CHECK-ERRORS: error: instruction requires: arm-mode
25 @ CHECK-ERRORS: error: instruction requires: arm-mode
26 @ CHECK-ERRORS: error: instruction requires: arm-mode
27 @ CHECK-ERRORS: error: instruction requires: arm-mode
28 @ CHECK-ERRORS: error: instruction requires: arm-mode
Dinvalid-idiv.s1 @ RUN: not llvm-mc -triple=armv7 -mcpu=cortex-a15 -mattr=-hwdiv-arm < %s 2> %t
3 @ RUN: not llvm-mc -triple=thumbv7 -mcpu=cortex-a15 -mattr=-hwdiv < %s 2> %t
5 @ RUN: not llvm-mc -triple=armv7 < %s 2> %t
7 @ RUN: not llvm-mc -triple=thumbv7 < %s 2> %t
16 @ THUMB-A15: error: instruction requires: arm-mode
18 @ THUMB-A15: error: instruction requires: arm-mode
Dthumb2-bxj.s1 @ RUN: llvm-mc -triple=thumbv6t2--none-eabi -show-encoding < %s | FileCheck %s
2 @ RUN: llvm-mc -triple=thumbv7a--none-eabi -show-encoding < %s | FileCheck %s
3 @ RUN: llvm-mc -triple=thumbv7r--none-eabi -show-encoding < %s | FileCheck %s
4 @ RUN: llvm-mc -triple=thumbv8a--none-eabi -show-encoding < %s | FileCheck %s
5 @ RUN: not llvm-mc -triple=thumbv7m--none-eabi -show-encoding < %s 2>&1 | FileCheck %s --check-pref…
10 @ UNDEF: error: instruction requires: arm-mode
/external/cronet/stable/third_party/llvm-libc/src/docs/
Dbuild_and_test.rst12 #. **The overlay mode** - In this mode, one uses the static archive from LLVM's
14 on building and using the libc in this mode. You can only run the libc
15 unittests in this mode. To run them, one simply does:
24 #. **The full build mode** - In this mode, the libc is used as the only libc
26 building and using the libc in this mode. Once configured for a full libc
50 "cmake.sourceDirectory": "${workspaceFolder}/llvm",
66 $> bazel build --config=generic_clang @llvm-project//libc/...
72 $> bazel test --config=generic_clang @llvm-project//libc/...
74 …located at: `utils/bazel/llvm-project-overlay/libc/BUILD.bazel <https://github.com/llvm/llvm-proje…
96 bind-mount an existing checkout of llvm-project on the host:
[all …]
Doverlay_mode.rst11 One can choose to use LLVM's libc in the overlay mode. In this mode, the link
20 Building the libc in the overlay mode
24 overlay mode. In both the ways, we build a static archive named
39 $> cd llvm-project # The llvm-project checkout
71 The bootstrap build is a build mode in which runtime components like libc++,
79 $> cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS="clang" \
118 if you want to link ``libllvmlibc.a`` to ``llvm-objcopy``, all you have to do
123 target_link_libraries(llvm-objcopy PRIVATE llvmlibc)
/external/cronet/tot/third_party/llvm-libc/src/docs/
Dbuild_and_test.rst12 #. **The overlay mode** - In this mode, one uses the static archive from LLVM's
14 on building and using the libc in this mode. You can only run the libc
15 unittests in this mode. To run them, one simply does:
24 #. **The full build mode** - In this mode, the libc is used as the only libc
26 building and using the libc in this mode. Once configured for a full libc
50 "cmake.sourceDirectory": "${workspaceFolder}/llvm",
66 $> bazel build --config=generic_clang @llvm-project//libc/...
72 $> bazel test --config=generic_clang @llvm-project//libc/...
74 …located at: `utils/bazel/llvm-project-overlay/libc/BUILD.bazel <https://github.com/llvm/llvm-proje…
96 bind-mount an existing checkout of llvm-project on the host:
[all …]
Doverlay_mode.rst11 One can choose to use LLVM's libc in the overlay mode. In this mode, the link
20 Building the libc in the overlay mode
24 overlay mode. In both the ways, we build a static archive named
39 $> cd llvm-project # The llvm-project checkout
71 The bootstrap build is a build mode in which runtime components like libc++,
79 $> cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS="clang" \
118 if you want to link ``libllvmlibc.a`` to ``llvm-objcopy``, all you have to do
123 target_link_libraries(llvm-objcopy PRIVATE llvmlibc)
/external/AFLplusplus/test/
Dtest-all.sh7 . ./test-llvm.sh
9 . ./test-llvm-lto.sh
15 . ./test-qemu-mode.sh
17 . ./test-frida-mode.sh
19 . ./test-nyx-mode.sh
21 . ./test-unicorn-mode.sh
/external/cronet/stable/third_party/llvm-libc/src/examples/
DREADME.md6 [the usage mode document](https://libc.llvm.org/usage_modes.html) for more
22 [the overlay mode](https://libc.llvm.org/overlay_mode.html) or the
23 [full build mode](https://libc.llvm.org/fullbuild_mode.html). The CMake
24 configure step differs slightly depending on the mode you want to use the libc
31 install it. See [the documentation of the overlay mode](https://libc.llvm.org/overlay_mode.html)
52 install it. See [the documentation of the full build mode](https://libc.llvm.org/fullbuild_mode.htm…
/external/cronet/tot/third_party/llvm-libc/src/examples/
DREADME.md6 [the usage mode document](https://libc.llvm.org/usage_modes.html) for more
22 [the overlay mode](https://libc.llvm.org/overlay_mode.html) or the
23 [full build mode](https://libc.llvm.org/fullbuild_mode.html). The CMake
24 configure step differs slightly depending on the mode you want to use the libc
31 install it. See [the documentation of the overlay mode](https://libc.llvm.org/overlay_mode.html)
52 install it. See [the documentation of the full build mode](https://libc.llvm.org/fullbuild_mode.htm…
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.h71 const llvm::SmallVectorImpl<mlir::Value>& arguments,
76 const llvm::SmallVectorImpl<mlir::Value>& operands,
78 DynamicShapeHandlingMode mode = DynamicShapeHandlingMode::kDynamic);
81 llvm::StringRef attr_name);
98 mlir::Operation* op, llvm::ArrayRef<mlir::Value> implicit_operands);
110 mlir::Type type, llvm::SmallVectorImpl<mlir::Type>& flattened_types);
116 llvm::SmallVectorImpl<mlir::Value>& flattened_values);
132 llvm::MutableArrayRef<mlir::Value>& flatten_values, mlir::Type type);
165 const llvm::SmallVectorImpl<mlir::Value>& arguments,
171 const llvm::SmallVectorImpl<mlir::Value>& operands,
[all …]
/external/llvm/test/tools/dsymutil/X86/
Dmultiple-inputs.test9 # Multiple inputs in flat mode
10 RUN: llvm-dsymutil -f -oso-prepend-path=%p/.. %T/multiple-inputs/basic.macho.x86_64 %T/multiple-inp…
11 RUN: llvm-dwarfdump %T/multiple-inputs/basic.macho.x86_64.dwarf \
13 RUN: llvm-dwarfdump %T/multiple-inputs/basic-archive.macho.x86_64.dwarf \
15 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto.macho.x86_64.dwarf | FileCheck %S/basic-lto-linkin…
16 RUN: llvm-dwarfdump %T/multiple-inputs/basic-lto-dw4.macho.x86_64.dwarf | FileCheck %S/basic-lto-dw…
19 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/multiple-inputs/basic.macho.x86_64 %T/multiple-inputs…
20 RUN: llvm-dwarfdump %t.dSYM/Contents/Resources/DWARF/basic.macho.x86_64 \
22 RUN: llvm-dwarfdump %t.dSYM/Contents/Resources/DWARF/basic-archive.macho.x86_64 \
24 RUN: llvm-dwarfdump %t.dSYM/Contents/Resources/DWARF/basic-lto.macho.x86_64 | FileCheck %S/basic-lt…
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DThreading.inc4 // See https://llvm.org/LICENSE.txt for license information.
13 #include "llvm/ADT/SmallString.h"
14 #include "llvm/ADT/Twine.h"
16 #include "llvm/Support/Windows/WindowsSupport.h"
38 llvm::Optional<unsigned> StackSizeInBytes,
57 uint64_t llvm::get_threadid() {
61 uint32_t llvm::get_max_thread_name_length() { return 0; }
91 void llvm::set_thread_name(const Twine &Name) {
100 void llvm::get_thread_name(SmallVectorImpl<char> &Name) {
110 SetThreadPriorityResult llvm::set_thread_priority(ThreadPriority Priority) {
[all …]
/external/llvm/test/Instrumentation/AddressSanitizer/
Dlifetime-uar-uas.ll1 ; Test handling of llvm.lifetime intrinsics in UAR/UAS modes.
9 declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
10 declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
19 call void @llvm.lifetime.start(i64 1, i8* %c)
20 ; Memory is unpoisoned at llvm.lifetime.start
26 call void @llvm.lifetime.end(i64 1, i8* %c)
27 ; Memory is poisoned at llvm.lifetime.end
30 ; Unpoison memory at function exit in UAS mode.
37 ; No poisoning/poisoning at all in plain mode.
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/
Dfallback_to_flex_ops.cc48 return llvm::isa< in IsTfFakeQuantOp()
60 return llvm::isa< in IsAlwaysAllowlistedOp()
137 return llvm::isa< in IsFusibleWithBiasOp()
175 explicit FallbackToFlexOps(const std::string &mode) { mode_ = mode; } in FallbackToFlexOps() argument
193 llvm::cl::desc("The mode of TF Quantization."),
194 llvm::cl::init("")};
258 return llvm::all_of(fp_attr.getValues<APFloat>(), [value](const APFloat &f) { in FloatValueEquals()
297 const std::string &mode) { in CreateFallbackToFlexOpsPass() argument
298 return std::make_unique<internal::FallbackToFlexOps>(mode); in CreateFallbackToFlexOpsPass()
/external/llvm/docs/CommandGuide/
Dllvm-config.rst1 llvm-config - Print LLVM compilation options
9 **llvm-config** *option* [*components*...]
16 **llvm-config** makes it easier to build applications that use LLVM. It can
30 g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp
31 g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \
32 `llvm-config --libs engine bcreader scalaropts`
49 Print a summary of **llvm-config** arguments.
136 **--build-mode**
138 Print the build mode used when LLVM was built (e.g. Debug or Release)
147 To print a list of all available components, run **llvm-config
[all …]
/external/llvm/test/tools/gold/X86/
Dthinlto.ll3 ; RUN: llvm-as %s -o %t.o
4 ; RUN: llvm-as %p/Inputs/thinlto.ll -o %t2.o
13 ; RUN: llvm-nm %t4 | FileCheck %s --check-prefix=NM
24 ; RUN: llvm-bcanalyzer -dump %t.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND1
25 ; RUN: llvm-bcanalyzer -dump %t2.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND2
28 ; Ensure gold generates an index as well as a binary by default in ThinLTO mode.
29 ; First force single-threaded mode
34 ; RUN: llvm-bcanalyzer -dump %t4.thinlto.bc | FileCheck %s --check-prefix=COMBINED
35 ; RUN: llvm-nm %t4 | FileCheck %s --check-prefix=NM
37 ; Next force multi-threaded mode
[all …]
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/tests/
DBUILD16 "@llvm-project//llvm:FileCheck",
17 "@llvm-project//llvm:not",
18 "@llvm-project//mlir:run_lit.sh",
24 driver = "@llvm-project//mlir:run_lit.sh",
29 # This test has high memory usage. It causes OOM in msan mode.
/external/AFLplusplus/
DGNUmakefile322 all: test_x86 test_shm test_python ready $(PROGS) afl-as llvm gcc_plugin test_build all_done
328 …@test -e afl-llvm-pass.so && echo "[+] LLVM basic mode successfully built" || echo "[-] LLVM mode …
336 .PHONY: llvm
337 llvm: target
338 -$(MAKE) -j$(nproc) -f GNUmakefile.llvm
397 @echo LLVM_DEBUG - shows llvm deprecation warnings
403 @echo NO_NYX - disable building nyx mode dependencies
410 @echo e.g.: make LLVM_CONFIG=llvm-config-16
583 @echo "[!] Note: skipping build tests (you may need to use LLVM or QEMU mode)."
589 …cmplog-instructions-pass.so && echo "[+] LLVM mode for 'afl-cc' successfully built!" || echo "[-] …
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt.c87 if (draw->pt.middle.llvm) { in draw_pt_arrays()
88 middle = draw->pt.middle.llvm; in draw_pt_arrays()
209 if (draw->llvm) { in draw_pt_init()
210 draw->pt.middle.llvm = draw_pt_fetch_pipeline_or_emit_llvm(draw); in draw_pt_init()
227 if (draw->pt.middle.llvm) { in draw_pt_destroy()
228 draw->pt.middle.llvm->destroy(draw->pt.middle.llvm); in draw_pt_destroy()
229 draw->pt.middle.llvm = NULL; in draw_pt_destroy()
393 draw_pt_arrays(draw, info->mode, info->index_bias_varies, &cur, 1); in prim_restart_loop()
404 draw_pt_arrays(draw, info->mode, info->index_bias_varies, &cur, 1); in prim_restart_loop()
430 draw_pt_arrays(draw, info->mode, info->index_bias_varies, draw_info, num_draws); in draw_pt_arrays_restart()
[all …]

12345678910>>...30