MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / targets

Method targets

ir/function.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89JumpInstr::it_helper BasicBlock::targets() const {
90 if (empty())
91 return {};
92 if (auto jump = dynamic_cast<JumpInstr*>(m_instrs.back().get()))
93 return jump->targets();
94 return {};
95}
96
97void BasicBlock::replaceTargetWith(const BasicBlock *from,
98 const BasicBlock *to) {

Callers 9

errorFunction · 0.45
remove_unreachable_bbsFunction · 0.45
preprocessMethod · 0.45
execFunction · 0.45
top_sortFunction · 0.45
unrollMethod · 0.45
nextMethod · 0.45
DenseDataFlowMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected