The ScopedBuilder class in EDSC is being gradually phased out in favor of core
OpBuilder-based helpers with callbacks. Provide helper functions that are
compatible with edsc::ScopedContext and can be used to create and populate
blocks using callbacks that take block arguments as callback arguments. This
removes the need for edsc::BlockHandle, forward-declaration of Values used
for block arguments and the tag edsc::Append class, leading to noticable
reduction in the verbosity of the code using helper functions.
Remove "eager mode" construction tests that are only relevant to the
BlockBuilder-based approach.
edsc::BlockHandle and edsc::BlockBuilder are now deprecated and will be
removed soon.
Can you just pass regionBuilder directly?