//===- llvm/IR/TypeFinder.h - Class to find used struct types ---*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // This file contains the declaration of the TypeFinder class. // //===----------------------------------------------------------------------===// #ifndef LLVM_IR_TYPEFINDER_H #define LLVM_IR_TYPEFINDER_H #include "llvm/ADT/DenseSet.h" #include "llvm/IR/Attributes.h" #include <cstddef> #include <vector> namespace llvm { class MDNode; class Module; class StructType; class Type; class Value; /// TypeFinder - Walk over a module, identifying all of the types that are /// used by the module. class TypeFinder { … }; } // end namespace llvm #endif // LLVM_IR_TYPEFINDER_H