summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/instructionssoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/instructionssoa.h')
-rw-r--r--src/mesa/pipe/llvm/instructionssoa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/instructionssoa.h b/src/mesa/pipe/llvm/instructionssoa.h
index 0b6b41cf056..233d363b906 100644
--- a/src/mesa/pipe/llvm/instructionssoa.h
+++ b/src/mesa/pipe/llvm/instructionssoa.h
@@ -28,6 +28,8 @@
#ifndef INSTRUCTIONSSOA_H
#define INSTRUCTIONSSOA_H
+#include <llvm/Support/LLVMBuilder.h>
+
#include <vector>
namespace llvm {
@@ -49,6 +51,8 @@ public:
std::vector<llvm::Value*> mul(const std::vector<llvm::Value*> in1,
const std::vector<llvm::Value*> in2);
void end();
+private:
+ llvm::LLVMFoldingBuilder m_builder;
};