mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
b8e6c93369
SelectionDAG currently changes these intrinsics to function calls, but that won't work for other ISel's. Also we want to eventually support nonlazybind and weak linkage coming from the front-end which we can't do in SelectionDAG. llvm-svn: 349552
31 lines
916 B
C++
31 lines
916 B
C++
//===- PreISelIntrinsicLowering.h - Pre-ISel intrinsic lowering pass ------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This pass implements IR lowering for the llvm.load.relative and llvm.objc.*
|
|
// intrinsics.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
|
|
#define LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
|
|
|
|
#include "llvm/IR/PassManager.h"
|
|
|
|
namespace llvm {
|
|
|
|
class Module;
|
|
|
|
struct PreISelIntrinsicLoweringPass
|
|
: PassInfoMixin<PreISelIntrinsicLoweringPass> {
|
|
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif // LLVM_CODEGEN_PREISELINTRINSICLOWERING_H
|