Lines Matching defs:IndCallBlock
753 BinaryBasicBlock &IndCallBlock, const MCInst &CallInst,
756 BinaryFunction &Function = *IndCallBlock.getFunction();
781 while (TailInst + 1 < &(*IndCallBlock.end()) &&
785 InstructionListType MovedInst = IndCallBlock.splitInstructions(&CallInst);
791 : IndCallBlock.getInputOffset();
793 IndCallBlock.eraseInstructions(MethodFetchInsns.begin(),
795 if (IndCallBlock.empty() ||
797 IndCallBlock.addInstructions(ICPcode.front().second.begin(),
800 IndCallBlock.replaceInstruction(std::prev(IndCallBlock.end()),
802 IndCallBlock.addInstructions(TailInsts.begin(), TailInsts.end());
826 IndirectCallPromotion::fixCFG(BinaryBasicBlock &IndCallBlock,
830 BinaryFunction &Function = *IndCallBlock.getFunction();
836 uint64_t TotalCount = IndCallBlock.getKnownExecutionCount();
861 IndCallBlock.moveAllSuccessorsTo(NewIndCallBlock);
874 BinaryBasicBlock *SourceBB = I ? NewBBs[I - 1].get() : &IndCallBlock;
899 assert(NewBBs.size() % 2 == 1 || IndCallBlock.succ_empty());
911 IndCallBlock.moveAllSuccessorsTo(MergeBlock);
916 IndCallBlock.addSuccessor(NewBBs[1].get(), TotalCount);
917 IndCallBlock.addSuccessor(NewBBs[0].get(), ScaledBBI[0]);
921 assert(TotalCount <= IndCallBlock.getExecutionCount() ||
953 Function.insertBasicBlocks(&IndCallBlock, std::move(NewBBs));