Home
last modified time | relevance | path

Searched full:this (Results 1 – 25 of 13666) sorted by relevance

12345678910>>...547

/llvm-project/llvm/unittests/ADT/
H A DTinyPtrVectorTest.cpp87 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
91 this->V.push_back(this->TestPtrs[0]); in TYPED_TEST()
92 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
93 this->V.push_back(this->TestPtrs[1]); in TYPED_TEST()
94 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
95 this->V.push_back(this->TestPtrs[2]); in TYPED_TEST()
96 this->expectValues(this->V, this->testArray(3)); in TYPED_TEST()
97 this->V.push_back(this->TestPtrs[3]); in TYPED_TEST()
98 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
99 this->V.push_back(this->TestPtrs[4]); in TYPED_TEST()
[all …]
H A DDenseMapTest.cpp54 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
57 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
60 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
64 EXPECT_EQ(1u, Constructed.erase(this)); in ~CtorTester()
89 // function overloads selected by component types of the type parameter. This
132 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
133 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
136 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
139 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
140 EXPECT_FALSE(this->Map.contains(this->getKey())); in TYPED_TEST()
[all …]
/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp
/llvm-project/llvm/include/llvm/ADT/
H A DSmallVector.h10 /// This file defines the SmallVector class.
44 /// This is all the stuff common to all SmallVectors.
66 /// This is a helper for \a grow() that's out of line to reduce code
67 /// duplication. This function will report a fatal error if it can't grow at
72 /// This is an implementation of the grow() method which only works
74 /// This function will report a fatal error if it cannot increase capacity.
87 /// This does not construct or destroy any elements in the vector.
95 /// This does not construct or destroy any elements in the vector.
96 // This does not clean up any existing allocation.
116 /// This i
242 reserveForParamAndGetAddressImpl(U * This,const T & Elt,size_t N) reserveForParamAndGetAddressImpl() argument
[all...]
/llvm-project/clang/test/SemaCXX/
H A Dcxx1z-lambda-star-this.cpp21 (void)[ *this, this ]{}; //expected-error{{'this' can appear only once}} in foo()
22 (void)[this] { ++x; }; in foo()
23 (void)[*this] { ++x; }; //expected-error{{read-only variable}} in foo()
24 (void)[*this]() mutable { ++x; }; in foo()
26 (void)[&, this ] { return x; }; in foo()
27 (void)[ =, *this ] { return x; }; in foo()
28 (void)[&, *this ] { return x; }; in foo()
38 (void)[this] { return x; }; in foo()
39 (void)[*this] { return x; }; //expected-error{{call to deleted}} in foo()
53 (void)[this] { return x; }; in foo()
[all …]
H A Dcxx2b-deducing-this.cpp5 void f(this); // expected-error{{variable has incomplete type 'void'}} \
6 // expected-error{{invalid use of 'this' outside of a non-static member function}}
8 void g(this auto); // expected-error{{an explicit object parameter cannot appear in a non-member function}}
10 auto l1 = [] (this auto) static {}; // expected-error{{an explicit object parameter cannot appear in a static lambda}} in __anonbb8d70fa0102()
11 auto l2 = [] (this auto) mutable {}; // expected-error{{a lambda with an explicit object parameter cannot be mutable}} in __anonbb8d70fa0202()
12 auto l3 = [](this auto...){}; // expected-error {{the explicit object parameter cannot be a function parameter pack}} in __anonbb8d70fa0302()
13 auto l4 = [](int, this auto){}; // expected-error {{an explicit object parameter can only appear as the first parameter of the lambda}} in __anonbb8d70fa0402()
16 static void f(this auto); // expected-error{{an explicit object parameter cannot appear in a static function}}
17 virtual void f(this S); // expected-error{{an explicit object parameter cannot appear in a virtual function}}
20 void *operator new(this unsigne
[all...]
/llvm-project/llvm/test/MC/AMDGPU/
H A Dgfx7_unsupported.s8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
[all …]
H A Dgfx8_unsupported.s8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
[all …]
H A Dgfx10_unsupported.s6 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
9 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
12 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
21 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
27 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
30 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
33 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GP
[all...]
H A Dgfx11_unsupported.s5 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GP
[all...]
H A Dgfx9_unsupported.s8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
[all …]
H A Dmai-err.s6 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
10 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
18 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
21 // GFX900: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
25 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
33 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
37 // GFX900: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
40 // GFX900: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
[all …]
H A Dgfx11_unsupported_sdwa.s5 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instructio
[all...]
H A Dgfx12_unsupported.s8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GP
[all...]
/llvm-project/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/
H A Dp4.cpp126 this->x0; in not_instantiated()
127 this->B::x0; in not_instantiated()
128 this->A::x0; in not_instantiated()
129 this->B::A::x0; in not_instantiated()
130 this->y0; in not_instantiated()
131 this->B::y0; in not_instantiated()
132 this->A::y0; in not_instantiated()
133 this->B::A::y0; in not_instantiated()
134 this->x1; in not_instantiated()
135 this in not_instantiated()
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_dense_map_test.cpp32 for (const auto &V : Vals) this->BaseT::insert(V); in TestDenseMap()
37 for (; B != E; ++B) this->BaseT::insert(*B); in TestDenseMap()
66 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
69 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
72 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
75 ~CtorTester() { EXPECT_EQ(1u, Constructed.erase(this)); } in ~CtorTester()
99 // function overloads selected by component types of the type parameter. This
133 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
134 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
137 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
[all …]
/llvm-project/clang/include/clang/AST/
H A DASTVector.h9 // This file provides ASTVector, a vector ADT whose contents are
14 // FIXME: Most of this is copy-and-paste from BumpVector.h and SmallVector.h.
15 // We can refactor this core logic into something common.
42 void setEnd(T *P) { this->End = P; } in setEnd()
45 // Make a tag bit available to users of this class.
46 // FIXME: This is a horrible hack.
72 return *this;
163 if (End < this->capacity_ptr()) { in push_back()
174 if (unsigned(this->capacity_ptr()-Begin) < N) in reserve()
180 size_t capacity() const { return this->capacity_ptr() - Begin; } in capacity()
[all …]
/llvm-project/llvm/unittests/IR/
H A DValueMapTest.cpp48 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
49 EXPECT_EQ(7, VM.lookup(this->BitcastV.get())); in TYPED_TEST()
50 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
51 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
52 EXPECT_EQ(7, VM.lookup(this->AddV.get())); in TYPED_TEST()
53 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
54 this->AddV.reset(); in TYPED_TEST()
55 EXPECT_EQ(0u, VM.count(this->AddV.get())); in TYPED_TEST()
56 EXPECT_EQ(0u, VM.count(this->BitcastV.get())); in TYPED_TEST()
67 VM[this->BitcastV.get()] = 7; in TYPED_TEST()
[all …]
/llvm-project/llvm/include/llvm/CodeGen/
H A DPasses.h9 // This file defines interfaces to access the target independent code generation
44 /// AtomicExpandPass - At IR level this pass replace atomic instructions with
52 /// not instruction select unreachable blocks, or run this pass as its
61 /// This pass garbage-collects such basic blocks.
64 /// createBasicBlockSections Pass - This pass assigns sections to machine
70 /// createMachineFunctionSplitterPass - This pass splits machine functions
74 /// createStaticDataSplitterPass - This pass partitions a static data section
78 /// MachineFunctionPrinter pass - This pass prints out the machine function to
84 /// StackFramePrinter pass - This pass prints out the machine function's
88 /// MIRPrinting pass - this pas
[all...]
/llvm-project/clang/include/clang/Sema/
H A DScope.h9 // This file defines the Scope interface.
49 /// This indicates that the scope corresponds to a function, which
53 /// This is a while, do, switch, for, etc that can have break
57 /// This is a while, do, for, which can have continue statements
61 /// This is a scope that can contain a declaration. Some scopes
71 /// This is a scope that corresponds to a block/closure object.
77 /// This is a scope that corresponds to the
83 /// This is a scope that corresponds to the
87 /// This is a scope that corresponds to the parameters within
93 /// This i
[all...]
/llvm-project/libcxx/include/__ostream/
H A Dbasic_ostream.h54 this->init(__sb);
77 return __pf(*this);
82 __pf(*this);
83 return *this;
87 __pf(*this);
88 return *this;
96 sentry __s(*this);
99 const _Fp& __facet = std::use_facet<_Fp>(this->getloc());
100 if (__facet.put(*this, *this, thi
[all...]
/llvm-project/clang/test/CodeGenCXX/
H A Dconstructor-destructor-return-this.cpp9 //RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-unknown-linux-gnu -fctor-dtor-return-this | FileC…
10 //RUN: %clang_cc1 %s -emit-llvm -o - -triple=aarch64-unknown-linux-gnu -fctor-dtor-return-this | Fi…
13 // Make sure we attach the 'returned' attribute to the 'this' parameter of
14 // constructors and destructors which return this (and only these cases)
37 // CHECKGEN-LABEL: define{{.*}} void @_ZN1BC2EPi(ptr {{[^,]*}} %this, ptr noundef %i)
38 // CHECKGEN-LABEL: define{{.*}} void @_ZN1BC1EPi(ptr {{[^,]*}} %this, ptr noundef %i)
39 // CHECKGEN-LABEL: define{{.*}} void @_ZN1BD2Ev(ptr {{[^,]*}} %this)
40 // CHECKGEN-LABEL: define{{.*}} void @_ZN1BD1Ev(ptr {{[^,]*}} %this)
42 …RCH64RET-LABEL: define{{.*}} ptr @_ZN1BC2EPi(ptr {{[^,]*}} returned{{[^,]*}} %this, ptr noundef %i)
43 …RCH64RET-LABEL: define{{.*}} ptr @_ZN1BC1EPi(ptr {{[^,]*}} returned{{[^,]*}} %this, ptr noundef %i)
[all …]
/llvm-project/libc/src/__support/
H A Dhigh_precision_decimal.h11 // This file is shared with libc++. You should also be careful when adding
12 // dependencies to this file, since it needs to build for all libc++ targets.
34 // This interface is shared with libc++, if you change this interface you need
37 // This is used in both this file and in the main str_to_float.h.
38 // TODO: Figure out where to put this.
41 // This is based on the HPD data structure described as part of the Simple
42 // Decimal Conversion algorithm by Nigel Tao, described at this link:
46 // This precompute
[all...]
/llvm-project/lldb/source/API/
H A DSBType.cpp36 SBType::SBType() { LLDB_INSTRUMENT_VA(this); } in SBType()
47 LLDB_INSTRUMENT_VA(this, rhs); in SBType()
49 if (this != &rhs) { in SBType()
59 LLDB_INSTRUMENT_VA(this, rhs); in operator ==()
71 LLDB_INSTRUMENT_VA(this, rhs); in operator !=()
89 LLDB_INSTRUMENT_VA(this, rhs); in operator =()
91 if (this != &rhs) { in operator =()
94 return *this; in operator =()
107 // to calling this function. In case you didn't we will assert and die to let in ref()
114 LLDB_INSTRUMENT_VA(this); in IsValid()
[all...]
/llvm-project/clang/unittests/StaticAnalyzer/
H A DRangeSetTest.cpp152 (this->*ActualFunction)(from(std::forward<RawArgTypes>(Args))...); in wrap()
276 this->checkCastToImpl(from(What, FromTy), ToTy, from(Expected, ToTy)); in checkCastTo()
294 this->checkNegate({{MIN, A}}, {{MIN, MIN}, {D, MAX}}); in TYPED_TEST()
295 this->checkNegate({{MIN, C}}, {{MIN, MIN}, {B, MAX}}); in TYPED_TEST()
296 this->checkNegate({{MIN, MID}}, {{MIN, MIN}, {MID, MAX}}); in TYPED_TEST()
297 this->checkNegate({{MIN, MAX}}, {{MIN, MAX}}); in TYPED_TEST()
298 this->checkNegate({{A, D}}, {{A, D}}); in TYPED_TEST()
299 this->checkNegate({{A, B}}, {{C, D}}); in TYPED_TEST()
300 this->checkNegate({{MIN, A}, {D, MAX}}, {{MIN, A}, {D, MAX}}); in TYPED_TEST()
301 this in TYPED_TEST()
[all...]

12345678910>>...547