diff options
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp index 0ef34489f38..7434e8cf6c9 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp +++ b/src/gallium/state_trackers/clover/llvm/codegen/bitcode.cpp @@ -51,18 +51,6 @@ using namespace clover; using namespace clover::llvm; namespace { - std::map<std::string, unsigned> - get_symbol_offsets(const ::llvm::Module &mod) { - std::map<std::string, unsigned> offsets; - unsigned i = 0; - - for (const auto &name : map(std::mem_fn(&::llvm::Function::getName), - get_kernels(mod))) - offsets[name] = i++; - - return offsets; - } - std::vector<char> emit_code(const ::llvm::Module &mod) { ::llvm::SmallVector<char, 1024> data; |