1 //===- ICF.h --------------------------------------------------------------===// 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 #ifndef LLD_COFF_ICF_H 10 #define LLD_COFF_ICF_H 11 12 #include "lld/Common/LLVM.h" 13 #include "llvm/ADT/ArrayRef.h" 14 15 namespace lld { 16 namespace coff { 17 18 class Chunk; 19 20 void doICF(ArrayRef<Chunk *> chunks); 21 22 } // namespace coff 23 } // namespace lld 24 25 #endif 26