# loki.transformations.tests.test_transform_region

Functions

`test_transform_region_hoist`(tmp_path, frontend) | A very simple hoisting example
`test_transform_region_hoist_collapse`(...) | Use collapse with region-hoist.
`test_transform_region_hoist_inlined_pragma`(...) | Hoisting when pragmas are potentially inlined into other nodes.
`test_transform_region_hoist_multiple`(...) | Test hoisting with multiple groups and multiple regions per group
`test_transform_region_hoist_promote`(...) | Use collapse with region-hoist.

test_transform_region_hoist(tmp_path, frontend)

  A very simple hoisting example

test_transform_region_hoist_inlined_pragma(tmp_path, frontend)

  Hoisting when pragmas are potentially inlined into other nodes.

test_transform_region_hoist_multiple(tmp_path, frontend)

  Test hoisting with multiple groups and multiple regions per group

test_transform_region_hoist_collapse(tmp_path, frontend)

  Use collapse with region-hoist.

test_transform_region_hoist_promote(tmp_path, frontend)

  Use collapse with region-hoist.