parameters: (self, size_vars, scope, loc)
return_statement: return index_vars, loopnests
docstring: Create loop index variables and build LoopNest objects for a parfor.
docstring_summary: Create loop index variables and build LoopNest objects for a parfor.
docstring_tokens: Create loop index variables and build LoopNest objects for a parfor .
function: def _mk_parfor_loops(self, size_vars, scope, loc):
          """
          Create loop index variables and build LoopNest objects for a parfor.
          """
          loopnests = []
          index_vars = []
          for size_var in size_vars:
              index_var = ir.Var(scope, mk_unique_var("parfor_index"), loc)
              index_vars.append(index_var)
              self.typemap[index_var.name] = types.uintp
              loopnests.append(LoopNest(index_var, 0, size_var, 1))
          return index_vars, loopnests
function_tokens: def _mk_parfor_loops ( self , size_vars , scope , loc ) : loopnests = [ ] index_vars = [ ] for size_var in size_vars : index_var = ir . Var ( scope , mk_unique_var ( "parfor_index" ) , loc ) index_vars . append ( index_var ) self . typemap [ index_var . name ] = types . uintp loopnests . append ( LoopNest ( index_var , 0 , size_var , 1 ) ) return index_vars , loopnests