Displaying 3 results from an estimated 3 matches for "initializehosttarget".
2010 Jul 19
7
[LLVMdev] MC-JIT
...his 2
particular hooks ?
Currently MCJIT has one unittest and the binary size is quite big
(~110MB in debug...) because before using the MC framework we need to
call "InitializeAllTargets()" and friends (same as llc does). For the
JIT, we need only the "host" backend and "InitializeHostTarget()"-like
method doesn't seem to exist. Do you have an opinion on this ?
Attached you will find the patch introducing the first MCJIT draft.
Can you comment on this ?
Jan and Olivier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc_jit.patch
Type: tex...
2010 Jul 20
0
[LLVMdev] MC-JIT
...;
>
> Currently MCJIT has one unittest and the binary size is quite big
> (~110MB in debug...) because before using the MC framework we need to
> call "InitializeAllTargets()" and friends (same as llc does). For the
> JIT, we need only the "host" backend and "InitializeHostTarget()"-like
> method doesn't seem to exist. Do you have an opinion on this ?
>
> Attached you will find the patch introducing the first MCJIT draft.
> Can you comment on this ?
>
> Jan and Olivier.
>
> _______________________________________________
> LLVM Developers...
2010 Jul 20
2
[LLVMdev] MC-JIT
...of tree.
Ok. Sorry for the too big patch. Attached is the first patch adding
only 2 hooks on TargetMachine and on MCAssembler. Style should be LLVM
compliant. Apply it with "patch -p0".
> You shouldn't need to initialize all targets to use MC, you should be
> able to just use InitializeHostTarget(). If not, its probably a bug
> somewhere.
Ah. Sorry never mind ! I finally found the "InitializeNativeTarget"
method which do what I need.
Olivier.
On Tue, Jul 20, 2010 at 7:06 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
> Some boring style comments:
> - wha...