Home
last modified time | relevance | path

Searched refs:CT (Results 1 – 25 of 101) sorted by relevance

12345

/llvm-project-15.0.7/libcxx/test/support/
H A Dcontainer_debug_tests.h57 return CT >= CT_Vector && CT <= CT_ForwardList; in isSequential()
61 return CT >= CT_Map && CT <= CT_MultiSet; in isAssociative()
65 return CT >= CT_UnorderedMap && CT <= CT_UnorderedMultiSet; in isUnordered()
69 return CT == CT_Set in isSet()
70 || CT == CT_MultiSet in isSet()
71 || CT == CT_UnorderedSet in isSet()
76 return CT == CT_Map in isMap()
77 || CT == CT_MultiMap in isMap()
83 return CT == CT_MultiMap in isMulti()
84 || CT == CT_MultiSet in isMulti()
[all …]
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DCaptureTrackingTest.cpp110 CollectingCaptureTracker CT; in TEST() local
111 PointerMayBeCaptured(Arg, &CT); in TEST()
112 EXPECT_EQ(7u, CT.Captures.size()); in TEST()
114 EXPECT_EQ(Call, CT.Captures[0]->getUser()); in TEST()
115 EXPECT_EQ(0u, CT.Captures[0]->getOperandNo()); in TEST()
117 EXPECT_EQ(Call, CT.Captures[1]->getUser()); in TEST()
118 EXPECT_EQ(2u, CT.Captures[1]->getOperandNo()); in TEST()
120 EXPECT_EQ(Call, CT.Captures[2]->getUser()); in TEST()
121 EXPECT_EQ(3u, CT.Captures[2]->getOperandNo()); in TEST()
129 EXPECT_EQ(ICmp, CT.Captures[5]->getUser()); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetGeneratorTest.cpp79 const auto &CT = CodeTemplates[0]; in TEST_F() local
81 ASSERT_THAT(CT.Instructions, SizeIs(1)); in TEST_F()
102 const auto &CT = CodeTemplates[0]; in TEST_F() local
124 const auto &CT = CodeTemplates[0]; in TEST_F() local
167 for (const auto &CT : CodeTemplates) { in TEST_F() local
188 for (const auto &CT : CodeTemplates) { in TEST_F() local
226 const auto &CT = CodeTemplates[0]; in TEST_F() local
252 const auto &CT = CodeTemplates[0]; in TEST_F() local
284 const auto &CT = CodeTemplates[0]; in TEST_F() local
320 const auto &CT = CodeTemplates[0]; in TEST_F() local
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DParallelSnippetGenerator.cpp161 CodeTemplate CT; in generateCodeTemplates() local
162 CT.ScratchSpacePointerInReg = in generateCodeTemplates()
171 instantiateMemoryOperands(CT.ScratchSpacePointerInReg, CT.Instructions); in generateCodeTemplates()
172 return getSingleton(std::move(CT)); in generateCodeTemplates()
177 instantiateMemoryOperands(CT.ScratchSpacePointerInReg, CT.Instructions); in generateCodeTemplates()
178 return getSingleton(std::move(CT)); in generateCodeTemplates()
185 instantiateMemoryOperands(CT.ScratchSpacePointerInReg, CT.Instructions); in generateCodeTemplates()
186 return getSingleton(std::move(CT)); in generateCodeTemplates()
247 CT.Info = in generateCodeTemplates()
250 instantiateMemoryOperands(CT.ScratchSpacePointerInReg, CT.Instructions); in generateCodeTemplates()
[all …]
H A DSerialSnippetGenerator.cpp103 CodeTemplate CT; in appendCodeTemplates() local
104 CT.Execution = ExecutionModeBit; in appendCodeTemplates()
106 CT.Instructions.push_back(std::move(Variant)); in appendCodeTemplates()
107 CodeTemplates.push_back(std::move(CT)); in appendCodeTemplates()
125 CodeTemplate CT; in appendCodeTemplates() local
126 CT.Execution = ExecutionModeBit; in appendCodeTemplates()
128 CT.Instructions.push_back(std::move(Variant)); in appendCodeTemplates()
129 CodeTemplates.push_back(std::move(CT)); in appendCodeTemplates()
145 CodeTemplate CT; in appendCodeTemplates() local
146 CT.Execution = ExecutionModeBit; in appendCodeTemplates()
[all …]
H A DSnippetGenerator.cpp27 std::vector<CodeTemplate> getSingleton(CodeTemplate &&CT) { in getSingleton() argument
29 Result.push_back(std::move(CT)); in getSingleton()
73 for (CodeTemplate &CT : Templates) { in generateConfigurations()
77 BC.Info = CT.Info; in generateConfigurations()
83 if (CT.ScratchSpacePointerInReg) in generateConfigurations()
87 BC.Key.Config = CT.Config; in generateConfigurations()
150 CodeTemplate &CT = Result.back(); in generateSelfAliasingCodeTemplates() local
159 CT.Instructions.push_back(std::move(Variant)); in generateSelfAliasingCodeTemplates()
168 CodeTemplate &CT = Result.back(); in generateUnconstrainedCodeTemplates() local
169 CT.Info = in generateUnconstrainedCodeTemplates()
[all …]
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp170 return CT; in MakeCXType()
298 QualType T = GetQualType(CT); in clang_getTypeSpelling()
397 return CT; in clang_getCanonicalType()
399 QualType T = GetQualType(CT); in clang_getCanonicalType()
411 QualType T = GetQualType(CT); in clang_isConstQualifiedType()
416 QualType T = GetQualType(CT); in clang_isVolatileQualifiedType()
421 QualType T = GetQualType(CT); in clang_isRestrictQualifiedType()
426 QualType T = GetQualType(CT); in clang_getAddressSpace()
439 QualType T = GetQualType(CT); in clang_getTypedefName()
450 QualType T = GetQualType(CT); in clang_getPointeeType()
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDebugTypeODRUniquingTest.cpp41 auto &CT = *DICompositeType::getODRType( in TEST() local
49 EXPECT_EQ(&CT, in TEST()
55 EXPECT_EQ(&CT, DICompositeType::getODRType( in TEST()
77 auto &CT = *DICompositeType::buildODRType( in TEST() local
85 EXPECT_EQ(&CT, DICompositeType::buildODRType( in TEST()
102 EXPECT_FALSE(CT.isForwardDecl()); in TEST()
110 EXPECT_FALSE(CT.isForwardDecl()); in TEST()
116 EXPECT_NE(111u, CT.getLine()); in TEST()
125 auto &CT = *DICompositeType::buildODRType( in TEST() local
156 EXPECT_EQ(&CT, in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/PowerPC/
H A DSnippetGeneratorTest.cpp66 const auto &CT = CodeTemplates[0]; in TEST_F() local
67 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_EXPLICIT_REGS); in TEST_F()
68 ASSERT_THAT(CT.Instructions, SizeIs(1)); in TEST_F()
69 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
96 const auto &CT = CodeTemplates[0]; in TEST_F() local
98 ASSERT_THAT(CT.Instructions, SizeIs(1)); in TEST_F()
99 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
119 const auto &CT = CodeTemplates[0]; in TEST_F() local
122 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F()
123 ASSERT_THAT(CT.Instructions, in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dselect-cmp-cttz-ctlz.ll11 ; CHECK-NEXT: ret i16 [[CT]]
22 ; CHECK-NEXT: ret i32 [[CT]]
33 ; CHECK-NEXT: ret i64 [[CT]]
44 ; CHECK-NEXT: ret i16 [[CT]]
55 ; CHECK-NEXT: ret i32 [[CT]]
66 ; CHECK-NEXT: ret i64 [[CT]]
77 ; CHECK-NEXT: ret i16 [[CT]]
88 ; CHECK-NEXT: ret i32 [[CT]]
99 ; CHECK-NEXT: ret i64 [[CT]]
110 ; CHECK-NEXT: ret i16 [[CT]]
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExceptionSpec.cpp1068 CT = mergeCanThrow(CT, Self.canThrow(Init)); in canVarDeclThrow()
1085 CT = mergeCanThrow(CT, canVarDeclThrow(Self, HD)); in canVarDeclThrow()
1087 return CT; in canVarDeclThrow()
1198 CT = mergeCanThrow(CT, canThrow(*Cap)); in canThrow()
1199 return CT; in canThrow()
1248 CT = mergeCanThrow(CT, canThrow(E)); in canThrow()
1541 CT = mergeCanThrow(CT, canThrow(Init)); in canThrow()
1543 CT = mergeCanThrow(CT, canThrow(CondDS)); in canThrow()
1544 CT = mergeCanThrow(CT, canThrow(IS->getCond())); in canThrow()
1582 CT = mergeCanThrow(CT, canThrow(Finally)); in canThrow()
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/debug/containers/
H A Dsequence_container_iterators.pass.cpp40 if constexpr(CT != CT_ForwardList) { in run()
52 if constexpr (CT == CT_Vector || CT == CT_Deque || CT == CT_List) { in run()
55 if constexpr (CT == CT_List || CT == CT_Deque) { in run()
58 if constexpr (CT == CT_List || CT == CT_ForwardList) { in run()
61 if constexpr (CT == CT_List) { in run()
191 if (CT == CT_Vector) { in EraseIterIter()
197 if (CT == CT_List) { in EraseIterIter()
239 if (CT == CT_List) { in InsertIterValue()
263 if (CT == CT_List) { in EmplaceIterValue()
282 if (CT == CT_List) { in InsertIterSizeValue()
[all …]
H A Dassociative_containers.pass.cpp24 template <class Container, ContainerType CT>
25 struct AssociativeContainerChecks : BasicContainerChecks<Container, CT> {
26 using Base = BasicContainerChecks<Container, CT>;
H A Dunord_containers.pass.cpp24 template <class Container, ContainerType CT>
25 struct UnorderedContainerChecks : BasicContainerChecks<Container, CT> {
26 using Base = BasicContainerChecks<Container, CT>;
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/
H A DSnippetGeneratorTest.cpp66 const auto &CT = CodeTemplates[0]; in TEST_F() local
67 EXPECT_THAT(CT.Execution, ExecutionMode::SERIAL_VIA_EXPLICIT_REGS); in TEST_F()
68 ASSERT_THAT(CT.Instructions, SizeIs(1)); in TEST_F()
69 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
111 const auto &CT = CodeTemplates[0]; in TEST_F() local
112 EXPECT_THAT(CT.Info, in TEST_F()
114 EXPECT_THAT(CT.Execution, ExecutionMode::UNKNOWN); in TEST_F()
115 ASSERT_THAT(CT.Instructions, in TEST_F()
117 const InstructionTemplate &IT = CT.Instructions[0]; in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DLex.cpp28 clang::Token CT; in lex() local
34 for (Lexer.LexFromRawLexer(CT); CT.getKind() != clang::tok::eof; in lex()
35 Lexer.LexFromRawLexer(CT)) { in lex()
37 CT.getLocation().getRawEncoding() - Start.getRawEncoding(); in lex()
41 Tok.Length = CT.getLength(); in lex()
42 Tok.Kind = CT.getKind(); in lex()
66 if (CT.isAtStartOfLine()) in lex()
68 if (CT.needsCleaning() || CT.hasUCN()) in lex()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dllvm.r600.tex.ll3 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:NNNN
4 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:NNNN
5 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:NNNN
6 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:NNNN
7 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:UUNN
8 ;CHECK: TEX_SAMPLE_C T{{[0-9]+\.XYZW, T[0-9]+\.XYZZ}} RID:0 SID:0 CT:NNNN
9 ;CHECK: TEX_SAMPLE_C T{{[0-9]+\.XYZW, T[0-9]+\.XYZZ}} RID:0 SID:0 CT:NNNN
10 ;CHECK: TEX_SAMPLE_C T{{[0-9]+\.XYZW, T[0-9]+\.XYZZ}} RID:0 SID:0 CT:UUNN
11 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYYW}} RID:0 SID:0 CT:NNUN
12 ;CHECK: TEX_SAMPLE T{{[0-9]+\.XYZW, T[0-9]+\.XYZW}} RID:0 SID:0 CT:NNUN
[all …]
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/iterator.traits/
H A Dempty.fail.cpp74 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
83 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
92 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
101 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
110 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
119 …typedef T::iterator_category CT; // expected-error-re {{no type named 'iterator_category' in 'std:… in main() typedef
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp180 ClassifiedToken CT; in classifyToken() local
181 CT.T = Tok; in classifyToken()
182 CT.IsQualifier = true; in classifyToken()
183 CT.IsSpecifier = true; in classifyToken()
203 CT.IsQualifier &= Qual; in classifyToken()
204 CT.IsSpecifier &= Spec; in classifyToken()
215 return CT; in classifyToken()
253 ClassifiedTokens.push_back(*CT); in classifyTokensBeforeFunctionName()
356 for (ClassifiedToken CT : *MaybeTokens) { in keepSpecifiers()
362 if (!CT.IsSpecifier) in keepSpecifiers()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp302 CatchableType CT; in dumpCXXData() local
303 CT.Flags = DataPtr[0]; in dumpCXXData()
304 CT.NonVirtualBaseAdjustmentOffset = DataPtr[2]; in dumpCXXData()
305 CT.VirtualBasePointerOffset = DataPtr[3]; in dumpCXXData()
306 CT.VirtualBaseAdjustmentOffset = DataPtr[4]; in dumpCXXData()
307 CT.Size = DataPtr[5]; in dumpCXXData()
308 StringRef *I = std::begin(CT.Symbols), *E = std::end(CT.Symbols); in dumpCXXData()
310 CTs[SymName] = CT; in dumpCXXData()
437 const CatchableType &CT = CTPair.second; in dumpCXXData() local
452 << CT.VirtualBaseAdjustmentOffset << '\n'; in dumpCXXData()
[all …]
/llvm-project-15.0.7/clang/test/Layout/
H A Dms-x86-vtordisp.cpp140 struct CT : virtual AT { struct
141 virtual ~CT();
143 CT::~CT(){} in ~CT()
382 sizeof(CT)+
/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.rel/
H A Dis_invocable.pass.cpp140 using CT = std::reference_wrapper<const Tag>; in main() typedef
145 static_assert(!std::is_invocable<Fn, CT&, int>::value, ""); in main()
152 using CT = const Tag*; in main() typedef
159 static_assert(!std::is_invocable<Fn, CT&, int>::value, ""); in main()
178 using CT = std::reference_wrapper<const Tag>; in main() typedef
183 static_assert(std::is_invocable<Fn, CT&>::value, ""); in main()
189 using CT = const Tag*; in main() typedef
196 static_assert(std::is_invocable<Fn, CT&>::value, ""); in main()
/llvm-project-15.0.7/clang/test/FixIt/
H A Dfixit.cpp26 template<int Value> struct CT { template<typename> struct Inner; }; // expected-note{{previous use … struct
31 CT<10 >> 2> ct; // expected-warning{{require parentheses}}
39 struct CT<0> { }; // expected-error{{'template<>'}} struct
41 template<> union CT<1> { }; // expected-error{{tag type}} union
43 struct CT<2>::Inner<int> { }; // expected-error 2{{'template<>'}}
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp360 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) { in isContradictoryImpl() local
362 if (CT->getResNo() >= getOpcode().getNumResults()) in isContradictoryImpl()
365 MVT::SimpleValueType NodeType = getOpcode().getKnownType(CT->getResNo()); in isContradictoryImpl()
367 return TypesAreContradictory(NodeType, CT->getType()); in isContradictoryImpl()
374 if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) in isContradictoryImpl() local
375 return TypesAreContradictory(getType(), CT->getType()); in isContradictoryImpl()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dstatic-accessed-through-instance.cpp23 template <typename T> struct CT { struct
104 template <typename T> T CT<T>::x;
185 CT<int> ct; in static_through_instance()

12345