Lines Matching refs:hsc_env

142 mkPartialIface hsc_env mod_details
158 = mkIface_ hsc_env this_mod hsc_src used_th deps rdr_env fix_env warns hpc_info self_trust
164 mkFullIface hsc_env partial_iface = do function
167 addFingerprints hsc_env partial_iface
170 dumpIfSet_dyn (hsc_dflags hsc_env) Opt_D_dump_hi "FINAL INTERFACE" (pprModIface full_iface)
182 mkIfaceTc hsc_env safe_mode mod_details
197 map lpModule (cachedPlugins (hsc_dflags hsc_env))
199 (thisInstalledUnitId (hsc_dflags hsc_env))
211 usages <- mkUsageInfo hsc_env this_mod (imp_mods imports) used_names
216 let partial_iface = mkIface_ hsc_env
224 mkFullIface hsc_env partial_iface
237 mkIface_ hsc_env
254 let semantic_mod = canonicalizeHomeModule (hsc_dflags hsc_env) (moduleName this_mod)
322 dflags = hsc_dflags hsc_env
355 mkHashFun hsc_env eps name
361 dflags = hsc_dflags hsc_env
362 hpt = hsc_HPT hsc_env
375 iface <- initIfaceLoad hsc_env . withException
414 addFingerprints hsc_env iface0
416 eps <- hscEPS hsc_env
478 global_hash_fn = mkHashFun hsc_env eps
590 dep_orphan_hashes <- getOrphanHashes hsc_env orph_mods
660 plugin_hash <- fingerprintPlugins hsc_env
712 dflags = hsc_dflags hsc_env
749 getOrphanHashes hsc_env mods = do function
750 eps <- hscEPS hsc_env
752 hpt = hsc_HPT hsc_env
758 iface <- initIfaceLoad hsc_env . withException
1154 checkOldIface hsc_env mod_summary source_modified maybe_iface
1155 = do let dflags = hsc_dflags hsc_env
1160 initIfaceCheck (text "checkOldIface") hsc_env $
1161 check_old_iface hsc_env mod_summary source_modified maybe_iface
1170 check_old_iface hsc_env mod_summary src_modified maybe_iface
1171 = let dflags = hsc_dflags hsc_env
1193 | gopt Opt_ForceRecomp (hsc_dflags hsc_env) = True
1223 Just iface -> checkVersions hsc_env mod_summary iface
1240 checkVersions hsc_env mod_summary iface
1247 ; if moduleUnitId (mi_module iface) /= thisPackage (hsc_dflags hsc_env)
1249 ; recomp <- checkFlagHash hsc_env iface
1251 ; recomp <- checkOptimHash hsc_env iface
1253 ; recomp <- checkHpcHash hsc_env iface
1261 ; recomp <- checkDependencies hsc_env mod_summary iface
1263 ; recomp <- checkPlugins hsc_env iface
1285 this_pkg = thisPackage (hsc_dflags hsc_env)
1300 fingerprintPlugins hsc_env = do function
1301 fingerprintPlugins' $ plugins (hsc_dflags hsc_env)
1390 checkFlagHash hsc_env iface = do function
1392 new_hash <- liftIO $ fingerprintDynFlags (hsc_dflags hsc_env)
1403 checkOptimHash hsc_env iface = do function
1405 new_hash <- liftIO $ fingerprintOptFlags (hsc_dflags hsc_env)
1409 | gopt Opt_IgnoreOptimChanges (hsc_dflags hsc_env)
1418 checkHpcHash hsc_env iface = do function
1420 new_hash <- liftIO $ fingerprintHpcFlags (hsc_dflags hsc_env)
1424 | gopt Opt_IgnoreHpcChanges (hsc_dflags hsc_env)
1463 checkDependencies hsc_env summary iface
1482 this_pkg = thisPackage (hsc_dflags hsc_env)
1485 find_res <- liftIO $ findImportedModule hsc_env mod (mb_pkg)