[llvm-dev] Arguments name IR LLVM

Hans Wennborg via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 29 04:39:01 PDT 2019


Hi Mohamed,

On Mon, Jul 29, 2019 at 1:09 PM mohamed messelka via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Hi everybody,
>
> I want to read the name of the arguments of fucntion IR LLVM, I have the following function define:
>
> define void @vecadd(i32, float* nocapture readonly, float* nocapture readonly, float* nocapture) local_unnamed_addr #0 {

The arguments are unnamed, which means they will be implicitly named %0, %1, %2.

Does that help?

Thanks,
Hans


More information about the llvm-dev mailing list