[polly] r208182 - Replace llvm::IRBuilder with PollyIRBuilder

Tobias Grosser tobias at grosser.es
Wed May 7 03:06:43 PDT 2014


Author: grosser
Date: Wed May  7 05:06:42 2014
New Revision: 208182

URL: http://llvm.org/viewvc/llvm-project?rev=208182&view=rev
Log:
Replace llvm::IRBuilder with PollyIRBuilder

Contributed-by:  Yabin Hu <yabin.hwu at gmail.com>

Modified:
    polly/trunk/include/polly/CodeGen/PTXGenerator.h

Modified: polly/trunk/include/polly/CodeGen/PTXGenerator.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/PTXGenerator.h?rev=208182&r1=208181&r2=208182&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/PTXGenerator.h (original)
+++ polly/trunk/include/polly/CodeGen/PTXGenerator.h Wed May  7 05:06:42 2014
@@ -16,7 +16,7 @@
 #include "polly/Config/config.h"
 
 #ifdef GPU_CODEGEN
-#include "llvm/IR/IRBuilder.h"
+#include "polly/CodeGen/IRBuilder.h"
 #include "llvm/ADT/SetVector.h"
 
 #include <map>
@@ -34,7 +34,7 @@ class PTXGenerator {
 public:
   typedef std::map<Value *, Value *> ValueToValueMapTy;
 
-  PTXGenerator(IRBuilder<> &Builder, Pass *P, const std::string &Triple);
+  PTXGenerator(PollyIRBuilder &Builder, Pass *P, const std::string &Triple);
 
   /// @brief Create a GPGPU parallel loop.
   ///
@@ -76,7 +76,7 @@ public:
   void setOutputBytes(unsigned Bytes) { OutputBytes = Bytes; }
 
 private:
-  IRBuilder<> &Builder;
+  PollyIRBuilder &Builder;
   Pass *P;
 
   /// @brief The target triple of the device.





More information about the llvm-commits mailing list