LLVM 20.0.0git
LibDriver.h
Go to the documentation of this file.
1//===- llvm-lib/LibDriver.h - lib.exe-compatible driver ---------*- 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 an interface to a lib.exe-compatible driver that also understands
10// bitcode files. Used by llvm-lib and lld-link /lib.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
15#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
16
17namespace llvm {
18template <typename T> class ArrayRef;
19
20int libDriverMain(ArrayRef<const char *> ARgs);
21
22}
23
24#endif
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
int libDriverMain(ArrayRef< const char * > ARgs)
Definition: LibDriver.cpp:310
ArrayRef(const T &OneElt) -> ArrayRef< T >