Home
last modified time | relevance | path

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

12345678910>>...33

/external/llvm/test/Object/
Darchive-extract.test1 ; This test just makes sure that llvm-ar can extract bytecode members
6 ; RUN: rm -f very_long_bytecode_file_name.bc
7 ; RUN: llvm-ar p %p/Inputs/GNU.a very_long_bytecode_file_name.bc | \
8 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
9 ; RUN: llvm-ar x %p/Inputs/GNU.a very_long_bytecode_file_name.bc
10 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
13 ; RUN: rm -f very_long_bytecode_file_name.bc
14 ; RUN: llvm-ar p %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc | \
15 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
16 ; RUN: llvm-ar x %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc
[all …]
Darchive-update.test1 Test the 'u' option of llvm-ar
4 RUN: rm -f %t.a
7 RUN: mkdir -p %t.older
10 RUN: mkdir -p %t.newer
15 RUN: touch -m -t 200001010000 %t.older/evenlen || sleep 2.1
21 RUN: llvm-ar rU %t.a %t.newer/evenlen
22 RUN: llvm-ar p %t.a | FileCheck --check-prefix=NEWER %s
25 RUN: llvm-ar rU %t.a %t.older/evenlen
26 RUN: llvm-ar p %t.a | FileCheck --check-prefix=OLDER %s
29 RUN: llvm-ar ruU %t.a %t.newer/evenlen
[all …]
Darchive-move.test1 Test the 'm' operation in llvm-ar
5 RUN: rm -f %t.a
7 RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
8 RUN: llvm-ar t %t.a | FileCheck %s
10 RUN: rm -f %t.a
12 RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
13 RUN: llvm-ar t %t.a | FileCheck %s
15 RUN: rm -f %t.a
17 RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
18 RUN: llvm-ar t %t.a | FileCheck %s
[all …]
Dnm-universal-binary.test1 RUN: llvm-nm -arch all %p/Inputs/macho-universal.x86_64.i386 \
2 RUN: | FileCheck %s -check-prefix CHECK-OBJ
3 RUN: llvm-nm -arch all %p/Inputs/macho-universal64.x86_64.i386 \
4 RUN: | FileCheck %s -check-prefix CHECK-64-OBJ
5 RUN: llvm-nm -arch x86_64 %p/Inputs/macho-universal.x86_64.i386 \
6 RUN: | FileCheck %s -check-prefix CHECK-OBJ-x86_64
7 RUN: not llvm-nm -arch armv7m %p/Inputs/macho-universal.x86_64.i386 2>&1 \
8 RUN: | FileCheck %s -check-prefix CHECK-OBJ-armv7m
9 RUN: not llvm-nm -arch foobar %p/Inputs/macho-universal.x86_64.i386 2>&1 \
10 RUN: | FileCheck %s -check-prefix CHECK-OBJ-foobar
[all …]
Darchive-delete.test1 Test the 'd' operation in llvm-ar
5 RUN: rm -f %t.a
7 RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
8 RUN: llvm-ar t %t.a | FileCheck %s
10 RUN: rm -f %t.a
12 RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
13 RUN: llvm-ar t %t.a | FileCheck %s
15 RUN: rm -f %t.a
17 RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
18 RUN: llvm-ar t %t.a | FileCheck %s
[all …]
Darchive-replace-pos.test5 RUN: rm -f %t.a
6 RUN: llvm-ar rc %t.a %t.foo %t.bar
8 RUN: llvm-ar rca %t.foo %t.a %t.zed
9 RUN: llvm-ar t %t.a | FileCheck %s
12 CHECK-NEXT: .zed
13 CHECK-NEXT: .bar
15 RUN: rm -f %t.a
16 RUN: llvm-ar rc %t.a %t.zed %t.foo %t.bar
17 RUN: llvm-ar t %t.a | FileCheck --check-prefix=CHECK2 %s
20 CHECK2-NEXT: .foo
[all …]
Dar-create.test4 RUN: rm -f %t.foo.a
5 RUN: not llvm-ar p %t.foo.a %t 2>&1 | FileCheck %s
6 RUN: not llvm-ar d %t.foo.a %t 2>&1 | FileCheck %s
7 RUN: not llvm-ar m %t.foo.a %t 2>&1 | FileCheck %s
8 RUN: not llvm-ar t %t.foo.a %t 2>&1 | FileCheck %s
9 RUN: not llvm-ar x %t.foo.a %t 2>&1 | FileCheck %s
11 RUN: llvm-ar q %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
12 RUN: rm -f %t.foo.a
13 RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
14 RUN: rm -f %t.foo.a
[all …]
Darchive-toc.test1 Test reading an archive created by gnu ar
2 RUN: env TZ=GMT llvm-ar tv %p/Inputs/GNU.a | FileCheck %s --check-prefix=GNU -strict-whitespace
4 GNU: rw-r--r-- 500/500 8 2004-11-19 02:57:37.000000000 evenlen
5 GNU-NEXT: rw-r--r-- 500/500 7 2004-11-19 02:57:21.000000000 oddlen
6 GNU-NEXT: rwxr-xr-x 500/500 1465 2004-11-19 03:01:31.000000000 very_long_bytecode_file_name.bc
7 GNU-NEXT: rw-r--r-- 500/500 2280 2004-11-19 03:04:30.000000000 IsNAN.o
10 Test reading an archive createdy by Mac OS X ar
11 RUN: env TZ=GMT llvm-ar tv %p/Inputs/MacOSX.a | FileCheck %s --check-prefix=OSX -strict-whitespace
13 OSX-NOT: __.SYMDEF
14 OSX: rw-r--r-- 501/501 8 2004-11-19 02:57:37.000000000 evenlen
[all …]
/external/llvm/docs/CommandGuide/
Dllvm-ar.rst1 llvm-ar - LLVM archiver
6 --------
9 **llvm-ar** [-]{dmpqrtx}[Rabfikou] [relpos] [count] <archive> [files...]
13 -----------
16 The **llvm-ar** command is similar to the common Unix utility, ``ar``. It
18 to produce archive libraries by LLVM bitcode that can be linked into an
19 LLVM program. However, the archive can contain any kind of file. By default,
20 **llvm-ar** generates a symbol table that makes linking faster because
24 The **llvm-ar** command can be used to *read* SVR4, GNU and BSD style archive
29 Here's where **llvm-ar** departs from previous ``ar`` implementations:
[all …]
/external/llvm/test/tools/llvm-ar/
Ddefault-add.test1 RUN: yaml2obj %S/Inputs/macho.yaml -o %t-macho.o
2 RUN: yaml2obj %S/Inputs/coff.yaml -o %t-coff.o
4 RUN: rm -f %t.ar
5 RUN: llvm-ar crs %t.ar %t-macho.o
6 RUN: grep -q __.SYMDEF %t.ar
7 RUN: llvm-ar crs %t.ar %t-coff.o
8 RUN: grep -q __.SYMDEF %t.ar
10 RUN: rm -f %t.ar
11 RUN: llvm-ar crs %t.ar %t-coff.o
12 RUN: not grep -q __.SYMDEF %t.ar
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp1 //===- LoopRotation.cpp - Loop Rotation Pass ------------------------------===//
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 //===----------------------------------------------------------------------===//
13 #include "llvm/Transforms/Scalar/LoopRotation.h"
14 #include "llvm/ADT/Statistic.h"
15 #include "llvm/Analysis/InstructionSimplify.h"
16 #include "llvm/Analysis/LoopPass.h"
[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/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp1 //===- LoopRotation.cpp - Loop Rotation Pass ------------------------------===//
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 //===----------------------------------------------------------------------===//
13 #include "llvm/Transforms/Scalar/LoopRotation.h"
14 #include "llvm/Analysis/AssumptionCache.h"
15 #include "llvm/Analysis/InstructionSimplify.h"
16 #include "llvm/Analysis/LazyBlockFrequencyInfo.h"
[all …]
/external/trusty/arm-trusted-firmware/make_helpers/
Dtoolchain.mk2 # Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
4 # SPDX-License-Identifier: BSD-3-Clause
8 # TF-A uses three toolchains:
10 # - The host toolchain (`host`) for building native tools
11 # - The AArch32 toolchain (`aarch32`) for building Arm AArch32 images
12 # - The AArch64 toolchain (`aarch64`) for building Arm AArch64 images
18 ifndef toolchain-mk
19 toolchain-mk := $(lastword $(MAKEFILE_LIST))
21 include $(dir $(toolchain-mk))build_env.mk
22 include $(dir $(toolchain-mk))utilities.mk
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/ffmpeg/src/main/jni/
Dbuild_ffmpeg.sh9 # http://www.apache.org/licenses/LICENSE-2.0
22 JOBS=$(nproc 2> /dev/null || sysctl -n hw.ncpu 2> /dev/null || echo 4)
25 --target-os=android
26 --enable-static
27 --disable-shared
28 --disable-doc
29 --disable-programs
30 --disable-everything
31 --disable-avdevice
32 --disable-avformat
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/
DArchive.cpp1 //===- Archive.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 //===----------------------------------------------------------------------===//
10 #include "llvm/ObjCopy/CommonConfig.h"
11 #include "llvm/ObjCopy/MultiFormatConfig.h"
12 #include "llvm/ObjCopy/ObjCopy.h"
13 #include "llvm/Object/Error.h"
14 #include "llvm/Object/MachO.h"
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp1 //===- AliasAnalysisEvaluator.cpp - Alias Analysis Accuracy Evaluator -----===//
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/Analysis/AliasAnalysisEvaluator.h"
10 #include "llvm/ADT/SetVector.h"
11 #include "llvm/Analysis/AliasAnalysis.h"
12 #include "llvm/IR/DataLayout.h"
13 #include "llvm/IR/Function.h"
[all …]
DScalarEvolutionNormalization.cpp1 //===- ScalarEvolutionNormalization.cpp - See below -----------------------===//
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 //===----------------------------------------------------------------------===//
14 #include "llvm/Analysis/ScalarEvolutionNormalization.h"
15 #include "llvm/Analysis/LoopInfo.h"
16 #include "llvm/Analysis/ScalarEvolution.h"
17 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
[all …]
DIVUsers.cpp1 //===- IVUsers.cpp - Induction Variable Users -------------------*- 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 //===----------------------------------------------------------------------===//
14 #include "llvm/Analysis/IVUsers.h"
15 #include "llvm/Analysis/AssumptionCache.h"
16 #include "llvm/Analysis/CodeMetrics.h"
17 #include "llvm/Analysis/LoopAnalysisManager.h"
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp1 //===- ScalarEvolutionNormalization.cpp - See below -----------------------===//
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 //===----------------------------------------------------------------------===//
14 #include "llvm/Analysis/ScalarEvolutionNormalization.h"
15 #include "llvm/Analysis/LoopInfo.h"
16 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
17 using namespace llvm;
[all …]
DAliasAnalysisEvaluator.cpp1 //===- AliasAnalysisEvaluator.cpp - Alias Analysis Accuracy Evaluator -----===//
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/Analysis/AliasAnalysisEvaluator.h"
10 #include "llvm/ADT/SetVector.h"
11 #include "llvm/Analysis/AliasAnalysis.h"
12 #include "llvm/IR/Constants.h"
13 #include "llvm/IR/DataLayout.h"
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/containers/associative/multimap/multimap.cons/
Dcopy_assign.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 //===----------------------------------------------------------------------===//
27 V ar[] = in main() local
41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
42 std::multimap<int, double, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
53 const V ar[] = in main() local
65 std::multimap<int, double> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/containers/associative/multimap/multimap.cons/
Dcopy_assign.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 //===----------------------------------------------------------------------===//
27 V ar[] = in main() local
41 std::multimap<int, double, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
42 std::multimap<int, double, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
53 const V ar[] = in main() local
65 std::multimap<int, double> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/containers/associative/set/set.cons/
Dcopy_assign.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 //===----------------------------------------------------------------------===//
27 V ar[] = in main() local
41 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
42 std::set<int, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
62 const V ar[] = in main() local
68 std::set<int> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/containers/associative/set/set.cons/
Dcopy_assign.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 //===----------------------------------------------------------------------===//
27 V ar[] = in main() local
41 std::set<int, C, A> mo(ar, ar+sizeof(ar)/sizeof(ar[0]), C(5), A(2)); in main()
42 std::set<int, C, A> m(ar, ar+sizeof(ar)/sizeof(ar[0])/2, C(3), A(7)); in main()
62 const V ar[] = in main() local
68 std::set<int> m(ar, ar+sizeof(ar)/sizeof(ar[0])); in main()
[all …]

12345678910>>...33