Lines Matching defs:inst
167 /// \param[in] inst
172 virtual bool InstrumentInstruction(llvm::Instruction *inst) = 0;
176 /// \param[in] inst
178 void RegisterInstruction(llvm::Instruction &inst) {
179 m_to_instrument.push_back(&inst);
313 bool InstrumentInstruction(llvm::Instruction *inst) override {
317 PrintValue(inst).c_str());
325 if (llvm::LoadInst *li = dyn_cast<llvm::LoadInst>(inst))
327 else if (llvm::StoreInst *si = dyn_cast<llvm::StoreInst>(inst))
334 inst->getIterator());
370 bool InstrumentInstruction(llvm::Instruction *inst) override {
371 CallInst *call_inst = dyn_cast<CallInst>(inst);
386 switch (msgSend_types[inst]) {
421 CallInst::Create(m_objc_object_check_func, args, "", inst->getIterator());
444 static llvm::Function *GetCalledFunction(llvm::CallInst *inst) {
445 return GetFunction(inst->getCalledOperand());