search for: acraft

Displaying 6 results from an estimated 6 matches for "acraft".

Did you mean: craft
2018 May 11
0
About Error: Interpreter has not been linked in
Ok. I figured out. Following methods needs to be called. That fixed the issue. llvm::InitializeNativeTarget(); LLVMInitializeNativeAsmPrinter(); LLVMInitializeNativeAsmParser(); LLVMLinkInMCJIT(); Aaron On Thu, May 10, 2018 at 8:33 PM, Aaron <acraft at gmail.com> wrote: > Hello, > > When I try to create execution engine I do get "*Interpreter has not been > linked in.*" error and EngineBuilder returns NULL. > > Here is the line I use to create execution engine: > > auto executionEngine = llvm::EngineBuilde...
2018 May 11
1
About Error: Interpreter has not been linked in
...I figured out. Following methods needs to be called. That fixed the issue. > > llvm::InitializeNativeTarget(); > LLVMInitializeNativeAsmPrinter(); > LLVMInitializeNativeAsmParser(); > LLVMLinkInMCJIT(); > > Aaron > > >> On Thu, May 10, 2018 at 8:33 PM, Aaron <acraft at gmail.com> wrote: >> Hello, >> >> When I try to create execution engine I do get "Interpreter has not been linked in." error and EngineBuilder returns NULL. >> >> Here is the line I use to create execution engine: >> >> auto executionEngi...
2018 May 11
2
About Error: Interpreter has not been linked in
Hello, When I try to create execution engine I do get "*Interpreter has not been linked in.*" error and EngineBuilder returns NULL. Here is the line I use to create execution engine: auto executionEngine = llvm::EngineBuilder(std::move(m_module)).setErrorStr(&error).create(); Here are all headers I have included: #include "llvm/ADT/STLExtras.h" #include
2018 May 25
0
LLVM Pass To Remove Dead Code In A Basic Block
> On 25 May 2018, at 03:53, Aaron <acraft at gmail.com> wrote: > > Hi Dean, > > Thanks for your reply. > > That's exactly what I am doing, but I was looking for a default optimization or pass implementation if there was. > There’s a dead code elimination pass, but it works with a control flow graph (it remo...
2018 May 25
1
LLVM Pass To Remove Dead Code In A Basic Block
...his approach in the future if creates better advantages. I'm constantly considering alternatives. The simplest / cleanest design wins. Best, Aaron On Fri, May 25, 2018 at 1:41 AM, Dean Michael Berris <dean.berris at gmail.com> wrote: > > > On 25 May 2018, at 03:53, Aaron <acraft at gmail.com> wrote: > > > > Hi Dean, > > > > Thanks for your reply. > > > > That's exactly what I am doing, but I was looking for a default > optimization or pass implementation if there was. > > > > There’s a dead code elimination pass, bu...
2018 May 24
2
LLVM Pass To Remove Dead Code In A Basic Block
Hi Dean, Thanks for your reply. That's exactly what I am doing, but I was looking for a default optimization or pass implementation if there was. I used BasicBlock::splitBasicBlock() but it puts "br" end of original basic block. I tried to delete the br instruction by using eraseFromParent() but it didn't work. I had to rewrite my own splitBasicBlock() by modifying the