Home
last modified time | relevance | path

Searched refs:IL (Results 1 – 25 of 73) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Din_place_type_init_list_args.pass.cpp43 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
47 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae()
49 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae()
54 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae()
58 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae()
63 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae()
65 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae()
71 IL, int>::value, in test_ctor_sfinae()
79 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
80 static_assert(!test_convertible<V, std::in_place_type_t<int>, IL>(), ""); in test_ctor_sfinae()
[all …]
H A Din_place_index_init_list_args.pass.cpp43 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
48 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae()
53 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae()
55 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae()
61 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae()
62 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae()
68 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae()
74 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae()
75 static_assert(!test_convertible<V, std::in_place_index_t<2>, IL>(), ""); in test_ctor_sfinae()
80 !std::is_constructible<V, std::in_place_index_t<3>, IL>::value, ""); in test_ctor_sfinae()
[all …]
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DCallbacksLeaf.cpp17 bool TraverseIntegerLiteral(IntegerLiteral *IL) { in TEST() argument
18 recordCallback(__func__, IL, [&]() { in TEST()
19 RecordingVisitorBase::TraverseIntegerLiteral(IL); in TEST()
87 bool TraverseIntegerLiteral(IntegerLiteral *IL) { in TEST() argument
88 recordCallback(__func__, IL, [&]() { in TEST()
89 RecordingVisitorBase::TraverseIntegerLiteral(IL); in TEST()
106 bool WalkUpFromIntegerLiteral(IntegerLiteral *IL) { in TEST() argument
107 recordCallback(__func__, IL, [&]() { in TEST()
108 RecordingVisitorBase::WalkUpFromIntegerLiteral(IL); in TEST()
210 bool WalkUpFromIntegerLiteral(IntegerLiteral *IL) { in TEST() argument
[all …]
H A DIntegerLiteral.cpp19 bool VisitIntegerLiteral(const IntegerLiteral *IL) { in VisitIntegerLiteral() argument
20 Match("literal", IL->getLocation()); in VisitIntegerLiteral()
H A DCallbacksCommon.h41 if (IntegerLiteral *IL = dyn_cast<IntegerLiteral>(S)) { in stmtToString() local
42 return (ClassName + "(" + toString(IL->getValue(), 10, false) + ")").str(); in stmtToString()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-equals-default-copy.cpp22 struct IL { struct
23 IL(const IL &Other) : Field(Other.Field) {} in IL() function
26 IL &operator=(const IL &Other) { in operator =() argument
37 WT(const IL &Other) {} in WT() argument
38 WT &operator=(const IL &);
146 struct BC : IL, OL, BF {
153 IL::operator=(Other); in operator =()
162 struct BCWM : IL, OL {
170 IL::operator=(Other); in operator =()
184 IL::operator=(Other); in operator =()
[all …]
H A Duse-equals-default.cpp18 class IL { class
20 IL() {} ; // Note embedded tab on this line in IL() function in IL
23 ~IL() {} in ~IL()
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dpseudo-probe-emit-inline.ll3 ; RUN: FileCheck %s < %t --check-prefix=CHECK-IL
14 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID1:]], i64 1, i32 0, i64 -1), !dbg ![[#]]
20 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID2:]], i64 1, i32 0, i64 -1), !dbg ![[#]]
21 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID1]], i64 1, i32 0, i64 -1), !dbg ![[#DL1:]]
29 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID3:]], i64 1, i32 0, i64 -1), !dbg ![[#]]
30 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID2]], i64 1, i32 0, i64 -1), !dbg ![[#DL2:]]
40 ; CHECK-IL: ![[#SCOPE1:]] = distinct !DISubprogram(name: "foo2"
41 ; CHECK-IL: ![[#SCOPE2:]] = distinct !DISubprogram(name: "foo"
43 ; CHECK-IL: ![[#INL1]] = distinct !DILocation(line: 7, column: 3, scope: ![[#BL1:]])
47 ; CHECK-IL: ![[#SCOPE3:]] = distinct !DISubprogram(name: "entry"
[all …]
H A Dpseudo-probe-emit.ll3 ; RUN: FileCheck %s < %t --check-prefix=CHECK-IL
51 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID2:]], i64 1, i32 0, i64 -1)
55 ; CHECK-IL: call void %f(i32 1), !dbg ![[#PROBE0:]]
60 ; CHECK-IL: call void @bar(i32 1), !dbg ![[#PROBE1:]]
67 ; CHECK-IL: Function Attrs: inaccessiblememonly nocallback nofree nosync nounwind willreturn
68 ; CHECK-IL-NEXT: declare void @llvm.pseudoprobe(i64, i64, i32, i64)
70 ; CHECK-IL: ![[#FOO:]] = distinct !DISubprogram(name: "foo"
71 ; CHECK-IL: ![[#FAKELINE]] = !DILocation(line: 0, scope: ![[#FOO]])
72 ; CHECK-IL: ![[#REALLINE]] = !DILocation(line: 2, scope: ![[#FOO]])
73 ; CHECK-IL: ![[#PROBE0]] = !DILocation(line: 2, column: 20, scope: ![[#SCOPE0:]])
[all …]
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopNestTest.cpp101 const Loop *IL = LN.getInnermostLoop(); in TEST() local
102 EXPECT_NE(IL, nullptr); in TEST()
103 EXPECT_EQ(IL->getName(), "for.inner"); in TEST()
115 EXPECT_EQ(LoopsAtDepth2[0], IL); in TEST()
120 EXPECT_EQ(LN.getLoop(LN.getLoopIndex(*IL)), IL); in TEST()
199 const Loop *IL = LN.getInnermostLoop(); in TEST() local
200 EXPECT_NE(IL, nullptr); in TEST()
201 EXPECT_EQ(IL->getName(), "loop.k"); in TEST()
283 const Loop *IL = LN.getInnermostLoop(); in TEST() local
284 EXPECT_NE(IL, nullptr); in TEST()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
H A Demplace_index_init_list_args.pass.cpp60 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
61 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor"); in test_emplace_sfinae()
62 static_assert(emplace_exists<V, 2, IL>(), ""); in test_emplace_sfinae()
64 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args"); in test_emplace_sfinae()
65 static_assert(emplace_exists<V, 3, IL, int>(), ""); in test_emplace_sfinae()
67 static_assert(!emplace_exists<V, 3, IL>(), "too few args"); in test_emplace_sfinae()
68 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args"); in test_emplace_sfinae()
H A Demplace_type_init_list_args.pass.cpp60 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
61 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae()
63 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae()
64 static_assert(emplace_exists<V, InitListArg, IL, int>(), ""); in test_emplace_sfinae()
66 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args"); in test_emplace_sfinae()
67 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(), in test_emplace_sfinae()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Diterator.operators.addressof.compile.pass.cpp41 using IL = std::unordered_set<operator_hijacker>::local_iterator; in test() typedef
43 test<IL, IL>(); in test()
44 test<CIL, IL>(); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Diterator.operators.addressof.compile.pass.cpp43 using IL = std::unordered_map<operator_hijacker, operator_hijacker>::local_iterator; in test() typedef
45 test<IL, IL>(); in test()
46 test<CIL, IL>(); in test()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.cons/
H A Din_place_type.pass.cpp138 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
140 std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
142 std::in_place_type_t<small_tracked_t>, IL>::value, ""); in test_ctor_sfinae()
155 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
158 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae()
161 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallPtrSet.h399 void insert(std::initializer_list<PtrType> IL) {
400 insert(IL.begin(), IL.end());
474 SmallPtrSet(std::initializer_list<PtrType> IL)
476 this->insert(IL.begin(), IL.end());
494 operator=(std::initializer_list<PtrType> IL) {
496 this->insert(IL.begin(), IL.end());
H A DTinyPtrVector.h114 TinyPtrVector(std::initializer_list<EltTy> IL) in TinyPtrVector() argument
115 : Val(IL.size() == 0 in TinyPtrVector()
117 : IL.size() == 1 ? PtrUnion(*IL.begin()) in TinyPtrVector()
118 : PtrUnion(new VecTy(IL.begin(), IL.end()))) {} in TinyPtrVector()
H A DSmallVector.h682 void append(std::initializer_list<T> IL) { in append() argument
683 append(IL.begin(), IL.end()); in append()
717 void assign(std::initializer_list<T> IL) { in assign() argument
719 append(IL); in assign()
923 void insert(iterator I, std::initializer_list<T> IL) { in insert() argument
924 insert(I, IL.begin(), IL.end()); in insert()
1214 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) { in SmallVector() argument
1215 this->assign(IL); in SmallVector()
1261 SmallVector &operator=(std::initializer_list<T> IL) {
1262 this->assign(IL);
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile() local
134 if (!IL.isValid() || !SM.isInMainFile(IL)) in isInCodeFile()
138 if (SM.getFilename(IL).contains("UnifiedSource")) { in isInCodeFile()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp67 if (const auto *IL = dyn_cast<IntegerLiteral>(E)) in isOne() local
68 return (IL->getValue().isIntN(1)); in isOne()
181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() local
182 uint64_t ILRawVal = IL->getValue().getZExtValue(); in containsBadStrlcpyStrlcatPattern()
192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern()
193 DstOff = IL->getValue().getZExtValue(); in containsBadStrlcpyStrlcatPattern()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
H A Dp7.cpp10 inline namespace IL {} // expected-note {{previous definition}} namespace
11 namespace IL {} // expected-warning{{inline namespace reopened as a non-inline namespace}} namespace
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp63 IL = new IntrinsicLowering(getDataLayout()); in Interpreter()
67 delete IL; in ~Interpreter()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtOpenMP.cpp350 Dir->setIsLastIterVariable(Exprs.IL); in Create()
465 Dir->setIsLastIterVariable(Exprs.IL); in Create()
595 Dir->setIsLastIterVariable(Exprs.IL); in Create()
640 Dir->setIsLastIterVariable(Exprs.IL); in Create()
957 Dir->setIsLastIterVariable(Exprs.IL); in Create()
1061 Dir->setIsLastIterVariable(Exprs.IL); in Create()
1106 Dir->setIsLastIterVariable(Exprs.IL); in Create()
1149 Dir->setIsLastIterVariable(Exprs.IL); in Create()
1194 Dir->setIsLastIterVariable(Exprs.IL); in Create()
1239 Dir->setIsLastIterVariable(Exprs.IL); in Create()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dpr37248.ll10 ; resulting in an assert in IL verification. Test passes if IL verification
/llvm-project-15.0.7/clang/test/ASTMerge/std-initializer-list/Inputs/
H A Dil.cpp9 std::initializer_list<int> IL = {1, 2, 3, 4}; variable

123