mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
5bdc5e7efd
Differential Revision: https://reviews.llvm.org/D97436
27 lines
642 B
C++
27 lines
642 B
C++
//===- ICF.h --------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLD_COFF_ICF_H
|
|
#define LLD_COFF_ICF_H
|
|
|
|
#include "Config.h"
|
|
#include "lld/Common/LLVM.h"
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
|
|
namespace lld {
|
|
namespace coff {
|
|
|
|
class Chunk;
|
|
|
|
void doICF(ArrayRef<Chunk *> chunks, ICFLevel);
|
|
|
|
} // namespace coff
|
|
} // namespace lld
|
|
|
|
#endif
|