ReduceMetadata.h 868 B

123456789101112131415161718192021222324
  1. //===- ReduceMetadata.h - Specialized Delta Pass ----------------*- 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. // This file implements two functions used by the Generic Delta Debugging
  10. // Algorithm, which are used to reduce Metadata nodes.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEMETADATA_H
  14. #define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEMETADATA_H
  15. #include "TestRunner.h"
  16. namespace llvm {
  17. void reduceMetadataDeltaPass(TestRunner &Test);
  18. void reduceNamedMetadataDeltaPass(TestRunner &Test);
  19. } // namespace llvm
  20. #endif