27 lines · c
1//===- ReduceSpecialGlobals.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-exception6//7//===----------------------------------------------------------------------===//8//9// This file implements a function which calls the Generic Delta pass in order10// to reduce special globals, like @llvm.used, in the provided Module.11//12// For more details about special globals, see13// https://llvm.org/docs/LangRef.html#intrinsic-global-variables14//15//===----------------------------------------------------------------------===//16 17#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCESPECIALGLOBALS_H18#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCESPECIALGLOBALS_H19 20#include "Delta.h"21 22namespace llvm {23void reduceSpecialGlobalsDeltaPass(Oracle &O, ReducerWorkItem &WorkItem);24} // namespace llvm25 26#endif27