The following IR has “mul4”. I am wondering if "4 " is generated by SSA ?
Also is there any method that gives me “mul4”. I tried getOpcode and getOpcodeName but they are for different purposes.
%mul4 = mul i32 %e0, %ai3
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of janarbek
Subject: [LLVMdev] Getting unique instruction identifier ( Insturction.h)
The following IR has "mul4". I am wondering if "4 " is generated by SSA ?
Yes, since your supplied label ("mul") isn't unique.
Also is there any method that gives me "mul4".
llvm::Value::getName() returns a StringRef for the label.
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.