Home
last modified time | relevance | path

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

12345678910>>...18

/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
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 …]
DIntegerLiteral.cpp19 bool VisitIntegerLiteral(const IntegerLiteral *IL) { in VisitIntegerLiteral() argument
20 Match("literal", IL->getLocation()); in VisitIntegerLiteral()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Din_place_type_init_list_args.pass.cpp47 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
51 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae()
53 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae()
58 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae()
62 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae()
67 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae()
69 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae()
75 IL, int>::value, in test_ctor_sfinae()
78 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae()
83 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
[all …]
Din_place_index_init_list_args.pass.cpp47 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
50 static_assert(std::is_constructible<V, std::in_place_index_t<0>, IL>::value, in test_ctor_sfinae()
52 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae()
57 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae()
59 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae()
65 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae()
66 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae()
71 std::is_constructible<V, std::in_place_index_t<1>, IL, int>::value, ""); in test_ctor_sfinae()
72 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae()
78 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae()
[all …]
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Din_place_type_init_list_args.pass.cpp50 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
54 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae()
56 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae()
61 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae()
65 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae()
70 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae()
72 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae()
78 IL, int>::value, in test_ctor_sfinae()
81 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae()
86 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
[all …]
Din_place_index_init_list_args.pass.cpp50 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
53 static_assert(std::is_constructible<V, std::in_place_index_t<0>, IL>::value, in test_ctor_sfinae()
55 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae()
60 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae()
62 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae()
68 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae()
69 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae()
74 std::is_constructible<V, std::in_place_index_t<1>, IL, int>::value, ""); in test_ctor_sfinae()
75 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae()
81 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae()
[all …]
/external/llvm-project/llvm/test/Transforms/SampleProfile/
Dpseudo-probe-emit.ll3 ; RUN: FileCheck %s < %t --check-prefix=CHECK-IL
11 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 1, i32 0), !dbg ![[#FAKELINE:]]
16 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 2, i32 0), !dbg ![[#FAKELINE]]
22 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 3, i32 0), !dbg ![[#FAKELINE]]
28 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 4, i32 0), !dbg ![[#REALLINE:]]
36 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID2:]], i64 1, i32 0)
39 ; CHECK-IL: call void %f(i32 1), !dbg ![[#PROBE0:]]
43 ; CHECK-IL: call void @bar(i32 1), !dbg ![[#PROBE1:]]
49 ; CHECK-IL: ![[#FOO:]] = distinct !DISubprogram(name: "foo"
50 ; CHECK-IL: ![[#FAKELINE]] = !DILocation(line: 0, scope: ![[#FOO]])
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-equals-default-copy.cpp22 struct IL { struct
23 IL(const IL &Other) : Field(Other.Field) {} in IL() argument
26 IL &operator=(const IL &Other) { in operator =() argument
37 WT(const IL &Other) {} in WT() argument
38 WT &operator=(const IL &);
40 WT &WT::operator=(const IL &Other) { return *this; } in operator =()
55 const IL Const; // This also makes this class non-assignable.
146 struct BC : IL, OL, BF {
147 BC(const BC &Other) : IL(Other), OL(Other), BF(Other) {} in BC()
153 IL::operator=(Other); in operator =()
[all …]
Dmodernize-use-equals-default.cpp18 class IL { class
20 IL() {} ; // Note embedded tab on this line in IL() function in IL
23 ~IL() {} in ~IL()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_index_init_list_args.pass.cpp64 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
65 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor"); in test_emplace_sfinae()
66 static_assert(emplace_exists<V, 2, IL>(), ""); in test_emplace_sfinae()
68 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args"); in test_emplace_sfinae()
69 static_assert(emplace_exists<V, 3, IL, int>(), ""); in test_emplace_sfinae()
71 static_assert(!emplace_exists<V, 3, IL>(), "too few args"); in test_emplace_sfinae()
72 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args"); in test_emplace_sfinae()
Demplace_type_init_list_args.pass.cpp64 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
65 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae()
67 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae()
68 static_assert(emplace_exists<V, InitListArg, IL, int>(), ""); in test_emplace_sfinae()
70 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args"); in test_emplace_sfinae()
71 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(), in test_emplace_sfinae()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_index_init_list_args.pass.cpp67 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
68 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor"); in test_emplace_sfinae()
69 static_assert(emplace_exists<V, 2, IL>(), ""); in test_emplace_sfinae()
71 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args"); in test_emplace_sfinae()
72 static_assert(emplace_exists<V, 3, IL, int>(), ""); in test_emplace_sfinae()
74 static_assert(!emplace_exists<V, 3, IL>(), "too few args"); in test_emplace_sfinae()
75 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args"); in test_emplace_sfinae()
Demplace_type_init_list_args.pass.cpp67 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef
68 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae()
70 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae()
71 static_assert(emplace_exists<V, InitListArg, IL, int>(), ""); in test_emplace_sfinae()
73 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args"); in test_emplace_sfinae()
74 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(), in test_emplace_sfinae()
/external/llvm-project/llvm/unittests/Analysis/
DLoopNestTest.cpp93 const Loop *IL = LN.getInnermostLoop(); in TEST() local
94 EXPECT_NE(IL, nullptr); in TEST()
95 EXPECT_EQ(IL->getName(), "for.inner"); in TEST()
176 const Loop *IL = LN.getInnermostLoop(); in TEST() local
177 EXPECT_NE(IL, nullptr); in TEST()
178 EXPECT_EQ(IL->getName(), "loop.k"); in TEST()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h380 void insert(std::initializer_list<PtrType> IL) {
381 insert(IL.begin(), IL.end());
435 SmallPtrSet(std::initializer_list<PtrType> IL)
437 this->insert(IL.begin(), IL.end());
455 operator=(std::initializer_list<PtrType> IL) {
457 this->insert(IL.begin(), IL.end());
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Din_place_type.pass.cpp147 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
149 std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
151 std::in_place_type_t<small_tracked_t>, IL>::value, ""); in test_ctor_sfinae()
164 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
167 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae()
170 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae()
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.cons/
Din_place_type.pass.cpp144 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
146 std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae()
148 std::in_place_type_t<small_tracked_t>, IL>::value, ""); in test_ctor_sfinae()
161 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef
164 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae()
167 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae()
/external/llvm-project/llvm/include/llvm/ADT/
DSmallPtrSet.h391 void insert(std::initializer_list<PtrType> IL) {
392 insert(IL.begin(), IL.end());
466 SmallPtrSet(std::initializer_list<PtrType> IL)
468 this->insert(IL.begin(), IL.end());
486 operator=(std::initializer_list<PtrType> IL) {
488 this->insert(IL.begin(), IL.end());
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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallPtrSet.h392 void insert(std::initializer_list<PtrType> IL) {
393 insert(IL.begin(), IL.end());
467 SmallPtrSet(std::initializer_list<PtrType> IL)
469 this->insert(IL.begin(), IL.end());
487 operator=(std::initializer_list<PtrType> IL) {
489 this->insert(IL.begin(), IL.end());
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()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
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()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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()
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
Dp7.cpp10 inline namespace IL {} // expected-note {{previous definition}} namespace
11 namespace IL {} // expected-warning{{inline namespace reopened as a non-inline namespace}} namespace
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/
Dp7.cpp5 inline namespace IL {} // expected-note {{previous definition}} namespace
6 namespace IL {} // expected-warning{{inline namespace cannot be reopened as a non-inline namespace}} namespace

12345678910>>...18