Displaying 3 results from an estimated 3 matches for "padefic".
Did you mean:
pacific
2014 Jun 11
2
[LLVMdev] A question about running Clang after LLVM passes
...llo,
Clang is used before LLVM to generate IR, and is it possible to use it in a reverse way, i.e., after running LLVM passes, we can run clang again to use LLVM pass results? If so, should I write clang functions in LLVM passes, or write LLVM pass requirements in clang?
Thank you in advance!
Padefic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140611/206514e9/attachment.html>
2014 Jun 12
2
[LLVMdev] A question about running Clang after LLVM passes
However, LLVM can output using the C back end ... which you can then feed
into Clang.
On Fri, Jun 13, 2014 at 3:58 AM, Eli Bendersky <eliben at google.com> wrote:
>
>
>
> On Wed, Jun 11, 2014 at 12:41 AM, Padefic <padefic at 126.com> wrote:
>
>> Hello,
>>
>> Clang is used before LLVM to generate IR, and is it possible to use it in
>> a reverse way, i.e., after running LLVM passes, we can run clang again to
>> use LLVM pass results? If so, should I write clang functions...
2014 Jun 13
2
[LLVMdev] A question about running Clang after LLVM passes
On 6/12/14, 9:29 PM, Padefic wrote:
> I am doing a research project. I want to run the DSA pass of LLVM, and
> use its result in Clang for automatic fixing. I have to use Clang
> because the line numbers in Clang are accurate so that I can change
> code accordingly, while LLVM IR seems to lose the information....