[LLVMdev] Accessing instruction arguments

Chris Lattner sabre at nondot.org
Fri Sep 27 18:17:00 PDT 2002


> } the right way to do it, or am I missing something?
> }
> Check out llvm/include/llvm/User.h line 25 or so...

Yup, more specifically, you want the getOperand(n) and getNumOperands()
methods...

-Chris

http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list