Lines Matching refs:inst
176 virtual bool InstrumentInstruction(llvm::Instruction *inst) = 0;
182 void RegisterInstruction(llvm::Instruction &inst) { in RegisterInstruction() argument
183 m_to_instrument.push_back(&inst); in RegisterInstruction()
318 bool InstrumentInstruction(llvm::Instruction *inst) override { in InstrumentInstruction() argument
322 PrintValue(inst).c_str()); in InstrumentInstruction()
330 if (llvm::LoadInst *li = dyn_cast<llvm::LoadInst>(inst)) in InstrumentInstruction()
332 else if (llvm::StoreInst *si = dyn_cast<llvm::StoreInst>(inst)) in InstrumentInstruction()
340 new BitCastInst(dereferenced_ptr, GetI8PtrTy(), "", inst); in InstrumentInstruction()
350 CallInst::Create(m_valid_pointer_check_func, args, "", inst); in InstrumentInstruction()
386 bool InstrumentInstruction(llvm::Instruction *inst) override { in InstrumentInstruction() argument
387 CallInst *call_inst = dyn_cast<CallInst>(inst); in InstrumentInstruction()
402 switch (msgSend_types[inst]) { in InstrumentInstruction()
431 new BitCastInst(target_object, GetI8PtrTy(), "", inst); in InstrumentInstruction()
442 CallInst::Create(m_objc_object_check_func, args, "", inst); in InstrumentInstruction()
465 static llvm::Function *GetCalledFunction(llvm::CallInst *inst) { in GetCalledFunction() argument
466 return GetFunction(inst->getCalledOperand()); in GetCalledFunction()