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

Method addConstant

ir/function.cpp:246–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void Function::addConstant(unique_ptr<Value> &&c) {
247 constants.emplace_back(std::move(c));
248}
249
250Value* Function::getGlobalVar(string_view name) const {
251 for (auto &c : constants) {

Callers 6

alive_parser.cppFile · 0.80
syncDataWithSrcMethod · 0.80
runMethod · 0.80
make_intconstFunction · 0.80
get_poisonFunction · 0.80
get_operandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected