<commit_before>{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
module Futhark.Optimise.CSE
       ( performCSE
       , CSEInOp
       )
       where

import Control.Applicative
import Control.Monad.Reader
import qualified Data.HashMap.Lazy as HM
import qualified Data.HashSet as HS
import qualified Data.Map.Lazy as M

import Prelude

import Futhark.Analysis.Alias
import Futhark.Representation.AST<commit_msg>Import Data.Monoid for the benefit of old GHCs.<commit_after>{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
module Futhark.Optimise.CSE
       ( performCSE
       , CSEInOp
       )
       where

import Control.Applicative
import Control.Monad.Reader
import qualified Data.HashMap.Lazy as HM
import qualified Data.HashSet as HS
import qualified Data.Map.Lazy as M
import Data.Monoid

import Prelude

import Futhark.Analysis.Alias
import Futhark.Representation.AST
{'fraction_non_alphanumeric': 0.08496732026143791, 'fraction_numerical': 0.0, 'mean_word_length': 3.986046511627907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5496365', 'n_tokens_mistral': 365, 'n_tokens_neox': 355, 'n_words': 86}