Displaying 3 results from an estimated 3 matches for "radeon_llvm_emit".
2013 May 13
0
[LLVMdev] [llvm-c]
...tTarget(Target);
> end;
>
I don't see any obvious problems here, though someone else might.
What exactly is the problem you are seeing? Is LLVMGetFirstTarget
returning NULL?
You may want to take a look at this code:
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeon/radeon_llvm_emit.c
It is a pretty good example of using the C API for accessing the target
registry. However, if you want to test this code directly, I would
recommend replacing the r600 target triple with your native
architecture, because the R600 backend is not built by default.
-Tom
> By debugging the LLV...
2013 May 14
1
[LLVMdev] [llvm-c]
...nt
calls to LLVMGetNextTarget all return the very same pointer (much
lower). If I query LLVMGetTargetName and LLVMGetTargetDescription I got
an empty string and a null pointer.
> You may want to take a look at this code:
> http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/radeon/radeon_llvm_emit.c
> It is a pretty good example of using the C API for accessing the target
> registry. However, if you want to test this code directly, I would
> recommend replacing the r600 target triple with your native
> architecture, because the R600 backend is not built by default.
I've don...
2013 May 11
2
[LLVMdev] [llvm-c]
Hello,
a few days ago, I was trying to access the LLVM target registry via the
LLVM-C interface. Unfortunately I can't seem to get some useful
information out of it.
Despite the fact that the following code is written in Pascal, can you
please tell me if I have done something wrong here?
// initialize all targets / target information
LLVMInitializeAllTargets;
LLVMInitializeAllTargetInfos;