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

Method removeValue

ir/instr.cpp:3073–3081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3071}
3072
3073void Phi::removeValue(const string &BB_name) {
3074 for (auto I = values.begin(); I != values.end(); ) {
3075 if (I->second == BB_name) {
3076 I = values.erase(I);
3077 } else {
3078 ++I;
3079 }
3080 }
3081}
3082
3083void Phi::removeValue(const Value *value) {
3084 for (auto I = values.begin(); I != values.end(); ) {

Callers 2

remove_unreachable_bbsFunction · 0.80
function.cppFile · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected