Value* BasicBlock::appendIntConstant(Procedure& proc, Value* likeValue, int64_t value) { return appendIntConstant(proc, likeValue->origin(), likeValue->type(), value); }
Value* BasicBlock::appendBoolConstant(Procedure& proc, Origin origin, bool value) { return appendIntConstant(proc, origin, Int32, value ? 1 : 0); }