[LLVMdev] Inserting Instructions After Instructions

John Criswell criswell at cs.uiuc.edu
Wed Dec 5 13:14:32 PST 2007


Dear All,

Given a pointer to an instruction, what is the easiest way to insert one
or more new instructions after that instructions?  We used to find the
next instruction using Instruction::getNext(), but this method seems to
have been made private now.

-- John T.




More information about the llvm-dev mailing list