LLVM 20.0.0git
JITLinkDylib.h
Go to the documentation of this file.
1//===-- JITLinkDylib.h - JITLink Dylib type ---------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Defines the JITLinkDylib API.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
14#define LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
15
16#include <string>
17
18namespace llvm {
19namespace jitlink {
20
22public:
23 JITLinkDylib(std::string Name) : Name(std::move(Name)) {}
24
25 /// Get the name for this JITLinkDylib.
26 const std::string &getName() const { return Name; }
27
28private:
29 std::string Name;
30};
31
32} // end namespace jitlink
33} // end namespace llvm
34
35#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINKDYLIB_H
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Definition: STLExtras.h:1849
Implement std::hash so that hash_code can be used in STL containers.
Definition: BitVector.h:858