Home
last modified time | relevance | path

Searched +full:shared +full:- +full:llvm (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ExecutionEngine/Orc/Shared/
DOrcRTBridge.h1 //===---- OrcRTBridge.h -- Utils for interacting with orc-rt ----*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
16 #include "llvm/ADT/StringMap.h"
17 #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"
18 #include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h"
19 #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h"
[all …]
DTargetProcessControlTypes.h1 //===--- TargetProcessControlTypes.h -- Shared Core/TPC types ---*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
17 #include "llvm/ADT/ArrayRef.h"
18 #include "llvm/ADT/StringRef.h"
19 #include "llvm/ExecutionEngine/JITSymbol.h"
20 #include "llvm/ExecutionEngine/Orc/Shared/AllocationActions.h"
[all …]
/external/compiler-rt/test/profile/
Dinstrprof-shared.test2 This test produces three shared libraries:
4 1. libt-instr.so is instrumented
5 2. libt-no-instr1.so is not instrumented
6 3. libt-no-instr2.so is built with profile rt linked in (via -u<hook>), but the object file is built
12 The test is to verify that programs linked against these shared objects with and without instrument…
16 RUN: mkdir -p %t.d
17 RUN: %clang_profgen -o %t.d/libt-instr.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c
18 RUN: %clang -o %t.d/libt-no-instr1.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c
19 RUN: %clang -c -o %t.d/instrprof-shared-lib-no-instr2.o -fPIC %S/Inputs/instrprof-shared-lib.c
20 RUN: %clang_profgen -o %t.d/libt-no-instr2.so -fPIC -shared %t.d/instrprof-shared-lib-no-instr2.o
[all …]
Dinstrprof-dynamic-two-shared.test1 RUN: mkdir -p %t.d
2 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
3 RUN: %clang_profgen -o %t.d/b.shared -fPIC -shared %S/Inputs/instrprof-dynamic-b.cpp
4 RUN: %clang_profgen -o %t-shared -fPIC -rpath %t.d %t.d/a.shared %t.d/b.shared %S/Inputs/instrprof-
6 RUN: %clang_profgen -o %t-static %S/Inputs/instrprof-dynamic-a.cpp %S/Inputs/instrprof-dynamic-b.cp…
8 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
9 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
11 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
12 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
14 RUN: %clang_profuse=%t-static.profdata -o %t-a.static.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-
[all …]
Dinstrprof-value-prof-shared.test1 // RUN: mkdir -p %t.d
2-O2 -mllvm -enable-value-profiling=true -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=…
3-O2 -mllvm -enable-value-profiling=true -mllvm -vp-static-alloc=true -mllvm -vp-counters-per-site=…
5 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
6 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
7 // RUN: llvm-profdata show --all-functions -ic-targets %t.profdata | FileCheck %S/Inputs/instrpro…
10-O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllvm…
11-O2 -mllvm -disable-vp=false -Xclang -fprofile-instrument=llvm -mllvm -vp-static-alloc=true -mllv…
13 // RUN: llvm-profdata merge -o %t.ir.profdata %t.ir.profraw
14 // RUN: llvm-profdata show --all-functions -ic-targets %t.ir.profdata | FileCheck %S/Inputs/instr…
[all …]
Dinstrprof-dynamic-one-shared.test1 RUN: mkdir -p %t.d
2 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
3 RUN: %clang_profgen -o %t-shared -fPIC -rpath %t.d %t.d/a.shared %S/Inputs/instrprof-dynamic-b.cpp …
5 RUN: %clang_profgen -o %t-static %S/Inputs/instrprof-dynamic-a.cpp %S/Inputs/instrprof-dynamic-b.cp…
7 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
8 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
10 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
11 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
13 RUN: %clang_profuse=%t-static.profdata -o %t-a.static.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-
14 RUN: %clang_profuse=%t-shared.profdata -o %t-a.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-
[all …]
/external/compiler-rt/test/profile/Linux/
Dinstrprof-dynamic-two-shared.test1 RUN: mkdir -p %t.d
2 …ng_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.shared -f…
3 …ng_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/b.shared -f…
4-fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-shared -fPIC -rpath %t.d…
6 …: %clang_profgen -o %t-static %S/../Inputs/instrprof-dynamic-a.cpp %S/../Inputs/instrprof-dynamic-
8 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
9 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
11 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
12 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
14 RUN: %clang_profuse=%t-static.profdata -o %t-a.static.ll -S -emit-llvm %S/../Inputs/instrprof-dynam…
[all …]
Dinstrprof-dynamic-one-shared.test1 RUN: mkdir -p %t.d
2 …ng_profgen -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t.d/a.shared -f…
3-fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-shared -fPIC -rpath %t.d…
5-fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-static %S/../Inputs/inst…
7 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
8 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
10 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
11 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
13 RUN: %clang_profuse=%t-static.profdata -o %t-a.static.ll -S -emit-llvm %S/../Inputs/instrprof-dynam…
14 RUN: %clang_profuse=%t-shared.profdata -o %t-a.shared.ll -S -emit-llvm %S/../Inputs/instrprof-dynam…
[all …]
Dcoverage_shared.test1 RUN: mkdir -p %t.d
2 …UN: %clang_profgen -fdata-sections -ffunction-sections -fcoverage-mapping -c -o %t.d/a.shared.o -f…
3 …n -fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -fcoverage-mapping -o %t.d/a…
4-fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-shared -fPIC -rpath %t.d…
6-fdata-sections -ffunction-sections -fuse-ld=gold -Wl,--gc-sections -o %t-static %t.d/a.shared.o %…
8 RUN: env LLVM_PROFILE_FILE=%t-static.profraw %run %t-static
9 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
11 RUN: llvm-profdata merge -o %t-static.profdata %t-static.profraw
12 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
14 RUN: llvm-cov show -instr-profile %t-shared.profdata %t.d/a.shared | FileCheck --check-prefix=COV %…
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/Orc/TargetProcess/
DOrcRTBootstrap.cpp1 //===------------------------ OrcRTBootstrap.cpp --------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
12 #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"
13 #include "llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h"
14 #include "llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h"
18 using namespace llvm::orc::shared;
[all …]
DExecutorSharedMemoryMapperService.cpp1 //===---------- ExecutorSharedMemoryMapperService.cpp -----------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h"
11 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
12 #include "llvm/Support/Process.h"
13 #include "llvm/Support/WindowsError.h"
24 namespace llvm { namespace
[all …]
DSimpleRemoteEPCServer.cpp1 //===------- SimpleEPCServer.cpp - EPC over simple abstract channel -------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h"
11 #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h"
12 #include "llvm/Support/FormatVariadic.h"
13 #include "llvm/Support/Host.h"
14 #include "llvm/Support/Process.h"
[all …]
DSimpleExecutorDylibManager.cpp1 //===--- SimpleExecutorDylibManager.cpp - Executor-side dylib management --===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.h"
11 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
12 #include "llvm/Support/FormatVariadic.h"
16 namespace llvm { namespace
27 return make_error<StringError>("open: non-zero mode bits not yet supported", in open()
[all …]
DSimpleExecutorMemoryManager.cpp1 //===- SimpleExecuorMemoryManagare.cpp - Simple executor-side memory mgmt -===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.h"
11 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
12 #include "llvm/Support/FormatVariadic.h"
16 namespace llvm { namespace
38 std::vector<shared::WrapperFunctionCall> DeallocationActions; in finalize()
[all …]
/external/llvm/tools/llvm-config/
Dllvm-config.cpp1 //===-- llvm-config.cpp - LLVM project configuration utility --------------===//
3 // The LLVM Compiler Infrastructure
8 //===----------------------------------------------------------------------===//
10 // This tool encapsulates information about an LLVM project configuration for
14 // Note that although this tool *may* be used by some parts of LLVM's build
18 //===----------------------------------------------------------------------===//
20 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/ADT/StringMap.h"
22 #include "llvm/ADT/StringRef.h"
23 #include "llvm/ADT/Triple.h"
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DSimpleExecutorMemoryManager.h1 //===---------------- SimpleExecutorMemoryManager.h -------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // A simple allocator class suitable for basic remote-JIT use.
13 //===----------------------------------------------------------------------===//
18 #include "llvm/ADT/DenseMap.h"
19 #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"
20 #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h"
[all …]
DSimpleExecutorDylibManager.h1 //===--------------- SimpleExecutorDylibManager.h ---------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
19 #include "llvm/ADT/DenseSet.h"
20 #include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"
21 #include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h"
22 #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h"
[all …]
DExecutorSharedMemoryMapperService.h1 //===----------- ExecutorSharedMemoryMapperService.h ------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "llvm/ADT/DenseMap.h"
13 #include "llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h"
14 #include "llvm/ExecutionEngine/Orc/TargetProcess/ExecutorBootstrapService.h"
23 namespace llvm {
44 std::vector<shared::WrapperFunctionCall> DeinitializationActions;
[all …]
/external/AFLplusplus/instrumentation/
DREADME.lto.md1 # afl-clang-lto - collision free instrumentation at link time
5 This version requires a LLVM 12 or newer.
7 1. Use afl-clang-lto/afl-clang-lto++ because the resulting binaries run
13 3. It only works with LLVM 12 or newer.
17 5. If any problems arise, be sure to set `AR=llvm-ar RANLIB=llvm-ranlib AS=llvm-as`.
18 Some targets might need `LD=afl-clang-lto` and others `LD=afl-ld-lto`.
23 set during compilation are random - and hence naturally the larger the number
31 the real collisions are between 750-18.000!
37 * We instrument at link time when we have all files pre-compiled.
39 * Our compiler (afl-clang-lto/afl-clang-lto++) takes care of setting the correct
[all …]
/external/llvm/tools/llvm-shlib/
DCMakeLists.txt1 # This tool creates a shared library from the LLVM libraries. Generating this
3 # commandline. By default the shared library only exports the LLVM C API.
16 # libLLVM.so should not have any dependencies on any other LLVM
17 # shared libraries. When using the "all" pseudo-component,
19 # contain shared libraries (e.g. libLTO).
22 # - it is only used by internal *-tblgen utilities;
23 # - it pollutes the global options space.
39 add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${SOURCES})
44 set(LIB_NAMES -Wl,--whole-archive ${LIB_NAMES} -Wl,--no-whole-archive)
46 set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
[all …]
/external/cronet/third_party/libc++/src/test/libcxx/memory/trivial_abi/
Dunique_ptr_arg.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // ADDITIONAL_COMPILE_FLAGS: -Wno-macro-redefined -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
34 __attribute__((noinline)) void expect_1(int* shared, bool /*unused*/) { in expect_1() argument
35 assert(*shared == 1); in expect_1()
39 int shared = 0; in main() local
41 // Without trivial-abi, the unique_ptr is deleted at the end of this in main()
[all …]
Dunique_ptr_array.pass.cpp1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // ADDITIONAL_COMPILE_FLAGS: -Wno-macro-redefined -D_LIBCPP_ABI_ENABLE_UNIQUE_PTR_TRIVIAL_ABI
37 __attribute__((noinline)) void expect_3(int* shared, bool /*unused*/) { in expect_3() argument
38 assert(*shared == 3); in expect_3()
42 int shared = 0; in main() local
44 // Without trivial-abi, the unique_ptr is deleted at the end of this in main()
[all …]
/external/rust/crates/clang-sys/
DREADME.md1 # clang-sys
3 [![Crate](https://img.shields.io/crates/v/clang-sys.svg)](https://crates.io/crates/clang-sys)
4 [![Documentation](https://docs.rs/clang-sys/badge.svg)](https://docs.rs/clang-sys)
5 …ithub/actions/workflow/status/KyleMayes/clang-sys/ci.yml?branch=master)](https://github.com/KyleMa…
6 ![MSRV](https://img.shields.io/badge/MSRV-1.51.0-blue)
10 …t idiomatic Rust wrapper for these bindings, see [`clang-rs`](https://github.com/KyleMayes/clang-r…
14 ## [Documentation](https://docs.rs/clang-sys)
26 * `clang_3_5` - requires `libclang` 3.5 or later
27 * `clang_3_6` - requires `libclang` 3.6 or later
29 * `clang_15_0` - requires `libclang` 15.0 or later
[all …]
/external/llvm/test/Object/
Dobjdump-symbol-table.test1 RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-objdump -t - \
2 RUN: | FileCheck %s -check-prefix COFF-i386
3 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.elf-i386 \
4 RUN: | FileCheck %s -check-prefix ELF-i386
5 RUN: llvm-objdump -t %p/Inputs/trivial-object-test.macho-i386 \
6 RUN: | FileCheck %s -check-prefix macho-i386
7 RUN: llvm-objdump -t %p/Inputs/shared-object-test.elf-i386 \
8 RUN: | FileCheck %s -check-prefix ELF-shared
10 COFF-i386: file format
11 COFF-i386: SYMBOL TABLE:
[all …]
/external/llvm/test/tools/gold/X86/
Dcommon.ll1 ; RUN: llvm-as %s -o %t1.o
2 ; RUN: llvm-as %p/Inputs/common.ll -o %t2.o
3 ; RUN: llvm-as %p/Inputs/common2.ll -o %t2b.o
4 ; RUN: llvm-as %p/Inputs/common3.ll -o %t2c.o
8 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
9 ; RUN: --plugin-opt=emit-llvm \
10 ; RUN: -shared %t1.o %t2.o -o %t3.o
11 ; RUN: llvm-dis %t3.o -o - | FileCheck %s --check-prefix=A
13 ; Shared library case, we merge @a as common and keep it for the symbol table.
16 ; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
[all …]

12345678910>>...44