summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/CodeGen/IntrinsicLowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/CodeGen/IntrinsicLowering.h')
-rw-r--r--llvm/include/llvm/CodeGen/IntrinsicLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/IntrinsicLowering.h b/llvm/include/llvm/CodeGen/IntrinsicLowering.h
index daf2d9a4780..5f8da028783 100644
--- a/llvm/include/llvm/CodeGen/IntrinsicLowering.h
+++ b/llvm/include/llvm/CodeGen/IntrinsicLowering.h
@@ -30,6 +30,10 @@ class IntrinsicLowering {
public:
explicit IntrinsicLowering(const DataLayout &DL) : DL(DL), Warned(false) {}
+ /// Add all of the prototypes that might be needed by an intrinsic lowering
+ /// implementation to be inserted into the module specified.
+ void AddPrototypes(Module &M);
+
/// Replace a call to the specified intrinsic function.
/// If an intrinsic function must be implemented by the code generator
/// (such as va_start), this function should print a message and abort.
OpenPOWER on IntegriCloud