start defining codes for instructions
[oota-llvm.git] / include / llvm / CodeGen / IntrinsicLowering.h
index f429336d83ad9bb0a60c3036e6110f858ac5e909..098d59c1c1df40a3eab791bc7c9f4493d53233b1 100644 (file)
 namespace llvm {
   class CallInst;
   class Module;
+  class TargetData;
 
   class IntrinsicLowering {
+    const TargetData& TD;
   public:
-    IntrinsicLowering() {}
+    IntrinsicLowering(const TargetData &td) : TD(td) {}
 
     /// AddPrototypes - This method, if called, causes all of the prototypes
     /// that might be needed by an intrinsic lowering implementation to be