[LLVMdev] Using the LLVM IR builder API

James Courtier-Dutton james.dutton at gmail.com
Sun Jul 6 04:00:18 PDT 2014


Hi,

I have code that generates:
declare i32 @test25b(i64*, i64*, i32, i64*)
Is there any way to get names added to that?

I can get the following when I go on to enter the contents of the nodes:
define i32 @test22a(i64* %param1, i64* %param2, i32 %param3, i64* %param4) {

I.e. I wish names to be added to the declare as well as the define.

Is this possible with LLVM IR ?

Kind Regards

James



More information about the llvm-dev mailing list