[LLVMdev] how to get the InvodInst 's Operand Name?

zhengjian zhang zhangzhengjian at gmail.com
Thu Mar 26 01:53:16 PDT 2009


HI all,


here is a llvm IR :

invoke void @__cxa_throw(i8* %7, i8* bitcast
(%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*), void (i8*)*
null)
noreturn         to label %invcont unwind label %lpad

say I want to get the Invoke's Operand's  name,  I use
getOperand(i)->getName(), it can work for that the Operand hasname,
but  some Operand  hasn't name,
So, My problem is how can i get  all the Operand 's name ?



zhangzw



More information about the llvm-dev mailing list