[llvm-dev] What does "preds" mean in a .ll file?
Bhatu via llvm-dev
llvm-dev at lists.llvm.org
Fri Jan 18 23:02:02 PST 2019
It's a list of all the predecessor basic blocks for this particular basic
block.
On Sat, Jan 19, 2019 at 12:27 PM Peng Yu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> I see things like this. What does it mean? Is it documented somewhere?
> Thanks.
>
> ; preds = %for.body
>
> https://llvm.org/docs/LangRef.html
>
> ; <label>:91: ; preds = %88
> %92 = load i8**, i8*** @glob_complete_word.matches, align 8, !dbg !99798
> %93 = load i32, i32* @glob_complete_word.ind, align 4, !dbg !99799
> %94 = sext i32 %93 to i64, !dbg !99798
> %95 = getelementptr inbounds i8*, i8** %92, i64 %94, !dbg !99798
> %96 = load i8*, i8** %95, align 8, !dbg !99798
> br label %98, !dbg !99797
>
> ; <label>:97: ; preds = %88
> br label %98, !dbg !99797
>
>
> --
> Regards,
> Peng
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
--
Regards
Bhatu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190119/9aaf19ce/attachment.html>
More information about the llvm-dev
mailing list