plutus-core-1.68.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

UntypedPlutusCore.Transform.Certify.Trace

Synopsis

Documentation

data CertifiedOptStage Source #

Datatype which represents optimization passes which are also certified.

This means that these passes are formalized as part of the certifier, and adding a new pass constructor to this type means that it is expected the pass will be also certified in the same PR.

WARNING: the order of the constructors MUST be the same as the order of their counterparts in Trace.

Instances

Instances details
Generic CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Associated Types

type Rep CertifiedOptStageTypeType Source #

Show CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

NFData CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Methods

rnfCertifiedOptStage → () Source #

type Rep CertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

type Rep CertifiedOptStage = D1 ('MetaData "CertifiedOptStage" "UntypedPlutusCore.Transform.Certify.Trace" "plutus-core-1.68.0.0-inplace" 'False) (((C1 ('MetaCons "FloatDelay" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "ForceDelay" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "ForceCaseDelay" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "Inline" 'PrefixI 'False) (U1TypeType))) :+: ((C1 ('MetaCons "CSE" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "ApplyToCase" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "CaseReduce" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "LetFloatOut" 'PrefixI 'False) (U1TypeType))))

data UncertifiedOptStage Source #

Datatype which represents optimization passes which are not yet certified.

WARNING: the order of the constructors MUST be the same as the order of their counterparts in Trace.

IMPORTANT: if you add a new pass, or modify an existing pass, without also modifying the certifier in the same PR, you must add/move its corresponding constructor to this type. Please also open an issue at https://github.com/IntersectMBO/plutus/issues.

Instances

Instances details
Generic UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Associated Types

type Rep UncertifiedOptStageTypeType Source #

Show UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

NFData UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

Methods

rnfUncertifiedOptStage → () Source #

type Rep UncertifiedOptStage Source # 
Instance details

Defined in UntypedPlutusCore.Transform.Certify.Trace

type Rep UncertifiedOptStage = D1 ('MetaData "UncertifiedOptStage" "UntypedPlutusCore.Transform.Certify.Trace" "plutus-core-1.68.0.0-inplace" 'False) (C1 ('MetaCons "CaseOfCase" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "ConstantFolding" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "PolyBuiltin" 'PrefixI 'False) (U1TypeType)))

data Optimization name uni fun a Source #

Constructors

Optimization 

Fields

newtype OptimizerTrace name uni fun a Source #

Constructors

OptimizerTrace 

Fields

allASTsOptimizerTrace name uni fun a → [Term name uni fun a] Source #