1//===- PreISelIntrinsicLowering.h - Pre-ISel intrinsic lowering pass ------===//
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 pass implements IR lowering for the llvm.load.relative and llvm.objc.*
10// intrinsics.
11//
12//===----------------------------------------------------------------------===//
13#ifndef LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
14#define LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
15
16#include "llvm/IR/PassManager.h"
17
18namespace llvm {
19
20class Module;
21class TargetMachine;
22
23struct PreISelIntrinsicLoweringPass
24 : PassInfoMixin<PreISelIntrinsicLoweringPass> {
25 const TargetMachine &TM;
26
27 PreISelIntrinsicLoweringPass(const TargetMachine &TM) : TM(TM) {}
28 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
29};
30
31} // end namespace llvm
32
33#endif // LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
34

source code of llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h