<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div>I have encountered a weird case that I cannot understand. Inside the visitStoreInst I have a reference (F) to the function png_set_mem_fn. If I do F->dump() i can set the IR of that function correctly e.g.:</div><div><br></div><div>; Function Attrs: nounwind uwtable<br>define void @png_set_mem_fn(%struct.png_struct_def.68* noalias %png_ptr, i8* %mem_ptr, i8* (%struct.png_struct_def.68*, i64)* %malloc_fn, void (%struct.png_struct_def.68*, i8*)* %free_fn) #5 {<br>  ...<br>}<br></div><div>The problem is that when I do F->getNumOperands() I have 0 as result.</div><div><br></div><div>Can you explain me why please?</div><div><br></div><div>Thanks<br></div></div></div></div>