Home
last modified time | relevance | path

Searched refs:K2 (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dusing-directive.cpp48 struct K2 {}; // expected-note 2{{candidate found by name lookup is 'A::K2'}} struct
51 struct K2 {}; // expected-note 2{{candidate found by name lookup is 'K2'}} struct
57 struct K2 *k2; // expected-error{{reference to 'K2' is ambiguous}}
59 K2 *k3; // expected-error{{reference to 'K2' is ambiguous}}
67 struct K2;
68 struct K2 { }; struct
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Dpr39673.ll16 ; CHECK-NEXT: [[K2:%.*]] = phi i16 [ [[K2_ADD:%.*]], [[LOOP2]] ], [ 182, [[LOOP2_PREHEADER]] ]
19 ; CHECK-NEXT: tail call void @foo(i16 [[K2]])
20 ; CHECK-NEXT: [[K2_ADD]] = add nuw nsw i16 [[K2]], 1
70 ; CHECK-NEXT: tail call void @foo(i16 [[K2]])
71 ; CHECK-NEXT: [[K2_ADD]] = add nuw nsw i16 [[K2]], 1
116 ; CHECK-NEXT: [[K2:%.*]] = phi i16 [ [[K2_ADD:%.*]], [[LOOP2]] ], [ [[DUMMY]], [[LOOP2_PREHEADER…
119 ; CHECK-NEXT: tail call void @foo(i16 [[K2]])
120 ; CHECK-NEXT: [[K2_ADD]] = add nuw nsw i16 [[K2]], 1
161 ; CHECK-NEXT: [[K2:%.*]] = phi i16 [ [[K2_ADD:%.*]], [[LOOP2]] ], [ [[TMP0]], [[LOOP2_PREHEADER]…
164 ; CHECK-NEXT: tail call void @foo(i16 [[K2]])
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-move/Inputs/
H A Dhelper_decls_test.cpp27 static const int K2 = 2; variable
28 static void HelperFun3() { K2; } in HelperFun3()
52 int Result = K1 + K2 + K3; in f()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Ddcl58-cpp.cpp204 const ::SpaceA::SpaceB::MapKey &K2) const { in operator ()()
205 return K1.getType() < K2.getType(); in operator ()()
222 const myint &K2) const { in operator ()()
223 return K1 < K2; in operator ()()
/llvm-project-15.0.7/llvm/test/MC/AMDGPU/
H A Dsym_kernel_scope_agpr.s35 .amdgpu_hsa_kernel K2
40 K2: label
H A Dsym_kernel_scope.s27 .amdgpu_hsa_kernel K2
32 K2: label
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-duplicate-enum.c68 K2, enumerator
70 K4 = K2,
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dsccptest.ll38 ; CHECK-NEXT: [[K2:%.*]] = phi i32 [ [[K3:%.*]], [[BB7:%.*]] ], [ 0, [[BB1:%.*]] ]
39 ; CHECK-NEXT: [[KCOND:%.*]] = icmp slt i32 [[K2]], 100
46 ; CHECK-NEXT: [[K3]] = add i32 [[K2]], 1
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DIntegralLiteralExpressionMatcher.h53 template <tok::TokenKind K1, tok::TokenKind K2, tok::TokenKind... Ks>
57 NonTerminal, [](Token Tok) { return Tok.isOneOf(K1, K2, Ks...); }); in nonTerminalChainedExpr()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DDependencyDirectivesScanner.h49 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf()
50 return is(K1) || is(K2); in isOneOf()
H A DToken.h99 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { in isOneOf() argument
100 return is(K1) || is(K2); in isOneOf()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-declref.cpp47 enum K2 { K2Val = sizeof(T)*2 } k2a; in foo() enum
49 K2 k2b = K2Val; in foo()
/llvm-project-15.0.7/lldb/source/Target/
H A DTrace.cpp68 template <typename K1, typename K2, typename V>
69 static Optional<V> Lookup(DenseMap<K1, DenseMap<K2, V>> &map, K1 k1, K2 k2) { in Lookup() argument
77 template <typename K1, typename K2, typename V>
78 static V *LookupAsPtr(DenseMap<K1, DenseMap<K2, V>> &map, K1 k1, K2 k2) { in LookupAsPtr() argument
/llvm-project-15.0.7/clang/test/CodeGenSYCL/
H A Dunique_stable_name_windows_diff.cpp29 kernel2<class K2>(lambda2); in main()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp536 IncompleteStruct *K2 = reinterpret_cast<IncompleteStruct *>(&Keys[1]); in TEST() local
539 Map.insert({K2, 2}); in TEST()
543 EXPECT_EQ(Map[K2], 2); in TEST()
547 EXPECT_EQ(nullptr, Map.find(K2)); in TEST()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmangle-class-nttp.cpp292 struct K2 : K1 { int c; }; struct
293 struct K3 { K2 k2[2]; };
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DDenseMapTest.cpp653 IncompleteStruct *K2 = reinterpret_cast<IncompleteStruct *>(&Keys[1]); in TEST() local
656 Map.insert({K2, 2}); in TEST()
660 EXPECT_EQ(Map[K2], 2); in TEST()
664 EXPECT_EQ(Map.find(K2), Map.end()); in TEST()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Donehot_merge.ll107 ; CHECK-NEXT: [[K2:%.*]] = mul i32 [[K:%.*]], [[K]]
111 ; CHECK-NEXT: [[TMP2:%.*]] = and i32 [[K2]], [[TMP1]]
128 ; CHECK-NEXT: [[K2:%.*]] = mul i32 [[K:%.*]], [[K]]
133 ; CHECK-NEXT: [[TMP3:%.*]] = and i32 [[K2]], [[TMP2]]
150 ; CHECK-NEXT: [[K2:%.*]] = mul <2 x i32> [[K:%.*]], [[K]]
154 ; CHECK-NEXT: [[TMP2:%.*]] = and <2 x i32> [[K2]], [[TMP1]]
272 ; CHECK-NEXT: [[K2:%.*]] = mul i32 [[K:%.*]], [[K]]
276 ; CHECK-NEXT: [[TMP2:%.*]] = and i32 [[K2]], [[TMP1]]
293 ; CHECK-NEXT: [[K2:%.*]] = mul i32 [[K:%.*]], [[K]]
298 ; CHECK-NEXT: [[TMP3:%.*]] = and i32 [[K2]], [[TMP2]]
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Darc-literals.m71 // CHECK: [[K2:%.*]] = alloca i8*,
88 // CHECK-NEXT: [[V2:%.*]] = load i8*, i8** [[K2]],
/llvm-project-15.0.7/clang/lib/Format/
H A DFormatToken.h521 template <typename A, typename B> bool isOneOf(A K1, B K2) const { in isOneOf()
522 return is(K1) || is(K2); in isOneOf()
525 bool isOneOf(A K1, B K2, Ts... Ks) const { in isOneOf()
526 return is(K1) || isOneOf(K2, Ks...); in isOneOf()
/llvm-project-15.0.7/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h320 ENTRY(K2) \
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstPrinterCommon.cpp413 printRegName(OS, X86::K2); in printVKPair()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dpacked-fp32.ll383 ; GCN-DAG: v_mov_b32_e32 v[[K2:[0-9]+]], 0x43480000
384 ; GFX900-COUNT-2: v_fma_f32 v{{[0-9]+}}, v{{[0-9]+}}, s[[K1]], v[[K2]]
385 ; GFX90A: v_pk_fma_f32 v[{{[0-9:]+}}], v[{{[0-9:]+}}], s[[[K1]]:{{[0-9:]+}}], v[[[K2]]:{{[0…
/llvm-project-15.0.7/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td342 // binop (select cond, K0, K1), K2 ->
343 // select cond, (binop K0, K2), (binop K1, K2)
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h575 case X86::K2: in addMaskPairOperands()

12