Lines Matching refs:callee2caller
121 std::unordered_map<uint32_t, uint32_t>* callee2caller) { in MapParams() argument
124 &callee2caller](const Instruction* cpi) { in MapParams()
126 (*callee2caller)[pid] = call_inst_itr->GetSingleWordOperand( in MapParams()
134 std::unordered_map<uint32_t, uint32_t>* callee2caller) { in CloneAndMapLocals() argument
142 (*callee2caller)[callee_var_itr->result_id()] = newId; in CloneAndMapLocals()
212 std::unordered_map<uint32_t, uint32_t> callee2caller; in GenInlineCode() local
231 MapParams(calleeFn, call_inst_itr, &callee2caller); in GenInlineCode()
235 CloneAndMapLocals(calleeFn, new_vars, &callee2caller); in GenInlineCode()
278 calleeFn->ForEachInst([&new_blocks, &callee2caller, &call_block_itr, in GenInlineCode()
292 assert(callee2caller.count(cpi->result_id()) && in GenInlineCode()
294 uint32_t new_var_id = callee2caller.at(cpi->result_id()); in GenInlineCode()
328 const auto mapItr = callee2caller.find(rid); in GenInlineCode()
329 labelId = (mapItr != callee2caller.end()) ? mapItr->second in GenInlineCode()
335 callee2caller[cpi->result_id()] = labelId; in GenInlineCode()
369 callee2caller[cpi->result_id()] = guard_block_id; in GenInlineCode()
399 callee2caller[cpi->result_id()] = postHeaderId; in GenInlineCode()
409 const auto mapItr = callee2caller.find(valId); in GenInlineCode()
410 if (mapItr != callee2caller.end()) { in GenInlineCode()
475 cp_inst->ForEachInId([&callee2caller, &callee_result_ids, in GenInlineCode()
477 const auto mapItr = callee2caller.find(*iid); in GenInlineCode()
478 if (mapItr != callee2caller.end()) { in GenInlineCode()
484 callee2caller[*iid] = nid; in GenInlineCode()
492 const auto mapItr = callee2caller.find(rid); in GenInlineCode()
494 if (mapItr != callee2caller.end()) { in GenInlineCode()
498 callee2caller[rid] = nid; in GenInlineCode()