[LLVMdev] llvm inline ASM howto?

David Blaikie dblaikie at gmail.com
Wed Aug 13 08:30:04 PDT 2014


A useful tool/technique is to simply ask "What Would Clang Do?" and
answer that question by running clang with -emit-llvm -S and
inspecting the resulting textual LLVM IR  - gives you a pretty good
idea of how things are (or can be) encoded into LLVM IR from arbitrary
{Objective-,}C{++,}

On Wed, Aug 13, 2014 at 6:03 AM, jiangshan <710806594 at qq.com> wrote:
> I'm new to llvm.
> I figured out that the llvm front-end translate the high level language to
> IR. the back-end translate the IR to machine ASM or machine code.
> then, if their is inline ASM ‍in the high level language, what will the
> frond-end do? will the ASM ‍be translated to llvm IR?
> will the JIT still work?
> how the back-end recognize the inline asm?
> thanks.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list