summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorBenjamin Segovia <segovia.benjamin@gmail.com>2012-03-15 14:34:25 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:15:40 -0700
commit07818f4aa9dec42a5d34d99804e563d2b35d2824 (patch)
tree31f77f1e5fb5e640e875d21fbff2c527f61d8e0e /backend
parent4816fe819480c5bdd51c704fa3bae4d6c2eb4b03 (diff)
value.hpp -> immediate.hpp value is going to be a real "Value" (as compiler values)
Diffstat (limited to 'backend')
-rw-r--r--backend/kernels/loop.cl1
-rw-r--r--backend/src/ir/context.hpp2
-rw-r--r--backend/src/ir/function.hpp2
-rw-r--r--backend/src/ir/immediate.hpp (renamed from backend/src/ir/value.hpp)0
-rw-r--r--backend/src/ir/instruction.hpp2
5 files changed, 3 insertions, 4 deletions
diff --git a/backend/kernels/loop.cl b/backend/kernels/loop.cl
index 552a066f..bba0705f 100644
--- a/backend/kernels/loop.cl
+++ b/backend/kernels/loop.cl
@@ -7,4 +7,3 @@ __kernel void add(__global int *dst, unsigned int x, struct big b)
for (int i = 0; i < x; ++i) dst[i]++;
}
-
diff --git a/backend/src/ir/context.hpp b/backend/src/ir/context.hpp
index f66b20ae..95920ec2 100644
--- a/backend/src/ir/context.hpp
+++ b/backend/src/ir/context.hpp
@@ -27,7 +27,7 @@
#include "ir/instruction.hpp"
#include "ir/function.hpp"
#include "ir/register.hpp"
-#include "ir/value.hpp"
+#include "ir/immediate.hpp"
#include "ir/unit.hpp"
#include "sys/vector.hpp"
#include <tuple>
diff --git a/backend/src/ir/function.hpp b/backend/src/ir/function.hpp
index a884047a..e2534999 100644
--- a/backend/src/ir/function.hpp
+++ b/backend/src/ir/function.hpp
@@ -24,7 +24,7 @@
#ifndef __GBE_IR_FUNCTION_HPP__
#define __GBE_IR_FUNCTION_HPP__
-#include "ir/value.hpp"
+#include "ir/immediate.hpp"
#include "ir/register.hpp"
#include "ir/instruction.hpp"
#include "ir/profile.hpp"
diff --git a/backend/src/ir/value.hpp b/backend/src/ir/immediate.hpp
index a9ac133f..a9ac133f 100644
--- a/backend/src/ir/value.hpp
+++ b/backend/src/ir/immediate.hpp
diff --git a/backend/src/ir/instruction.hpp b/backend/src/ir/instruction.hpp
index 4548bdcf..7bde4c1e 100644
--- a/backend/src/ir/instruction.hpp
+++ b/backend/src/ir/instruction.hpp
@@ -25,7 +25,7 @@
#define __GBE_IR_INSTRUCTION_HPP__
#include "ir/register.hpp"
-#include "ir/value.hpp"
+#include "ir/immediate.hpp"
#include "ir/type.hpp"
#include "sys/platform.hpp"