Home
last modified time | relevance | path

Searched +full:clang +full:- +full:o3 +full:- +full:o0 (Results 1 – 25 of 50) sorted by relevance

12

/external/clang/test/Driver/
Dwoa-fp.c1 // RUN: %clang -target armv7-windows-msvc -### -S %s -O0 -o /dev/null 2>&1 | FileCheck %s -check-pr…
2 // RUN: %clang -target armv7-windows-msvc -### -S %s -O1 -o /dev/null 2>&1 | FileCheck %s -check-pr…
3 // RUN: %clang -target armv7-windows-msvc -### -S %s -O2 -o /dev/null 2>&1 | FileCheck %s -check-pr…
4 // RUN: %clang -target armv7-windows-msvc -### -S %s -O3 -o /dev/null 2>&1 | FileCheck %s -check-pr…
5 // RUN: %clang -target armv7-windows-msvc -### -S %s -Os -o /dev/null 2>&1 | FileCheck %s -check-pr…
7 // RUN: %clang -target armv7-windows-itanium -### -S %s -O0 -o /dev/null 2>&1 | FileCheck %s -check
8 // RUN: %clang -target armv7-windows-itanium -### -S %s -O1 -o /dev/null 2>&1 | FileCheck %s -check
9 // RUN: %clang -target armv7-windows-itanium -### -S %s -O2 -o /dev/null 2>&1 | FileCheck %s -check
10 // RUN: %clang -target armv7-windows-itanium -### -S %s -O3 -o /dev/null 2>&1 | FileCheck %s -check
11 // RUN: %clang -target armv7-windows-itanium -### -S %s -Os -o /dev/null 2>&1 | FileCheck %s -check
[all …]
Dframe-pointer.c1 // RUN: %clang -target i386-pc-linux -### -S -O0 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK0-3…
2 // RUN: %clang -target i386-pc-linux -### -S -O1 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK1-3…
3 // RUN: %clang -target i386-pc-linux -### -S -O2 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK2-3…
4 // RUN: %clang -target i386-pc-linux -### -S -O3 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK3-3…
5 // RUN: %clang -target i386-pc-linux -### -S -Os %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECKs-3…
8 // RUN: %clang -target x86_64-pc-linux -### -S -O0 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK0
9 // RUN: %clang -target x86_64-pc-linux -### -S -O1 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK1
10 // RUN: %clang -target x86_64-pc-linux -### -S -O2 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK2
11 // RUN: %clang -target x86_64-pc-linux -### -S -O3 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK3
12 // RUN: %clang -target x86_64-pc-linux -### -S -Os %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECKs
[all …]
Dcuda-external-tools.cu3 // REQUIRES: clang-driver
4 // REQUIRES: x86-registered-target
5 // REQUIRES: nvptx-registered-target
7 // Regular compiles with -O{0,1,2,3,4,fast}. -O4 and -Ofast map to ptxas O3.
8 // RUN: %clang -### -target x86_64-linux-gnu -O0 -c %s 2>&1 \
9 // RUN: | FileCheck -check-prefix ARCH64 -check-prefix SM20 -check-prefix OPT0 %s
10 // RUN: %clang -### -target x86_64-linux-gnu -O1 -c %s 2>&1 \
11 // RUN: | FileCheck -check-prefix ARCH64 -check-prefix SM20 -check-prefix OPT1 %s
12 // RUN: %clang -### -target x86_64-linux-gnu -O2 -c %s 2>&1 \
13 // RUN: | FileCheck -check-prefix ARCH64 -check-prefix SM20 -check-prefix OPT2 %s
[all …]
Dgold-lto.c3 // RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \
4 // RUN: -Wl,-plugin-opt=foo -O3 \
5 // RUN: | FileCheck %s --check-prefix=CHECK-X86-64-BASIC
6 // CHECK-X86-64-BASIC: "-plugin" "{{.*}}/LLVMgold.so"
7 // CHECK-X86-64-BASIC: "-plugin-opt=O3"
8 // CHECK-X86-64-BASIC: "-plugin-opt=foo"
10 // RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \
11 // RUN: -march=corei7 -Wl,-plugin-opt=foo -Ofast \
12 // RUN: | FileCheck %s --check-prefix=CHECK-X86-64-COREI7
13 // CHECK-X86-64-COREI7: "-plugin" "{{.*}}/LLVMgold.so"
[all …]
Dclang_f_opts.c1 // REQUIRES: clang-driver
3clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-
4clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-asm -fno-blo…
6 // CHECK-OPTIONS1: -split-stacks
7 // CHECK-OPTIONS1: -fgnu-keywords
8 // CHECK-OPTIONS1: -fblocks
9 // CHECK-OPTIONS1: -fpascal-strings
11 // CHECK-OPTIONS2: -fmath-errno
12 // CHECK-OPTIONS2: -fno-gnu-keywords
13 // CHECK-OPTIONS2: -fno-builtin
[all …]
/external/clang/test/CodeGen/
Dlifetime.c1 // RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=O0
2 // RUN: %clang -S -emit-llvm -o - -O1 %s | FileCheck %s -check-prefix=O1
3 // RUN: %clang -S -emit-llvm -o - -O2 %s | FileCheck %s -check-prefix=O2
4 // RUN: %clang -S -emit-llvm -o - -O3 %s | FileCheck %s -check-prefix=O3
14 // O0: lifetime_test in lifetime_test()
17 // O3: lifetime_test in lifetime_test()
18 // O0-NOT: @llvm.lifetime.start in lifetime_test()
21 // O3: @llvm.lifetime.start in lifetime_test()
Dlibcalls-d.c1 // llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
2 // and -fno-builtins shouldn't.
3 // -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
4 // RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -o - | grep {call.*exp2\\.f64}
5 // RUN: %clang_cc1 %s -emit-llvm -fmath-errno -o - | grep {call.*exp2}
6 // RUN: %clang_cc1 %s -emit-llvm -O1 -o - | grep {call.*ldexp}
7 // RUN: %clang_cc1 %s -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2}
9 // clang doesn't support this yet.
Dlibcalls-ld.c1 // llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
2 // and -fno-builtins shouldn't.
3 // -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
4 // RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -o - | grep {call.*exp2\\..*f}
5 // RUN: %clang_cc1 %s -emit-llvm -fmath-errno -o - | grep {call.*exp2l}
6 // RUN: %clang_cc1 %s -emit-llvm -O1 -o - | grep {call.*ldexp}
7 // RUN: %clang_cc1 %s -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2l}
9 // clang doesn't support this yet.
/external/icu/icu4c/source/
DrunConfigureICU4 # Copyright (c) 1999-2015, International Business Machines Corporation and
16 if test $ec -eq 0
23 …echo "${uletter}sage: $me [ -h, --help ] [ --enable-debug | --disable-release ] platform [ config…
24 if test $ec -eq 0
28 Options: -h, --help Print this message and exit
29 --enable-debug Enable support for debugging
30 --disable-release Disable presetting optimization flags
35 CXXFLAGS=xyz path/to/runConfigureICU --enable-debug ...
45 FreeBSD Use the clang/clang++ or GNU gcc/g++ compilers on FreeBSD
46 HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11
[all …]
/external/harfbuzz_ng/.circleci/
Dconfig.yml5 macos-10.12.6-aat-fonts:
9 - checkout
10- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget pkg-config libtool ragel freetype glib cairo
11 - run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
12 - run: make -j4
13 - run: make check || .ci/fail.sh
15 macos-10.13.6-aat-fonts:
19 - checkout
20- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install wget pkg-config libtool ragel freetype glib cairo
21 - run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
[all …]
/external/curl/m4/
Dcurl-compilers.m48 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
28 dnl -------------------------------------------------
69 *** mailing list: https://cool.haxx.se/mailman/listinfo/curl-library/
77 dnl -------------------------------------------------
78 dnl Verify if compiler being used is clang.
82 AC_MSG_CHECKING([if compiler is clang])
89 dnl IBM's almost-compatible clang version
94 compiler_id="CLANG"
96 fullclangver=`$CC -v 2>&1 | grep version`
97 …clangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1…
[all …]
/external/clang/docs/CommandGuide/
Dclang.rst1 clang - the Clang C, C++, and Objective-C compiler
5 --------
7 :program:`clang` [*options*] *filename ...*
10 -----------
12 :program:`clang` is a C, C++, and Objective-C compiler which encompasses
14 Depending on which high-level mode setting is passed, Clang will stop before
15 doing a full link. While Clang is highly integrated, it is important to
20 The clang executable is actually a small driver which controls the overall
29 ".mi" (for Objective-C), or ".mii" (for Objective-C++) file.
40 This stage translates an AST into low-level intermediate code (known as
[all …]
/external/compiler-rt/test/asan/TestCases/
Dheap-overflow.cc1 // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
2 // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s
3 // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
4 // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
8 // REQUIRES: Clang
17 // CHECK: {{ #0 0x.* in main .*heap-overflow.cc:}}[[@LINE-2]] in main()
18 // CHECK: {{0x.* is located 0 bytes to the right of 10-byte region}} in main()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DFuzzingLLVM.rst19 clang-fuzzer
20 ------------
27 __ https://bugs.chromium.org/p/oss-fuzz/issues/list?q=proj-llvm+clang-fuzzer
29 clang-proto-fuzzer
30 ------------------
35 This fuzzer accepts clang command line options after `ignore_remaining_args=1`.
36 For example, the following command will fuzz clang with a higher optimization
39 .. code-block:: shell
41 % bin/clang-proto-fuzzer <corpus-dir> -ignore_remaining_args=1 -O3
43 clang-format-fuzzer
[all …]
DHowToSubmitABug.rst5 Introduction - Got bugs?
21 Once you have a reduced test-case, go to `the LLVM Bug Tracking System
24 the "new-bugs" category if you're not sure). The bug description should
28 * The reduced test-case that triggers the bug.
39 More often than not, bugs in the compiler cause it to crash---often due to
41 is to figure out if it is crashing in the Clang front-end or if it is one of
45 To figure out which component is crashing (the front-end, optimizer or code
46 generator), run the ``clang`` command line as you were when the crash
49 * ``-O0 -emit-llvm``: If ``clang`` still crashes when passed these
51 is in the front-end. Jump ahead to the section on :ref:`front-end bugs
[all …]
/external/v8/gypfiles/
Dtoolchain.gypi28 # Shared definitions for all V8-related targets.
33 'clang%': 0,
43 'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")',
47 # registers d16-d31 in the generated code, both in the snapshot and for the
71 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing.
85 'werror%': '-Werror',
86 # For a shared library build, results in "libv8-<(soname_version).so".
105 # are using a custom toolchain and need to control -B in ldflags.
106 # Do not use 32-bit gold on 32-bit hosts as it runs out address space
114 # checked into third_party/binutils. These are not multi-arch so cannot
[all …]
/external/llvm/docs/
DHowToSubmitABug.rst5 Introduction - Got bugs?
21 Once you have a reduced test-case, go to `the LLVM Bug Tracking System
24 the "new-bugs" category if you're not sure). The bug description should
28 * The reduced test-case that triggers the bug.
39 More often than not, bugs in the compiler cause it to crash---often due to
41 is to figure out if it is crashing in the GCC front-end or if it is one of
45 To figure out which component is crashing (the front-end, optimizer or code
46 generator), run the ``clang`` command line as you were when the crash
49 * ``-O0 -emit-llvm``: If ``clang`` still crashes when passed these
51 is in the front-end. Jump ahead to the section on :ref:`front-end bugs
[all …]
/external/libffi/
Dmsvcc.sh41 # GCC-compatible wrapper for cl.exe and ml.exe. Arguments are given in GCC
46 args="-nologo -W3"
51 safeseh="-safeseh"
54 while [ $# -gt 0 ]
58 -fexceptions)
60 #args="$args -EHac"
63 -m32)
66 -m64)
71 -clang-cl)
72 cl="clang-cl"
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/
Dptrsize.ll1 ; REQUIRES: object-emission
3 ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4 ; RUN: llvm-dwarfdump -v %t | FileCheck %s
9 ; CHECK: 0x[[O1:[0-9a-f]+]]: DW_TAG_pointer_type
10 ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
11 ; CHECK-NOT: DW_AT_byte_size
12 ; CHECK: 0x[[O2:[0-9a-f]+]]: DW_TAG_
14 ; CHECK: 0x[[O3:[0-9a-f]+]]: DW_TAG_reference_type
15 ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
16 ; CHECK-NOT: DW_AT_byte_size
[all …]
/external/llvm/test/DebugInfo/Generic/
Dptrsize.ll1 ; REQUIRES: object-emission
3 ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4 ; RUN: llvm-dwarfdump %t | FileCheck %s
9 ; CHECK: 0x[[O1:[0-9a-f]+]]: DW_TAG_pointer_type
10 ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
11 ; CHECK-NOT: DW_AT_byte_size
12 ; CHECK: 0x[[O2:[0-9a-f]+]]: DW_TAG_
14 ; CHECK: 0x[[O3:[0-9a-f]+]]: DW_TAG_reference_type
15 ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4]
16 ; CHECK-NOT: DW_AT_byte_size
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsig_node_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
78 node->CopyLinksPass2(link_map); in CopyLinksPass2()
81 static void ComputeTopoHash0(SigNode* node) { node->ComputeTopoHash0(); } in ComputeTopoHash0()
84 node->ComputeTopoHash(distance); in ComputeTopoHash()
88 return node->GetTopoHash(distance); in GetTopoHash()
92 return node->GetHighTopoHash(); in GetHighTopoHash()
95 static void ReHighTopoHash(SigNode* node) { node->ReHighTopoHash(); } in ReHighTopoHash()
98 return node->hashed_peers_; in RefHashedPeers()
100 static size_t& RefUniqueRank(SigNode* node) { return node->unique_rank_; } in RefUniqueRank()
101 static bool& RefHashIsFinal(SigNode* node) { return node->hash_is_final_; } in RefHashIsFinal()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/
DREADME.txt3 //===---------------------------------------------------------------------===//
14 The legalization code for mul-with-overflow needs to be made more robust before
17 //===---------------------------------------------------------------------===//
19 Get the C front-end to expand hypot(x,y) -> llvm.sqrt(x*x+y*y) when errno and
25 //===---------------------------------------------------------------------===//
27 On targets with expensive 64-bit multiply, we could LSR this:
39 //===---------------------------------------------------------------------===//
41 Shrink: (setlt (loadi32 P), 0) -> (setlt (loadi8 Phi), 0)
43 //===---------------------------------------------------------------------===//
57 //===---------------------------------------------------------------------===//
[all …]
/external/llvm/lib/Target/
DREADME.txt3 //===---------------------------------------------------------------------===//
14 The legalization code for mul-with-overflow needs to be made more robust before
17 //===---------------------------------------------------------------------===//
19 Get the C front-end to expand hypot(x,y) -> llvm.sqrt(x*x+y*y) when errno and
25 //===---------------------------------------------------------------------===//
27 On targets with expensive 64-bit multiply, we could LSR this:
39 //===---------------------------------------------------------------------===//
41 Shrink: (setlt (loadi32 P), 0) -> (setlt (loadi8 Phi), 0)
43 //===---------------------------------------------------------------------===//
57 //===---------------------------------------------------------------------===//
[all …]
/external/swiftshader/third_party/LLVM/docs/CommandGuide/
Dllc.pod5 llc - LLVM static compiler
18 determined from the input file, unless the B<-march> option is used to override
23 If I<filename> is - or omitted, B<llc> reads from standard input. Otherwise, it
27 If the B<-o> option is omitted, then B<llc> will send its output to standard
28 output if the input is from standard input. If the B<-o> option specifies -,
31 If no B<-o> option is specified and an input file other than - is specified,
37 =head2 End-user Options
41 =item B<-help>
45 =item B<-O>=I<uint>
47 Generate code at different optimization levels. These correspond to the I<-O0>,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/
Dllc.rst1 llc - LLVM static compiler
5 --------
10 -----------
17 determined from the input file, unless the :option:`-march` option is used to
21 -------
23 If ``filename`` is "``-``" or omitted, :program:`llc` reads from standard input.
27 If the :option:`-o` option is omitted, then :program:`llc` will send its output
28 to standard output if the input is from standard input. If the :option:`-o`
29 option specifies "``-``", then the output will also be sent to standard output.
31 If no :option:`-o` option is specified and an input file other than "``-``" is
[all …]

12