code: def fence(self, ordering, targetscope=None, name=''):
          
          inst = instructions.Fence(self.block, ordering, targetscope, name=name)
          self._insert(inst)
          return inst
docs: Add a memory barrier, preventing certain reorderings of load and/or store accesses with
          respect to other processors and devices.