Lines Matching refs:Instr
342 InstCall *Instr) { in instrumentCall() argument
344 llvm::dyn_cast<ConstantRelocatable>(Instr->getCallTarget()); in instrumentCall()
356 InstCall::create(Context.getNode()->getCfg(), Instr->getNumArgs(), in instrumentCall()
357 Instr->getDest(), NewFunc, Instr->isTailcall()); in instrumentCall()
358 for (SizeT I = 0, Args = Instr->getNumArgs(); I < Args; ++I) in instrumentCall()
359 NewCall->addArg(Instr->getArg(I)); in instrumentCall()
361 Instr->setDeleted(); in instrumentCall()
365 InstLoad *Instr) { in instrumentLoad() argument
366 Operand *Src = Instr->getSourceAddress(); in instrumentLoad()
369 Instr->getDest(), instrumentReloc(Reloc)); in instrumentLoad()
370 Instr->setDeleted(); in instrumentLoad()
372 Instr = NewLoad; in instrumentLoad()
376 instrumentAccess(Context, Instr->getSourceAddress(), in instrumentLoad()
377 typeWidthInBytes(Instr->getDest()->getType()), Func); in instrumentLoad()
381 InstStore *Instr) { in instrumentStore() argument
382 Operand *Data = Instr->getData(); in instrumentStore()
385 Context.getNode()->getCfg(), instrumentReloc(Reloc), Instr->getAddr()); in instrumentStore()
386 Instr->setDeleted(); in instrumentStore()
388 Instr = NewStore; in instrumentStore()
392 instrumentAccess(Context, Instr->getAddr(), in instrumentStore()
393 typeWidthInBytes(Instr->getData()->getType()), Func); in instrumentStore()