| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
| H A D | in_place_type_init_list_args.pass.cpp | 43 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 D | in_place_index_init_list_args.pass.cpp | 43 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 D | CallbacksLeaf.cpp | 17 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 D | IntegerLiteral.cpp | 19 bool VisitIntegerLiteral(const IntegerLiteral *IL) { in VisitIntegerLiteral() argument 20 Match("literal", IL->getLocation()); in VisitIntegerLiteral()
|
| H A D | CallbacksCommon.h | 41 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 D | use-equals-default-copy.cpp | 22 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 D | use-equals-default.cpp | 18 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 D | pseudo-probe-emit-inline.ll | 3 ; 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 D | pseudo-probe-emit.ll | 3 ; 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 D | LoopNestTest.cpp | 101 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 D | emplace_index_init_list_args.pass.cpp | 60 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 D | emplace_type_init_list_args.pass.cpp | 60 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 D | iterator.operators.addressof.compile.pass.cpp | 41 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 D | iterator.operators.addressof.compile.pass.cpp | 43 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 D | in_place_type.pass.cpp | 138 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 D | SmallPtrSet.h | 399 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 D | TinyPtrVector.h | 114 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 D | SmallVector.h | 682 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 D | AnalysisManager.h | 133 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 D | CStringSyntaxChecker.cpp | 67 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 D | p7.cpp | 10 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 D | Interpreter.cpp | 63 IL = new IntrinsicLowering(getDataLayout()); in Interpreter() 67 delete IL; in ~Interpreter()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | StmtOpenMP.cpp | 350 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 D | pr37248.ll | 10 ; 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 D | il.cpp | 9 std::initializer_list<int> IL = {1, 2, 3, 4}; variable
|