Refactors the following pairs of helper hooks: * `dynamicallyInsertSubVector` + `staticallyInsertSubVector` * `dynamicallyExtractSubVector` + `staticallyExtractSubVector` These hooks are very similar, so I have unified the variable names and various conditions to make the actual differences clearer.
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.