* The insertAssemblyInstructionsBefore function takes in a group of (semicolon-seperated) assembly statements and inserts them into the
* The insertAssemblyInstructionsBefore function takes in a group of (semicolon/newline-seperated) assembly statements and other template parameters, and insert them into the
* program before the "before" instruction.
* Param: firp -- The current FileIR_t object
* before -- The instruction that the new instructions will be inserted before
* instructions -- The assembly to be inserted. Typical assembly formatting applies: instructions
* templateins -- The assembly template to be inserted. Typical assembly formatting applies: instructions
* start on new lines, defined labels are allowed. For x86, the format must be in NASM style assembly.
* templateParams -- The template arguments to be substituted into the template string.
* Returns: A vector of the newly inserted instructions.
* Side Effect: The new instructions are inserted into the IRDB data structures.
* The insertAssemblyInstructionsAfter function takes in a group of (semicolon-seperated) assembly statements and inserts them into the
* The insertAssemblyInstructionsAfter function takes in a group of (semicolon/newline-seperated) assembly statements and other template parameters, and insert them into the
* program after the "after" instruction.
* Param: firp -- The current FileIR_t object
* after -- The instruction that the new instructions will be inserted after
* instructions -- The assembly to be inserted. Typical assembly formatting applies: instructions
* templateins -- The assembly template to be inserted. Typical assembly formatting applies: instructions
* start on new lines, defined labels are allowed. For x86, the format must be in NASM style assembly.
* templateParams -- The template arguments to be substituted into the template string.
* Returns: A vector of the newly inserted instructions.
* Side Effect: The new instructions are inserted into the IRDB data structures.