Home
last modified time | relevance | path

Searched refs:Wrapper (Results 1 – 25 of 110) sorted by relevance

12345

/llvm-project-15.0.7/clang/test/AST/
H A Dast-print-out-of-line-func.cpp5 struct Wrapper { struct
20 operator ns::Wrapper(); argument
25 Wrapper::Inner::Inner() { } in Inner()
28 void Wrapper::Inner::operator +=(int) { } in operator +=()
33 ns::Wrapper::Inner::Inner(int) { } in Inner()
36 ns::Wrapper::Inner::~Inner() { } in ~Inner()
40 void ::ns::Wrapper::Inner::member() { } in member()
43 ns::Wrapper::Inner::operator int() { return 0; } in operator int()
46 ns::Wrapper::Inner::operator ::ns::Wrapper() { return ns::Wrapper(); } in operator ::ns::Wrapper()
51 void Wrapper::Inner::staticMember() { } in staticMember()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DImmutableListTest.cpp19 Wrapper(Fundamental F) : F(F) {} in Wrapper() argument
38 ImmutableList<Wrapper<int>>::Factory f; in TEST_F()
51 ImmutableList<Wrapper<int>>::Factory f; in TEST_F()
54 ImmutableList<Wrapper<int>> L2 = f.add(3, L); in TEST_F()
70 ImmutableList<Wrapper<int>> L3 = f.add(2, L); in TEST_F()
113 ImmutableList<Wrapper<int>>::Factory f; in TEST_F()
116 ImmutableList<Wrapper<int>> L2 = f.create(3); in TEST_F()
126 ImmutableList<Wrapper<int>>::Factory f; in TEST_F()
131 ImmutableList<Wrapper<int>> L4 = f.add(9, L2); in TEST_F()
226 ImmutableList<Wrapper<char>>::Factory f; in TEST_F()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dpath-notes.cpp93 class Wrapper { class
112 Wrapper w; in testDefaultConstruction()
117 void testCopyConstruction(const Wrapper &input) { in testCopyConstruction()
120 Wrapper w{input}; in testCopyConstruction()
132 void testCopyAssignment(const Wrapper &input) { in testCopyAssignment()
133 Wrapper w; in testCopyAssignment()
150 Wrapper w; in testDestruction()
226 struct Wrapper { struct
229 Wrapper *arr;
242 Owner::Wrapper *arr; // expected-note {{'arr' declared without an initial value}} in testGetDerefExprOnMemberExprWithADot() argument
/llvm-project-15.0.7/clang/test/Analysis/
H A Dinitializer.cpp113 class Wrapper { class
117 Wrapper();
120 Wrapper::Wrapper() /* initializers synthesized */ {} in Wrapper() function in DefaultConstructorWithCleanups::Wrapper
123 Wrapper w; in test()
129 struct Wrapper { struct
132 Wrapper() {} in Wrapper() function
133 Wrapper(int x) : value(x) {} in Wrapper() argument
134 Wrapper(bool) {} in Wrapper() argument
138 Wrapper w1; in test()
141 Wrapper w2(50); in test()
[all …]
H A Dcall-invalidation.cpp38 struct Wrapper { struct
42 void useStruct(Wrapper &w); argument
43 void useConstStruct(const Wrapper &w);
47 Wrapper w; in testPointerStruct()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp39 std::unique_ptr<OProfileWrapper> Wrapper; member in __anonaa1574be0111::OProfileJITEventListener
46 : Wrapper(std::move(LibraryWrapper)) { in OProfileJITEventListener()
59 if (!Wrapper->op_open_agent()) { in initialize()
69 if (Wrapper->isAgentAvailable()) { in ~OProfileJITEventListener()
70 if (Wrapper->op_close_agent() == -1) { in ~OProfileJITEventListener()
83 if (!Wrapper->isAgentAvailable()) { in notifyObjectLoaded()
107 if (Wrapper->op_write_native_code(Name.data(), Addr, (void *)Addr, Size) == in notifyObjectLoaded()
130 if (Wrapper->op_write_debug_line_info((void *)Addr, num_entries, in notifyObjectLoaded()
143 if (Wrapper->isAgentAvailable()) { in notifyFreeingObject()
162 if (Wrapper->op_unload_native_code(Addr) == -1) { in notifyFreeingObject()
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dstatic-const-bitcast.ll5 %struct.A = type { %class.Wrapper }
6 %class.Wrapper = type { i32 }
8 $Wrapper = comdat any
11 ; CHECK: @kA = internal unnamed_addr constant %struct.A { %class.Wrapper { i32 1036831949 } }, alig…
25 …call void @Wrapper(%class.Wrapper* getelementptr inbounds (%struct.A, %struct.A* @kA, i32 0, i32 0…
30 define linkonce_odr dso_local void @Wrapper(%class.Wrapper* %this, float %x) unnamed_addr #0 comdat…
34 %store_ = getelementptr inbounds %class.Wrapper, %class.Wrapper* %this, i32 0, i32 0
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp112 Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper() local
119 Function::arg_iterator AI = Wrapper->arg_begin(); in createWrapper()
120 Function::arg_iterator AE = Wrapper->arg_end(); in createWrapper()
201 Wrapper->eraseFromParent(); in createWrapper()
202 Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
206 Wrapper->setName(F->getName() + "_bitcast_invalid"); in createWrapper()
210 Wrapper->eraseFromParent(); in createWrapper()
214 return Wrapper; in createWrapper()
278 Function *Wrapper = Pair.first->second; in runOnModule() local
279 if (!Wrapper) in runOnModule()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dpointer-to-objc-pointer-conv.mm29 class Wrapper {
39 Wrapper &operator*();
40 Wrapper &operator[](int);
41 Wrapper& operator->*(int);
48 Wrapper w;
/llvm-project-15.0.7/clang/test/Misc/
H A Ddiag-template-diffing.cpp1107 struct Wrapper {};
1110 Wrapper<T> MakeWrapper();
1113 Wrapper<S<ptr>> W = MakeWrapper<S<&global>>();
1118 Wrapper<S<(&global2)>> W2 = MakeWrapper<S<&global>>();
1120 Wrapper<S<&global2>> W3 = MakeWrapper<S<(&global)>>();
1122 Wrapper<S<(&global2)>> W4 = MakeWrapper<S<(&global)>>();
1131 struct Wrapper {};
1134 Wrapper<T> MakeWrapper();
1163 Wrapper<S<&global2, ptr>> W9 = MakeWrapper<S<&global, ptr2>>();
1167 Wrapper<S<&global2, static_cast<int *>(0)>> W11 =
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A DReachability-template-instantiation.cpp13 class Wrapper { class
36 Wrapper<T> value;
41 Wrapper<T> wrapper;
52 Wrapper<T> value;
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp49 IntelIttnotifyInfo(IntelJITEventsWrapper &Wrapper) in IntelIttnotifyInfo() argument
50 : ModuleObject(NULL), WrapperRef(Wrapper){}; in IntelIttnotifyInfo()
124 std::unique_ptr<IntelJITEventsWrapper> Wrapper; member in __anon421663ab0111::IntelJITEventListener
137 Wrapper.reset(libraryWrapper); in IntelJITEventListener()
161 IntelJITEventsWrapper& Wrapper, in FunctionDescToIntelJITFormat() argument
168 Result.method_id = Wrapper.iJIT_GetNewMethodID(); in FunctionDescToIntelJITFormat()
201 std::make_unique<IntelIttnotifyInfo>(*Wrapper); in notifyObjectLoaded()
211 Wrapper->iJitIttNotifyInfo(llvm::LoadBinaryModule, in notifyObjectLoaded()
323 Wrapper->iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, in notifyObjectLoaded()
343 Wrapper->iJitIttNotifyInfo( in notifyFreeingObject()
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dpartial-spec-instantiate.cpp68 struct Wrapper { struct
72 Wrapper(const Wrapper<U>& other, in Wrapper() argument
75 explicit Wrapper(int i) {} in Wrapper() argument
91 void takesWrapperInContainer(const Container< Wrapper<int> >& c);
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/
H A Dcopy_move.pass.cpp116 struct run_move<Wrapper<T>>
125 Size n, Wrapper<T> trash) in operator ()()
133 OutputIterator2 expected_last, Size size, Size n, Wrapper<T> trash) in operator ()()
141 … OutputIterator out_last, OutputIterator2, OutputIterator2, Size size, Size, Wrapper<T> trash) in operator ()()
145 Wrapper<T>::SetMoveCount(0); in operator ()()
151 EXPECT_TRUE(Wrapper<T>::MoveCount() == size, "wrong effect from move"); in operator ()()
189 …test<Wrapper<float64_t>>(Wrapper<float64_t>(-666.0), [](int32_t j) { return Wrapper<float64_t>(j);… in main()
/llvm-project-15.0.7/clang/test/ASTMerge/var-cpp/
H A Dtest.cpp7 static_assert(Wrapper<int>::my_const<float> == 1.f);
8 static_assert(Wrapper<char>::my_const<const float *> == nullptr);
9 static_assert(Wrapper<float>::my_const<const char *> == a);
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-infinite-recursion.cpp153 struct Wrapper { struct
158 return Wrapper<x/2>::run(); in run()
168 return Wrapper<x>::run() + in test_wrapper() argument
169 Wrapper<x>::run2(); // expected-note{{instantiation}} in test_wrapper()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DCSEInfo.h221 GISelCSEAnalysisWrapper Wrapper; variable
229 const GISelCSEAnalysisWrapper &getCSEWrapper() const { return Wrapper; } in getCSEWrapper()
230 GISelCSEAnalysisWrapper &getCSEWrapper() { return Wrapper; } in getCSEWrapper()
235 Wrapper.releaseMemory(); in releaseMemory()
236 Wrapper.setComputed(false); in releaseMemory()
H A DGISelChangeObserver.h134 RAIIMFObsDelInstaller(MachineFunction &MF, GISelObserverWrapper &Wrapper) in RAIIMFObsDelInstaller() argument
135 : DelI(MF, &Wrapper), ObsI(MF, Wrapper) {} in RAIIMFObsDelInstaller()
/llvm-project-15.0.7/clang/test/ASTMerge/var-cpp/Inputs/
H A Dvar1.cpp8 struct Wrapper { struct
17 constexpr const char *Wrapper<float>::my_const<const char *> = a; argument
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dindex-source.cpp64 class Wrapper {}; class
66 class Wrapper<T(P)> {}; class
69 void test1(Wrapper<void(int)> f);
71 void test1(Wrapper<void(int)> f) {} in test1()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp32 struct Wrapper { struct
33 static Wrapper stride(int64_t v) { in stride() argument
41 static Wrapper size(int64_t v) { in size() argument
42 return (ShapedType::isDynamic(v)) ? Wrapper{true, 0} : Wrapper{false, v}; in size()
51 bool operator==(Wrapper other) { in operator ==() argument
56 Wrapper operator+(Wrapper other) { in operator +() argument
58 return Wrapper{true, 0}; in operator +()
61 Wrapper operator*(Wrapper other) { in operator *() argument
63 return Wrapper{true, 0}; in operator *()
2111 Wrapper::offset(staticOffset) * Wrapper::stride(targetStride)) in inferResultType()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-for-malloc.h18 @interface Wrapper : NSData
22 @implementation Wrapper
/llvm-project-15.0.7/pstl/test/support/
H A Dutils.h1151 class Wrapper
1154 Wrapper()
1159 Wrapper(const T& input)
1164 Wrapper(const Wrapper& input)
1169 Wrapper(Wrapper&& input)
1175 Wrapper&
1176 operator=(const Wrapper& input)
1181 Wrapper&
1182 operator=(Wrapper&& input)
1195 operator<(const Wrapper& input) const
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dno-devirt.cpp21 struct Wrapper { struct
49 extern Wrapper ew;
/llvm-project-15.0.7/clang/test/SemaSYCL/
H A Dzero-length-arrays.cpp14 struct Wrapper { struct
20 Wrapper F; // expected-note 2{{within field of type 'Wrapper' declared here}} argument

12345