Documentation
¶
Index ¶
- func ConvertToSsaForm(function *gen.FunctionInfo) core.ResultList
- func NewConstructionScheme() ssa.SsaConstructionScheme
- type ConstructionScheme
- func (s *ConstructionScheme) NewPhiInstruction(block *gen.BasicBlockInfo, register *gen.RegisterInfo) (ssa.PhiInstruction, core.ResultList)
- func (s *ConstructionScheme) NewRenamedRegister(register *gen.RegisterInfo) *gen.RegisterInfo
- func (s *ConstructionScheme) RenameBasicBlock(block *gen.BasicBlockInfo, reachingSet ssa.ReachingDefinitionsSet) core.ResultList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToSsaForm ¶
func ConvertToSsaForm(function *gen.FunctionInfo) core.ResultList
func NewConstructionScheme ¶
func NewConstructionScheme() ssa.SsaConstructionScheme
Types ¶
type ConstructionScheme ¶
type ConstructionScheme struct {
RenamesPerRegister map[*gen.RegisterInfo]uint
}
func (*ConstructionScheme) NewPhiInstruction ¶
func (s *ConstructionScheme) NewPhiInstruction( block *gen.BasicBlockInfo, register *gen.RegisterInfo, ) (ssa.PhiInstruction, core.ResultList)
func (*ConstructionScheme) NewRenamedRegister ¶
func (s *ConstructionScheme) NewRenamedRegister( register *gen.RegisterInfo, ) *gen.RegisterInfo
func (*ConstructionScheme) RenameBasicBlock ¶
func (s *ConstructionScheme) RenameBasicBlock( block *gen.BasicBlockInfo, reachingSet ssa.ReachingDefinitionsSet, ) core.ResultList
Click to show internal directories.
Click to hide internal directories.