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

Method addTarget

ir/instr.cpp:3284–3286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3282
3283
3284void Switch::addTarget(Value &val, const BasicBlock &target) {
3285 targets.emplace_back(&val, &target);
3286}
3287
3288void Switch::replaceTargetWith(const BasicBlock *from, const BasicBlock *to) {
3289 if (default_target == from)

Callers 2

dupMethod · 0.80
visitSwitchInstMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected