| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | MemoryTest.cpp | 77 if (M1.base() == M2.base()) in doesOverlap() 80 if (M1.base() > M2.base()) in doesOverlap() 83 return (unsigned char *)M1.base() + M1.allocatedSize() > M2.base(); in doesOverlap() 137 EXPECT_LE(16U, M1.allocatedSize()); in TEST_P() 143 EXPECT_FALSE(doesOverlap(M1, M2)); in TEST_P() 145 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P() 171 int *a = (int*)M1.base(); in TEST_P() 196 EXPECT_FALSE(doesOverlap(M1, M2)); in TEST_P() 198 EXPECT_FALSE(doesOverlap(M1, M3)); in TEST_P() 207 int *x = (int*)M1.base(); in TEST_P() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
| H A D | types.pass.cpp | 46 using M1 = std::mutex; in main() typedef 47 using T = std::scoped_lock<M1>; in main() 51 using M1 = std::recursive_mutex; in main() typedef 52 using T = std::scoped_lock<M1>; in main() 56 using M1 = std::mutex; in main() typedef 62 using M1 = std::mutex; in main() typedef 64 using T = std::scoped_lock<M1, M1, M2>; in main() 68 using M1 = std::mutex; in main() typedef 69 using T = std::scoped_lock<M1, M1>; in main() 73 using M1 = std::recursive_mutex; in main() typedef [all …]
|
| /llvm-project-15.0.7/clang/unittests/Driver/ |
| H A D | MultilibTest.cpp | 53 Multilib M1, M2; in TEST() local 54 M1.flag("+foo"); in TEST() 60 Multilib M1, M2; in TEST() local 61 M1.flag("+foo"); in TEST() 69 Multilib M1, M2; in TEST() local 75 Multilib M1, M2; in TEST() local 76 M1.flag("+foo"); in TEST() 79 ASSERT_TRUE(M2 == M1) in TEST() 84 Multilib M1("64"); in TEST() local 114 Multilib M1("foo"); in TEST() local [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | matrix-type-builtins.cpp | 28 MyMatrix<int, 4, 10> M1; in test_transpose_template1() local 29 MyMatrix<int, 10, 4> M1_t = transpose(M1); in test_transpose_template1() 99 matrix_t<double, 10, 4> M1 = column_major_load_with_stride<double, 10, 4, 15>(Ptr); in test_column_major_load_with_stride_template_double() local 111 matrix_t<int, 3, 2> M1 = column_major_load_with_stride<int, 3, 2, 12>(Ptr); in test_column_major_load_with_stride_template_int() local 128 matrix_t<int, 2, 2> M1 = __builtin_matrix_column_major_load(Ptr, 2, 2, W); in test_column_major_load_stride_wrapper() local 205 matrix_t<double, 10, 4> M1; in test_column_major_store_with_stride_template_double() local 206 column_major_store_with_stride<double, 10, 4, 15>(M1, Ptr); in test_column_major_store_with_stride_template_double() 219 matrix_t<int, 3, 2> M1; in test_column_major_store_with_stride_template_int() local 220 column_major_store_with_stride<int, 3, 2, 3>(M1, Ptr); in test_column_major_store_with_stride_template_int() 232 matrix_t<int, 2, 2> M1; in test_column_major_store_stride_wrapper() local [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
| H A D | is_equal.pass.cpp | 49 memory_resource const& M1 = R1; in main() local 55 assert(M1.is_equal(M2) == false); in main() 59 assert(M2.is_equal(M1) == false); in main() 66 memory_resource const& M1 = R1; in main() local 72 assert(M1.is_equal(M2) == false); in main() 76 assert(M2.is_equal(M1) == false); in main() 83 memory_resource const& M1 = R1; in main() local 89 assert(M1.is_equal(M2) == true); in main() 93 assert(M2.is_equal(M1) == true); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/ThinLTOBitcodeWriter/ |
| H A D | split-vfunc.ll | 6 ; M1: @g = constant [10 x i8*] 21 ; M1: define available_externally i64 @ok1 27 ; M1: define available_externally i64 @ok2 37 ; M1: declare void @wrongtype1() 43 ; M1: declare void @wrongtype2() 49 ; M1: declare void @wrongtype3() 55 ; M1: declare void @wrongtype4() 61 ; M1: declare void @wrongtype5() 67 ; M1: declare void @usesthis() 74 ; M1: declare void @reads() [all …]
|
| H A D | split-used.ll | 8 ; RUN: llvm-dis -o - %t1.bc | FileCheck --check-prefix=M1 %s 14 ; M1: @g1 = global i8 42, !type !0 15 ; M1: @g2 = global i8 42, !type !0 16 ; M1-NOT: @g 24 ; M1: @llvm.used = appending global [1 x i8*] [i8* @g1] 25 ; M1: @llvm.compiler.used = appending global [1 x i8*] [i8* @g2] 29 ; M1: !0 = !{i32 0, !"typeid"}
|
| H A D | split-internal-typeid.ll | 6 ; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=M1 %s 16 ; M1: @g = global i8 42, !type !0, !type !1, !type !2 20 ; M1-NOT: @f() 33 ; M1: !0 = !{i32 0, !"1.f50b51a12bb012bebbeff978335e34cf"} 35 ; M1: !1 = !{i32 1, !"1.f50b51a12bb012bebbeff978335e34cf"} 39 ; M1: !2 = !{i32 0, !"2.f50b51a12bb012bebbeff978335e34cf"}
|
| H A D | pr33536.ll | 6 ; RUN: llvm-modextract -b -n 1 -o - %t | llvm-dis | FileCheck --check-prefix=M1 %s 14 ; M1-NOT: @global 18 ; M1: @global.1 = linkonce_odr unnamed_addr constant 22 ; M1-NOT: @global.2 26 ; M1-NOT: @global.3 30 ; M1: @global.4 = external constant
|
| H A D | split-internal1.ll | 6 ; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=M1 %s 16 ; M1: @g.581d7631532fa146ba4061179da39272 = hidden global i8 42, !type !0 20 ; M1-NOT: @f() 26 ; M1: !0 = !{i32 0, !"typeid"}
|
| H A D | split-dsolocal.ll | 5 ; RUN: llvm-dis -o - %t1.bc | FileCheck --check-prefix=M1 %s 11 ; M1: @default = dso_local constant [1 x i8] c"0", !type !0 12 ; M1: @hidden = hidden constant [1 x i8] c"0", !type !0 13 ; M1: @al = dso_local alias [1 x i8], [1 x i8]* @default
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | vec_zero_cse.ll | 7 @M1 = external dso_local global <1 x i64> 16 ; X32-NEXT: movl $0, M1+4 17 ; X32-NEXT: movl $0, M1 24 ; X64-NEXT: movq $0, M1(%rip) 27 store <1 x i64> zeroinitializer, ptr @M1 35 ; X32-NEXT: movl $-1, M1+4 36 ; X32-NEXT: movl $-1, M1 43 ; X64-NEXT: movq $-1, M1(%rip) 46 store <1 x i64> < i64 -1 >, ptr @M1
|
| /llvm-project-15.0.7/clang/test/CoverageMapping/ |
| H A D | macroception.c | 4 #define M1 M2 macro 11 int main(void) M1 30 void func3(void) M1 42 void func4(void) M1 M11
|
| /llvm-project-15.0.7/clang/unittests/Basic/ |
| H A D | FileEntryTest.cpp | 76 OptionalFileEntryRefDegradesToFileEntryPtr M1 = Refs.addFile("1"); in TEST() local 80 Refs.addFileAlias("1-also", *M1); in TEST() 83 EXPECT_EQ(StringRef("1"), M1->getName()); in TEST() 87 const FileEntry *CE1 = M1; in TEST() 88 EXPECT_EQ(CE1, &M1->getFileEntry()); in TEST() 104 OptionalFileEntryRefDegradesToFileEntryPtr M1 = R1; in TEST() local 106 EXPECT_EQ(M1, &R1.getFileEntry()); in TEST() 107 EXPECT_EQ(&R1.getFileEntry(), M1); in TEST() 108 EXPECT_NE(M1, &R2.getFileEntry()); in TEST() 109 EXPECT_NE(&R2.getFileEntry(), M1); in TEST()
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | annotate_in_macro_arg.c | 2 #define M1() // expected-note{{macro 'M1' defined here}} macro 4 M1( // expected-error{{unterminated function-like macro invocation}} 6 #if M1() // expected-error{{expected value in expression}}
|
| H A D | macro_rescan.c | 3 #define M1(a) (a+1) macro 6 int ei_1 = M2(M1)(17); 9 int ei_2 = (M2(M1))(17);
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | macro-redef.c | 11 #define M1 0 // expected-note {{previous}} macro 12 #define M1 1 // expected-warning {{redefined}} macro 25 int x = M1; // expected-note {{previous}}
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | MatrixTypes.rst | 130 For the expression ``M1 BIN_OP M2`` where 138 * The usual arithmetic conversions are applied to ``M1`` and ``M2``. [ Note: if ``M1`` or 140 * ``M1`` and ``M2`` shall be of the same matrix type. 146 decltype(M1) Res; 149 Res[R][C] = M1[R][C] BIN_OP M2[R][C]; 151 Given the expression ``M1 * M2`` where ``M1`` and ``M2`` are of matrix type: 169 Elt += M1[R][K] * M2[K][C]; 203 * *M*, *M1*, *M2*, *M3* - Matrix types 208 ``M2 __builtin_matrix_transpose(M1 matrix)`` 211 element type as ``M1`` and has the same number of rows as ``M1`` has columns and [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/NewGVN/ |
| H A D | commute.ll | 36 ; CHECK-NEXT: [[M1:%.*]] = call i32 @llvm.smax.i32(i32 [[X:%.*]], i32 [[Y:%.*]]) 38 ; CHECK-NEXT: call void @use(i32 [[M1]], i32 [[M2]]) 52 ; CHECK-NEXT: [[M1:%.*]] = call i16 @llvm.smul.fix.i16(i16 [[X:%.*]], i16 [[Y:%.*]], i32 1) 54 ; CHECK-NEXT: [[R:%.*]] = sub i16 [[M1]], [[M2]] 65 ; CHECK-NEXT: [[M1:%.*]] = call i16 @llvm.umul.fix.i16(i16 [[X:%.*]], i16 [[Y:%.*]], i32 2) 67 ; CHECK-NEXT: [[R:%.*]] = sub i16 [[M1]], [[M2]] 80 ; CHECK-NEXT: [[M1:%.*]] = call float @llvm.fma.f32(float [[X:%.*]], float [[Y:%.*]], float 1.00… 82 ; CHECK-NEXT: [[R:%.*]] = fdiv nnan float [[M1]], [[M2]]
|
| /llvm-project-15.0.7/clang/test/Import/builtin-template/ |
| H A D | test.cpp | 17 typedef MakeSeq<int, 3> M1; in expr() typedef 18 M1 m1; in expr() 21 static_assert(M1::PackSize == 3, ""); in expr()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | switch-implicit-fallthrough-macro.cpp | 37 #define M1 [[clang::fallthrough]] macro 39 #define M1 [[fallthrough]] macro 42 #define M2 M1 63 #undef M1
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | assign.c | 72 struct M1; // expected-note {{forward declaration of 'struct M1'}} 75 const struct M1 field; // expected-error {{field has incomplete type 'const struct M1'}} 77 struct M1 { struct 81 void testM(struct M1 *l) { in testM() argument
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | atomic-minmax.ll | 236 ; CHECK-DAG: li [[M1:[0-9]+]], 0 239 ; CHECK-DAG: ori [[M2:[0-9]+]], [[M1]], 65535 263 ; CHECK-DAG: li [[M1:[0-9]+]], 0 266 ; CHECK-DAG: ori [[M2:[0-9]+]], [[M1]], 65535 290 ; CHECK-DAG: li [[M1:[0-9]+]], 0 293 ; CHECK-DAG: ori [[M2:[0-9]+]], [[M1]], 65535 315 ; CHECK-DAG: li [[M1:[0-9]+]], 0 340 ; CHECK-DAG: li [[M1:[0-9]+]], 255 366 ; CHECK-DAG: li [[M1:[0-9]+]], 255 392 ; CHECK-DAG: li [[M1:[0-9]+]], 255 [all …]
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Multilib.cpp | 152 MultilibSet &MultilibSet::Either(const Multilib &M1, const Multilib &M2) { in Either() argument 153 return Either({M1, M2}); in Either() 156 MultilibSet &MultilibSet::Either(const Multilib &M1, const Multilib &M2, in Either() argument 158 return Either({M1, M2, M3}); in Either() 161 MultilibSet &MultilibSet::Either(const Multilib &M1, const Multilib &M2, in Either() argument 163 return Either({M1, M2, M3, M4}); in Either() 166 MultilibSet &MultilibSet::Either(const Multilib &M1, const Multilib &M2, in Either() argument 169 return Either({M1, M2, M3, M4, M5}); in Either()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | ThreadSafeModuleTest.cpp | 34 auto M1 = std::make_unique<Module>("M1", *TSCtx.getContext()); in TEST() local 35 ThreadSafeModule TSM1(std::move(M1), TSCtx); in TEST() 48 auto M1 = std::make_unique<Module>("M1", *TSCtx.getContext()); in TEST() local 49 ThreadSafeModule TSM1(std::move(M1), TSCtx); in TEST()
|