/llvm-project/llvm/unittests/MC/ |
H A D | DwarfLineTables.cpp | 73 const uint8_t Encoding0[] = {13}; // Special opcode Addr += 0, Line += -5 in TEST() 77 const uint8_t Encoding1[] = {26}; // Special opcode Addr += 0, Line += +8 in TEST() 80 // Random value in the middle of the special ocode range in TEST() 81 const uint8_t Encoding2[] = {146}; // Special opcode Addr += 9, Line += 2 in TEST() 85 const uint8_t Encoding3[] = {251}; // Special opcode Addr += 17, Line += -5 in TEST() 88 // Biggest special opcode in TEST() 89 const uint8_t Encoding4[] = {255}; // Special opcode Addr += 17, Line += -1 in TEST() 92 // Line delta outside of the special opcode range, address delta in range in TEST() 94 158}; // Special opcode Addr += 10, Line += 0 in TEST() 97 // Address delta outside of the special opcode range, but small in TEST() [all …]
|
/llvm-project/llvm/test/TableGen/ |
H A D | gisel-physreg-input.td |
|
/llvm-project/clang/test/Sema/ |
H A D | arm-special-register.c | 16 __builtin_arm_wsr64("sysreg", v); //expected-error {{invalid special register for builtin}} in wsr64_1() 28 return __builtin_arm_rsr64("sysreg"); //expected-error {{invalid special register for builtin}} in rsr64_1() 40 __builtin_arm_wsr64("cp0:1:c2:c3:4", v); //expected-error {{invalid special register for builtin}} in wsr64_2() 52 …return __builtin_arm_rsr64("cp0:1:c2:c3:4"); //expected-error {{invalid special register for built… in rsr64_2() 56 __builtin_arm_wsr("cp0:1:c2", v); //expected-error {{invalid special register for builtin}} in wsr_3() 60 __builtin_arm_wsrp("cp0:1:c2", v); //expected-error {{invalid special register for builtin}} in wsrp_3() 68 return __builtin_arm_rsr("cp0:1:c2"); //expected-error {{invalid special register for builtin}} in rsr_3() 72 return __builtin_arm_rsrp("cp0:1:c2"); //expected-error {{invalid special register for builtin}} in rsrp_3() 80 return __builtin_arm_rsr("0:1:2:3:4"); //expected-error {{invalid special register for builtin}} in rsr_4() 84 …return __builtin_arm_rsr("cp0:1:c2:c3:8"); //expected-error {{invalid special register for builtin… in rsr_5() [all …]
|
H A D | aarch64-special-register.c | 68 __builtin_arm_wsr("0:1:2", v); //expected-error {{invalid special register for builtin}} in wsr_3() 72 __builtin_arm_wsrp("0:1:2", v); //expected-error {{invalid special register for builtin}} in wsrp_3() 76 __builtin_arm_wsr64("0:1:2", v); //expected-error {{invalid special register for builtin}} in wsr64_3() 80 __builtin_arm_wsr128("0:1:2", v); //expected-error {{invalid special register for builtin}} in wsr128_3() 84 return __builtin_arm_rsr("0:1:2"); //expected-error {{invalid special register for builtin}} in rsr_3() 88 return __builtin_arm_rsr("0:1:2:3:8"); //expected-error {{invalid special register for builtin}} in rsr_4() 92 return __builtin_arm_rsr("0:8:1:2:3"); //expected-error {{invalid special register for builtin}} in rsr_5() 96 return __builtin_arm_rsr("0:1:16:16:2"); //expected-error {{invalid special register for builtin}} in rsr_6() 100 return __builtin_arm_rsrp("0:1:2"); //expected-error {{invalid special register for builtin}} in rsrp_3() 104 return __builtin_arm_rsr64("0:1:2"); //expected-error {{invalid special register for builtin}} in rsr64_3() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
H A D | use-equals-delete.cpp | 6 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 9 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 12 …// CHECK-MESSAGES: :[[@LINE-1]]:20: warning: use '= delete' to prohibit calling of a special membe… 15 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 18 …// CHECK-MESSAGES: :[[@LINE-1]]:20: warning: use '= delete' to prohibit calling of a special membe… 21 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 29 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 32 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… 35 …// CHECK-MESSAGES: :[[@LINE-1]]:28: warning: use '= delete' to prohibit calling of a special membe… 38 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member… [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | special-member-functions-relaxed.cpp | 1 …special-member-functions %t -- -config="{CheckOptions: {cppcoreguidelines-special-member-functions… 12 …efine a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] 27 … not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions] 32 …but does not define a destructor or a copy constructor [cppcoreguidelines-special-member-functions] 37 … not define a destructor or a move assignment operator [cppcoreguidelines-special-member-functions] 42 …but does not define a destructor or a move constructor [cppcoreguidelines-special-member-functions] 81 // Multiple instantiations of a class template will trigger multiple matches for defined special me… 98 … not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions]
|
H A D | special-member-functions.cpp | 1 // RUN: %check_clang_tidy %s cppcoreguidelines-special-member-functions %t 6 …ator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 11 …ator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 16 …ator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 21 …ctor, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 26 …copy assignment operator or a move assignment operator [cppcoreguidelines-special-member-functions] 31 …ctor, a copy assignment operator or a move constructor [cppcoreguidelines-special-member-functions] 69 // Multiple instantiations of a class template will trigger multiple matches for defined special me…
|
H A D | special-member-functions-allow-missing-move-when-copy-is-deleted.cpp | 1 …eck_clang_tidy %s cppcoreguidelines-special-member-functions %t -- -config="{CheckOptions: {cppcor… 20 …efine a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 27 …efine a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 34 …ctor, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 40 …ator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions] 46 …ator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]
|
H A D | special-member-functions-cxx-03.cpp | 1 // RUN: %check_clang_tidy -std=c++98 %s cppcoreguidelines-special-member-functions %t 6 …efine a copy constructor or a copy assignment operator [cppcoreguidelines-special-member-functions] 11 … not define a destructor or a copy assignment operator [cppcoreguidelines-special-member-functions] 16 …but does not define a destructor or a copy constructor [cppcoreguidelines-special-member-functions]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/hicpp/ |
H A D | special-member-functions.rst | 1 .. title:: clang-tidy - hicpp-special-member-functions 3 :http-equiv=refresh: 5;URL=../cppcoreguidelines/special-member-functions.html 5 hicpp-special-member-functions 8 …is check is an alias for :doc:`cppcoreguidelines-special-member-functions <../cppcoreguidelines/sp… 9 …special member functions have the correct signature, according to `rule 12.5.7 <https://www.perfor…
|
/llvm-project/lld/test/ELF/ |
H A D | aarch64-memtag-globals.s | 69 # RUN: llvm-objdump -Dz %t.so | FileCheck %s --check-prefix=CHECK-SPECIAL-RELOCS 77 ## globals stuff: special relocations, data in the place to be relocated, 91 # RUN: llvm-objdump -tDz %t.static.so | FileCheck %s --check-prefix=CHECK-STATIC-SPECIAL-RELOCS 92 # CHECK-STATIC-SPECIAL-RELOCS: [[#%x,HIDDEN_GLOBAL_ADDR:]] {{.*}} .bss {{0*}}10 hidden_global 93 # CHECK-STATIC-SPECIAL-RELOCS: <pointer_to_hidden_global_end>: 94 # CHECK-STATIC-SPECIAL-RELOCS-NEXT: .word 0x{{0*}}[[#HIDDEN_GLOBAL_ADDR + 12]] 95 # CHECK-STATIC-SPECIAL-RELOCS-NEXT: .word 0x00000000 96 # CHECK-STATIC-SPECIAL-RELOCS-NEXT: .word 0x00000000 97 # CHECK-STATIC-SPECIAL-RELOCS-NEXT: .word 0x00000000 98 # CHECK-STATIC-SPECIAL [all...] |
/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InstructionPrecedenceTracking.h | 8 // Implements a class that is able to define some instructions as "special" 11 // 1. Are there any special instructions in the block of interest? 12 // 2. Return first of the special instructions in the given block; 13 // 3. Check if the given instruction is preceeded by the first special 31 // Maps a block to the topmost special instruction in it. If the value is 33 // special instructions. 36 // Fills information about the given block's special instructions. 52 /// Returns the topmost special instruction from the block \p BB. Returns 53 /// nullptr if there is no special instructions in the block. 57 /// special. [all …]
|
/llvm-project/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/ |
H A D | p1.cpp | 7 // -- be a special member function [C++20: or a comparison operator function], 10 // expected-error@-2 {{only special member functions may be defaulted}} 12 // expected-error@-4 {{only special member functions and comparison operators may be defaulted}} 15 …void f(A) = default; // expected-error-re {{only special member functions{{( and comparison operat… 19 …bool operator<(const A&) const = default; // pre20-error {{only special member functions may be de… 20 …bool operator>(const A&) const = default; // pre20-error {{only special member functions may be de… 21 …bool operator<=(const A&) const = default; // pre20-error {{only special member functions may be d… 22 …bool operator>=(const A&) const = default; // pre20-error {{only special member functions may be d… 25 …A operator+(const A&) const = default; // expected-error-re {{only special member functions{{( and…
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | SpecialCaseList.h | 1 //===-- SpecialCaseList.h - special case list for sanitizers ----*- C++ -*-===// 8 // This file implements a Special Case List for code sanitizers. 31 /// "special case lists" for code sanitizers. Such files are used to 52 /// Full special case list file example: 71 /// Parses the special case list entries from files. On failure, returns 76 /// Parses the special case list from a memory buffer. On failure, returns 80 /// Parses the special case list entries from files. On failure, reports a 87 /// Returns true, if special case list contains a line 95 /// Returns the line number corresponding to the special case list entry if 96 /// the special cas [all...] |
/llvm-project/clang/test/CodeGen/ |
H A D | sanitizer-special-case-list-globals.c | 5 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 9 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 17 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 21 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 27 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 32 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 37 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \ 43 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \
|
H A D | sanitizer-special-case-list.c | 3 …ned-integer-overflow,cfi-icall -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list.unsanit… 4 …ned-integer-overflow,cfi-icall -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list.unsanit… 5 …ned-integer-overflow,cfi-icall -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list.unsanit… 6 …ned-integer-overflow,cfi-icall -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list.unsanit… 8 …ned-integer-overflow,cfi-icall -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list.sanitiz…
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | wildcard-syntax.test | 62 ## Use a separate test file with special characters for the following tests. 64 # RUN: yaml2obj --docnum=2 %s -o %t.special.o 67 # RUN: llvm-objcopy --remove-section='\*' %t.special.o %t.escape.1.o 71 # RUN: llvm-objcopy --remove-section='\?' %t.special.o %t.escape.2.o 76 ## Special characters are not treated like regular expression characters. 77 # RUN: llvm-objcopy --remove-section='.' %t.special.o %t.dot.o 82 ## Special characters in character classes are treated literally. 84 # RUN: llvm-objcopy --remove-section='[*]' %t.special.o %t.class.1.o 93 # RUN: llvm-objcopy --remove-section='[]xyz]' %t.special.o %t.class.2.o 99 # RUN: llvm-objcopy --remove-section='][]' %t.special.o %t.class.3.o 2>&1 \
|
H A D | strip-unneeded-aarch64.test | 4 # RUN: llvm-nm -j --special-syms %t1.o | FileCheck %s --match-full-lines 6 # RUN: llvm-nm -j --special-syms %t2.o | FileCheck %s --match-full-lines 15 # RUN: llvm-nm --special-syms %t3.o | FileCheck /dev/null --implicit-check-not='$d' 20 # RUN: llvm-nm --special-syms %t1.exec | count 0 24 # RUN: llvm-nm --special-syms %t1.so | count 0
|
H A D | strip-unneeded-arm.test | 4 # RUN: llvm-nm -j --special-syms %t1.o | FileCheck %s --match-full-lines 6 # RUN: llvm-nm -j --special-syms %t2.o | FileCheck %s --match-full-lines 18 # RUN: llvm-nm --special-syms %t3.o | FileCheck /dev/null --implicit-check-not='$d' 23 # RUN: llvm-nm --special-syms %t1.exec | count 0 27 # RUN: llvm-nm --special-syms %t1.so | count 0
|
/llvm-project/flang/runtime/ |
H A D | descriptor-io.cpp | 19 const typeInfo::SpecialBinding &special, in DefinedFormattedIo() argument 63 special.which() == typeInfo::SpecialBinding::Which::ReadFormatted) { in DefinedFormattedIo() 68 if (special.IsArgDescriptor(0)) { in DefinedFormattedIo() 70 auto *p{special.GetProc<void (*)(const Descriptor &, int &, char *, in DefinedFormattedIo() 81 auto *p{special.GetProc<void (*)(const void *, int &, char *, in DefinedFormattedIo() 109 const typeInfo::SpecialBinding &special) { in DefinedUnformattedIo() argument 124 if (special.IsArgDescriptor(0)) { in DefinedUnformattedIo() 126 auto *p{special.GetProc<void (*)( in DefinedUnformattedIo() 140 auto *p{special.GetProc<void (*)( in DefinedUnformattedIo()
|
/llvm-project/mlir/test/IR/ |
H A D | pretty_printed_region_op.mlir | 8 // CHECK-CUSTOM: test.pretty_printed_region %arg1, %arg0 start test.special.op end : (f32, f32) ->… 11 // CHECK-GENERIC: %[[RES:.*]] = "test.special.op"(%arg[[x]], %arg[[y]]) : (f32, f32) -> f32 15 …%res = test.pretty_printed_region %arg1, %arg0 start test.special.op end : (f32, f32) -> (f32) loc… 25 // CHECK: %[[RES:.*]] = "test.non.special.op"(%arg[[x]], %arg[[y]]) : (f32, f32) -> f32 31 %1 = "test.non.special.op"(%arg2, %arg3) : (f32, f32) -> f32 42 // CHECK-LOCATION: %[[RES:.*]] = "test.special.op"(%arg[[x]], %arg[[y]]) : (f32, f32) -> f32 46 …%res = test.pretty_printed_region %arg1, %arg0 start test.special.op end : (f32, f32) -> (f32) loc…
|
/llvm-project/clang/include/clang/AST/ |
H A D | CXXRecordDeclDefinitionBits.def | 38 /// The user-declared special members which this class has. 145 /// These flags are \c true if a defaulted corresponding special 156 /// special member would be defined as deleted. 165 /// The trivial special members which this class has, per 169 /// This excludes any user-declared but not user-provided special members 173 /// These bits keep track of the triviality of special functions for the 178 /// The declared special members of this class which are known to be 181 /// This excludes any user-declared but not user-provided special members 182 /// which have been declared but not yet defined, and any implicit special 186 /// These bits keep track of the declared special member [all...] |
/llvm-project/llvm/lib/Analysis/ |
H A D | InstructionPrecedenceTracking.cpp | 8 // Implements a class that is able to define some instructions as "special" 11 // 1. Are there any special instructions in the block of interest? 12 // 2. Return first of the special instructions in the given block; 13 // 3. Check if the given instruction is preceeded by the first special 79 // Mark this block as having no special instructions. in fill() 93 "Cached first special instruction is wrong!"); in validate() 98 "Block is marked as having special instructions but in fact it has " in validate()
|
/llvm-project/lldb/examples/summaries/cocoa/ |
H A D | CFString.py | 115 # handle the special case strings 235 "special", str(int(self.special)) 243 # if this is not possible, a new flag might have to be made up (like the "special" flag 250 # print 'special = ' + str(self.special) 257 and not self.special 263 elif self.special: 283 if name == "special": 372 self.special = self.is_special_case()
|
/llvm-project/llvm/test/tools/split-file/ |
H A D | output-is-special.test | 3 ## Don't delete the output if it is special, otherwise root may accidentally 4 ## remove important special files. 7 # CHECK: error: /dev/null: output cannot be a special file
|