I have tried like below static CallInst *call = llvm::CallInst::Create(Fun, "", &Instruction);
but this is not working
(1) Instruction* inst = ...; auto *NewInstruction = new Instruction(..., inst );
Could some one give me an example ?
(2) llvm::CallInst::Create
Could some one give me an example ?