/external/clang/test/Driver/ |
D | x86-target-features.c | 1 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mx87 %s -### -o %t.o 2>&1 | FileCheck -c… 2 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-x87 %s -### -o %t.o 2>&1 | FileCheck… 3 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -m80387 %s -### -o %t.o 2>&1 | FileCheck … 4 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-80387 %s -### -o %t.o 2>&1 | FileChe… 5 // X87: "-target-feature" "+x87" 6 // NO-X87: "-target-feature" "-x87" 8 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mmmx -m3dnow -m3dnowa %s -### -o %t.o 2>… 9 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-mmx -mno-3dnow -mno-3dnowa %s -### -… 10 // MMX: "-target-feature" "+mmx" "-target-feature" "+3dnow" "-target-feature" "+3dnowa" 11 // NO-MMX: "-target-feature" "-mmx" "-target-feature" "-3dnow" "-target-feature" "-3dnowa" [all …]
|
D | arm-mfpu.c | 1 // Test that different values of -mfpu pick correct ARM FPU target-feature(s). 3 // RUN: %clang -target arm-linux-eabi %s -### -o %t.o 2>&1 \ 5 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp2" 6 // CHECK-DEFAULT-NOT: "-target-feature" "+vfp3" 7 // CHECK-DEFAULT-NOT: "-target-feature" "+d16" 8 // CHECK-DEFAULT-NOT: "-target-feature" "+neon" 10 // RUN: %clang -target arm-linux-eabi -mfpu=fpa %s -### -o %t.o 2>&1 \ 12 // RUN: %clang -target arm-linux-eabi -mfpu=fpe2 %s -### -o %t.o 2>&1 \ 14 // RUN: %clang -target arm-linux-eabi -mfpu=fpe3 %s -### -o %t.o 2>&1 \ 16 // RUN: %clang -target arm-linux-eabi -mfpu=maverick %s -### -o %t.o 2>&1 \ [all …]
|
D | mips-integrated-as.s | 1 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s 2>&1 | \ 3 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=32 2>&1 | \ 5 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=o32 2>&1 | \ 8 // ABI-O32: "-target-abi" "o32" 10 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mabi=eabi 2>&1 | \ 13 // ABI-EABI32: "-target-abi" "eabi" 15 // RUN: %clang -target mips-linux-gnu -### -fintegrated-as -c %s -mips64 -mabi=n32 2>&1 | \ 17 // RUN: %clang -target mips64-linux-gnu -### -fintegrated-as -c %s -mabi=n32 2>&1 | \ 20 // ABI-N32: "-target-abi" "n32" 22 // FIXME: We should also test '-target mips-linux-gnu -mips64' defaults to the [all …]
|
D | aarch64-cpus.c | 1 // Check target CPUs are correctly passed. 3 // RUN: %clang -target aarch64 -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s 4 // RUN: %clang -target aarch64 -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s 5 // RUN: %clang -target aarch64 -mlittle-endian -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC %s 6 // RUN: %clang -target aarch64 -mlittle-endian -mcpu=generic -### -c %s 2>&1 | FileCheck -check-pre… 7 // RUN: %clang -target aarch64_be -mlittle-endian -### -c %s 2>&1 | FileCheck -check-prefix=GENERIC… 8 // RUN: %clang -target aarch64_be -mlittle-endian -mcpu=generic -### -c %s 2>&1 | FileCheck -check-… 9 // GENERIC: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "generic" 11 // RUN: %clang -target arm64 -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-GENERIC %s 12 // RUN: %clang -target arm64 -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=ARM64-GENERIC … [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/PowerPC/ |
D | ppc64-fixups.s | 10 # CHECK-BE: b target # encoding: [0b010010AA,A,A,0bAAAAAA00] 11 # CHECK-LE: b target # encoding: [0bAAAAAA00,A,A,0b010010AA] 12 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 13 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 14 # CHECK-BE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0 15 # CHECK-LE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0 16 b target 18 # CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10] 19 # CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA] 20 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… [all …]
|
D | ppc64-encoding-ext.s | 168 # CHECK-BE: bt 2, target # encoding: [0x41,0x82,A,0bAAAAAA00] 169 # CHECK-LE: bt 2, target # encoding: [0bAAAAAA00,A,0x82,0x41] 170 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 171 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 172 bt 2, target 173 # CHECK-BE: bta 2, target # encoding: [0x41,0x82,A,0bAAAAAA10] 174 # CHECK-LE: bta 2, target # encoding: [0bAAAAAA10,A,0x82,0x41] 175 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 176 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 177 bta 2, target [all …]
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-fixups.s | 10 # CHECK-BE: b target # encoding: [0b010010AA,A,A,0bAAAAAA00] 11 # CHECK-LE: b target # encoding: [0bAAAAAA00,A,A,0b010010AA] 12 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 13 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 14 # CHECK-BE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0 15 # CHECK-LE-REL: 0x{{[0-9A-F]*[048C]}} R_PPC64_REL24 target 0x0 16 b target 18 # CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10] 19 # CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA] 20 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… [all …]
|
D | ppc64-encoding-ext.s | 168 # CHECK-BE: bt 2, target # encoding: [0x41,0x82,A,0bAAAAAA00] 169 # CHECK-LE: bt 2, target # encoding: [0bAAAAAA00,A,0x82,0x41] 170 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 171 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 172 bt 2, target 173 # CHECK-BE: bta 2, target # encoding: [0x41,0x82,A,0bAAAAAA10] 174 # CHECK-LE: bta 2, target # encoding: [0bAAAAAA10,A,0x82,0x41] 175 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 176 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 177 bta 2, target [all …]
|
/external/clang/test/OpenMP/ |
D | target_exit_data_ast_print.cpp | 14 #pragma omp target exit data map(from: i) in tmain() 16 #pragma omp target exit data map(from: i) if (target exit data: j > 0) in tmain() 18 #pragma omp target exit data map(from: i) if (b) in tmain() 20 #pragma omp target exit data map(from: c) in tmain() 22 #pragma omp target exit data map(from: c) if(b>e) in tmain() 24 #pragma omp target exit data map(release: x[0:10], c) in tmain() 26 #pragma omp target exit data map(delete: x[0:10]) in tmain() 28 #pragma omp target exit data map(always, delete: x[0:10]) in tmain() 30 #pragma omp target exit data map(from: c) map(release: d) in tmain() 32 #pragma omp target exit data map(always,release: e) in tmain() [all …]
|
D | target_enter_data_ast_print.cpp | 14 #pragma omp target enter data map(to: i) in tmain() 16 #pragma omp target enter data map(to: i) if (target enter data: j > 0) in tmain() 18 #pragma omp target enter data map(to: i) if (b) in tmain() 20 #pragma omp target enter data map(to: c) in tmain() 22 #pragma omp target enter data map(to: c) if(b>e) in tmain() 24 #pragma omp target enter data map(alloc: x[0:10], c) in tmain() 26 #pragma omp target enter data map(to: c) map(alloc: d) in tmain() 28 #pragma omp target enter data map(always,alloc: e) in tmain() 30 #pragma omp target enter data nowait map(to: i) in tmain() 32 #pragma omp target enter data nowait map(to: i) if (target enter data: j > 0) in tmain() [all …]
|
D | target_map_messages.cpp | 9 …#pragma omp target map(marr[2][0:2][0:2]) // expected-error {{array section does not specify conti… in foo() 11 #pragma omp target map(marr[:][0:][:]) in foo() 13 …#pragma omp target map(marr[:][1:][:]) // expected-error {{array section does not specify contiguo… in foo() 15 #pragma omp target map(marr[:][n:][:]) in foo() 30 #pragma omp target map(arg,a,d) in func() 32 …#pragma omp target map(arg[2:2],a,d) // expected-error {{subscripted value is not an array or poin… in func() 34 …#pragma omp target map(arg,a*2) // expected-error {{expected expression containing only member acc… in func() 36 …#pragma omp target map(arg,(c+1)[2]) // expected-error {{expected expression containing only membe… in func() 38 …#pragma omp target map(arg,a[:2],d) // expected-error {{subscripted value is not an array or point… in func() 40 …#pragma omp target map(arg,a,d[:2]) // expected-error {{subscripted value is not an array or point… in func() [all …]
|
D | target_if_messages.cpp | 14 #pragma omp target if // expected-error {{expected '(' after 'if'}} in tmain() 16 …#pragma omp target if ( // expected-error {{expected expression}} expected-error {{expected ')'}} … in tmain() 18 #pragma omp target if () // expected-error {{expected expression}} in tmain() 20 #pragma omp target if (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} in tmain() 22 …#pragma omp target if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target… in tmain() 24 #pragma omp target if (argc > 0 ? argv[1] : argv[2]) in tmain() 26 …#pragma omp target if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp target… in tmain() 28 #pragma omp target if (S) // expected-error {{'S' does not refer to a value}} in tmain() 30 …#pragma omp target if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this… in tmain() 32 …#pragma omp target if (argc argc) // expected-error {{expected ')'}} expected-note {{to match this… in tmain() [all …]
|
D | target_update_to_messages.cpp | 82 …target update to // expected-error {{expected '(' after 'to'}} expected-error {{expected at least … in tmain() 83 …target update to( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-… in tmain() 84 …target update to() // expected-error {{expected expression}} expected-error {{expected at least on… in tmain() 85 …target update() // expected-warning {{extra tokens at the end of '#pragma omp target update' are i… in tmain() 86 …target update to(alloc) // expected-error {{use of undeclared identifier 'alloc'}} expected-error … in tmain() 87 #pragma omp target update to(x) in tmain() 88 #pragma omp target update to(t[:I]) in tmain() 89 …target update to(T) // expected-error {{'T' does not refer to a value}} expected-error {{expected … in tmain() 90 #pragma omp target update to(I) // expected-error 2 {{expected expression containing only member ac… in tmain() 91 #pragma omp target update to(S2::S2s) in tmain() [all …]
|
D | target_update_from_messages.cpp | 82 …target update from // expected-error {{expected '(' after 'from'}} expected-error {{expected at le… in tmain() 83 …target update from( // expected-error {{expected ')'}} expected-note {{to match this '('}} expecte… in tmain() 84 …target update from() // expected-error {{expected expression}} expected-error {{expected at least … in tmain() 85 …target update() // expected-warning {{extra tokens at the end of '#pragma omp target update' are i… in tmain() 86 …target update from(alloc) // expected-error {{use of undeclared identifier 'alloc'}} expected-erro… in tmain() 87 #pragma omp target update from(x) in tmain() 88 #pragma omp target update from(t[:I]) in tmain() 89 …target update from(T) // expected-error {{'T' does not refer to a value}} expected-error {{expecte… in tmain() 90 #pragma omp target update from(I) // expected-error 2 {{expected expression containing only member … in tmain() 91 #pragma omp target update from(S2::S2s) in tmain() [all …]
|
D | target_update_if_messages.cpp | 15 #pragma omp target update to(n) if // expected-error {{expected '(' after 'if'}} in tmain() 16 #pragma omp target update from(n) if ( // expected-error {{expected expression}} expected-error {{e… in tmain() 17 #pragma omp target update to(n) if () // expected-error {{expected expression}} in tmain() 18 #pragma omp target update from(n) if (argc // expected-error {{expected ')'}} expected-note {{to ma… in tmain() 19 #pragma omp target update to(n) if (argc)) // expected-warning {{extra tokens at the end of '#pragm… in tmain() 20 #pragma omp target update from(n) if (argc > 0 ? argv[1] : argv[2]) in tmain() 21 #pragma omp target update to(n) if (foobool(argc)), if (true) // expected-error {{directive '#pragm… in tmain() 22 #pragma omp target update from(n) if (S) // expected-error {{'S' does not refer to a value}} in tmain() 23 #pragma omp target update to(n) if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{t… in tmain() 24 #pragma omp target update from(n) if (argc argc) // expected-error {{expected ')'}} expected-note {… in tmain() [all …]
|
D | target_parallel_if_messages.cpp | 14 #pragma omp target parallel if // expected-error {{expected '(' after 'if'}} in tmain() 16 …#pragma omp target parallel if ( // expected-error {{expected expression}} expected-error {{expect… in tmain() 18 #pragma omp target parallel if () // expected-error {{expected expression}} in tmain() 20 …#pragma omp target parallel if (argc // expected-error {{expected ')'}} expected-note {{to match t… in tmain() 22 …#pragma omp target parallel if (argc)) // expected-warning {{extra tokens at the end of '#pragma o… in tmain() 24 #pragma omp target parallel if (argc > 0 ? argv[1] : argv[2]) in tmain() 26 …#pragma omp target parallel if (foobool(argc)), if (true) // expected-error {{directive '#pragma o… in tmain() 28 #pragma omp target parallel if (S) // expected-error {{'S' does not refer to a value}} in tmain() 30 …#pragma omp target parallel if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to m… in tmain() 32 …#pragma omp target parallel if (argc argc) // expected-error {{expected ')'}} expected-note {{to m… in tmain() [all …]
|
D | declare_target_ast_print.cpp | 9 #pragma omp declare target 10 // CHECK: #pragma omp declare target 13 #pragma omp end declare target 14 // CHECK: #pragma omp end declare target 17 #pragma omp declare target 18 // CHECK: #pragma omp declare target 21 #pragma omp end declare target 22 // CHECK: #pragma omp end declare target 26 #pragma omp declare target 27 // CHECK: #pragma omp declare target [all …]
|
/external/libchrome/base/memory/ |
D | weak_ptr_unittest.cc | 53 struct Target : public TargetBase, public SupportsWeakPtr<Target> { struct 54 virtual ~Target() = default; 57 struct DerivedTarget : public Target {}; 59 // A class inheriting from Target and defining a nested type called 'Base'. 61 struct DerivedTargetWithNestedBase : public Target { 70 // A class inheriting from Target where Target is not the first base, and where 72 // Target base is not positioned at the beginning of 75 public Target {}; 78 WeakPtr<Target> target; member 80 struct TargetWithFactory : public Target { [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TargetRegistry.h | 1 //===-- Support/TargetRegistry.h - Target Registration ----------*- C++ -*-===// 11 // the appropriate target specific classes (TargetMachine, AsmPrinter, etc.) 14 // Target specific class implementations should register themselves using the 58 /// Target - Wrapper for Target specific information. 66 class Target { 72 typedef MCAsmInfo *(*MCAsmInfoCtorFnTy)(const Target &T, 83 typedef TargetMachine *(*TargetMachineCtorTy)(const Target &T, 91 typedef MCAsmBackend *(*MCAsmBackendCtorTy)(const Target &T, StringRef TT); 92 typedef MCTargetAsmLexer *(*MCAsmLexerCtorTy)(const Target &T, 97 typedef MCDisassembler *(*MCDisassemblerCtorTy)(const Target &T, [all …]
|
/external/google-breakpad/src/processor/ |
D | static_address_map_unittest.cc | 93 void CompareRetrieveResult(int testcase, int target) { in CompareRetrieveResult() argument 102 found = addr_map[testcase].Retrieve(target, &entry, &address); in CompareRetrieveResult() 104 test_map[testcase].Retrieve(target, entry_cstring, &address_test); in CompareRetrieveResult() 116 int target; in RetrieveTester() local 117 target = INT_MIN; in RetrieveTester() 118 CompareRetrieveResult(testcase, target); in RetrieveTester() 119 target = INT_MAX; in RetrieveTester() 120 CompareRetrieveResult(testcase, target); in RetrieveTester() 124 // Retrive (aka, search) for target address and compare results from in RetrieveTester() 127 // First, assign the search target to be one of original testdata that is in RetrieveTester() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TargetRegistry.h | 1 //===- Support/TargetRegistry.h - Target Registration -----------*- C++ -*-===// 11 // the appropriate target specific classes (TargetMachine, AsmPrinter, etc.) 14 // Target specific class implementations should register themselves using the 67 /// target, suitable for compiling with a native assembler. 76 /// \param TAB - If given, a target asm backend to use to show the fixup 112 /// Target - Wrapper for Target specific information. 120 class Target { 135 *(*)(const Target &T, const Triple &TT, StringRef CPU, StringRef Features, 143 using MCAsmBackendCtorTy = MCAsmBackend *(*)(const Target &T, 150 using MCDisassemblerCtorTy = MCDisassembler *(*)(const Target &T, [all …]
|
/external/llvm/include/llvm/Support/ |
D | TargetRegistry.h | 1 //===-- Support/TargetRegistry.h - Target Registration ----------*- C++ -*-===// 11 // the appropriate target specific classes (TargetMachine, AsmPrinter, etc.) 14 // Target specific class implementations should register themselves using the 79 /// Target - Wrapper for Target specific information. 87 class Target { 105 const Target &T, const Triple &TT, StringRef CPU, StringRef Features, 113 typedef MCAsmBackend *(*MCAsmBackendCtorTy)(const Target &T, 119 typedef MCDisassembler *(*MCDisassemblerCtorTy)(const Target &T, 159 /// Next - The next registered target in the linked list, maintained by the 161 Target *Next; [all …]
|
/external/clang/test/Preprocessor/ |
D | aarch64-target-features.c | 1 // RUN: %clang -target aarch64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s 2 // RUN: %clang -target arm64-none-linux-gnu -x c -E -dM %s -o - | FileCheck %s 41 // RUN: %clang -target aarch64_be-eabi -x c -E -dM %s -o - | FileCheck %s -check-prefix CHECK-BIGEN… 44 // RUN: %clang -target aarch64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM %s -o - | FileCheck… 45 // RUN: %clang -target arm64-none-linux-gnu -march=armv8-a+crypto -x c -E -dM %s -o - | FileCheck -… 48 // RUN: %clang -target aarch64-none-linux-gnu -mcrc -x c -E -dM %s -o - | FileCheck --check-prefix=… 49 // RUN: %clang -target arm64-none-linux-gnu -mcrc -x c -E -dM %s -o - | FileCheck --check-prefix=CH… 50 // RUN: %clang -target aarch64-none-linux-gnu -march=armv8-a+crc -x c -E -dM %s -o - | FileCheck --… 51 // RUN: %clang -target arm64-none-linux-gnu -march=armv8-a+crc -x c -E -dM %s -o - | FileCheck --ch… 54 // RUN: %clang -target aarch64-none-linux-gnu -fno-math-errno -fno-signed-zeros\ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | loh.mir | 25 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g3 26 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g4 28 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g2 29 ; CHECK-NEXT: $x1 = ADRP target-flags(aarch64-page) @g3 31 ; CHECK-NEXT: $x0 = ADRP target-flags(aarch64-page) @g0 32 ; CHECK-NEXT: $x0 = ADRP target-flags(aarch64-page) @g1 33 $x0 = ADRP target-flags(aarch64-page) @g0 34 $x0 = ADRP target-flags(aarch64-page) @g1 35 $x1 = ADRP target-flags(aarch64-page) @g2 36 $x1 = ADRP target-flags(aarch64-page) @g3 [all …]
|
/external/syzkaller/prog/ |
D | target.go | 13 // Target describes target OS/arch pair. 14 type Target struct { struct 34 // SpecialTypes allows target to do custom generation/mutation for some struct's and union's. 43 // Special strings that can matter for the target. 49 initArch func(target *Target) argument 58 var targets = make(map[string]*Target) 60 func RegisterTarget(target *Target, initArch func(target *Target)) { argument 61 key := target.OS + "/" + target.Arch 63 panic(fmt.Sprintf("duplicate target %v", key)) 65 target.initArch = initArch [all …]
|