Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11089)

Issue 91086: Add EngineBuilder to unify the ExecutionEngine creation API. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by Reid Kleckner
Modified:
14 years, 9 months ago
Reviewers:
Jeffrey Yasskin
Base URL:
http://llvm.org/svn/llvm-project/llvm/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Fixed up some silly bugs and compile errors. #

Total comments: 24

Patch Set 3 : Responded to review and update users and docs mentioning old API. #

Patch Set 4 : Fixed bugs and build errors. #

Total comments: 2

Patch Set 5 : Responded to Jeff and Evan. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -93 lines) Patch
M bindings/ocaml/executionengine/llvm_executionengine.mli View 3 chunks +4 lines, -4 lines 0 comments Download
M docs/CMake.html View 1 chunk +1 line, -1 line 0 comments Download
M docs/tutorial/LangImpl4.html View 2 chunks +2 lines, -2 lines 0 comments Download
M docs/tutorial/LangImpl5.html View 1 chunk +1 line, -1 line 0 comments Download
M docs/tutorial/LangImpl6.html View 1 chunk +1 line, -1 line 0 comments Download
M docs/tutorial/LangImpl7.html View 1 chunk +1 line, -1 line 0 comments Download
M examples/BrainF/BrainFDriver.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M examples/Fibonacci/fibonacci.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M examples/HowToUseJIT/HowToUseJIT.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M examples/Kaleidoscope/toy.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M examples/ParallelJIT/ParallelJIT.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M include/llvm/ExecutionEngine/ExecutionEngine.h View 1 2 3 4 3 chunks +99 lines, -4 lines 0 comments Download
M lib/ExecutionEngine/ExecutionEngine.cpp View 1 2 3 4 2 chunks +52 lines, -13 lines 0 comments Download
M lib/ExecutionEngine/ExecutionEngineBindings.cpp View 3 4 3 chunks +13 lines, -6 lines 0 comments Download
M lib/ExecutionEngine/Interpreter/Interpreter.h View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M lib/ExecutionEngine/Interpreter/Interpreter.cpp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M lib/ExecutionEngine/JIT/JIT.h View 1 2 2 chunks +15 lines, -9 lines 0 comments Download
M lib/ExecutionEngine/JIT/JIT.cpp View 1 2 1 chunk +23 lines, -6 lines 0 comments Download
M lib/ExecutionEngine/JIT/TargetSelect.cpp View 1 2 2 chunks +4 lines, -15 lines 0 comments Download
M tools/lli/lli.cpp View 3 4 2 chunks +9 lines, -2 lines 0 comments Download
M unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M unittests/ExecutionEngine/JIT/JITTest.cpp View 1 2 4 chunks +13 lines, -10 lines 0 comments Download

Messages

Total messages: 3
Jeffrey Yasskin
http://codereview.appspot.com/91086/diff/1001/1002 File include/llvm/ExecutionEngine/ExecutionEngine.h (right): http://codereview.appspot.com/91086/diff/1001/1002#newcode37 Line 37: class ModuleProvider; With the ModuleProvider #include, you don't ...
14 years, 9 months ago (2009-07-09 04:52:48 UTC) #1
Reid Kleckner
I went through and changed uses of the old API to the new API. In ...
14 years, 9 months ago (2009-07-14 03:29:38 UTC) #2
Jeffrey Yasskin
14 years, 9 months ago (2009-07-14 03:43:55 UTC) #3
LGTM. Please send it on to llvm-commits. Thanks!

http://codereview.appspot.com/91086/diff/1040/50
File include/llvm/ExecutionEngine/ExecutionEngine.h (right):

http://codereview.appspot.com/91086/diff/1040/50#newcode422
Line 422: EngineBuilder &setEngineToCreate(EngineToCreate w) {
Each of these methods should document its default. We can see that by looking at
the definition of init(), but people also use the doxygen.

http://codereview.appspot.com/91086/diff/1040/66
File lib/ExecutionEngine/ExecutionEngine.cpp (right):

http://codereview.appspot.com/91086/diff/1040/66#newcode401
Line 401: EngineBuilder builder(M);
You could put this all on one line.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b