stacks

package
v0.0.0-...-0fc56a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockMap

type BlockMap map[int]struct{}

func NewBlockMap

func NewBlockMap() *BlockMap

func (*BlockMap) Add

func (s *BlockMap) Add(v *ssa.BasicBlock)

func (*BlockMap) Contains

func (s *BlockMap) Contains(v int) bool

func (*BlockMap) Remove

func (s *BlockMap) Remove(v *ssa.BasicBlock)

type CallCommonStack

type CallCommonStack []*ssa.CallCommon

func NewCallCommonStack

func NewCallCommonStack() *CallCommonStack

func (*CallCommonStack) GetItems

func (s *CallCommonStack) GetItems() []*ssa.CallCommon

func (*CallCommonStack) Len

func (s *CallCommonStack) Len() int

func (*CallCommonStack) MergeStacks

func (s *CallCommonStack) MergeStacks(ns *CallCommonStack)

func (*CallCommonStack) Pop

func (s *CallCommonStack) Pop() *ssa.CallCommon

func (*CallCommonStack) Push

func (s *CallCommonStack) Push(v *ssa.CallCommon)

type FunctionMap

type FunctionMap map[*ssa.Function]struct{}

type FunctionStack

type FunctionStack []*ssa.Function

func (*FunctionStack) Copy

func (s *FunctionStack) Copy() *FunctionStack

func (*FunctionStack) GetItems

func (s *FunctionStack) GetItems() []*ssa.Function

func (*FunctionStack) MergeStacks

func (s *FunctionStack) MergeStacks(items *FunctionStack)

func (*FunctionStack) Pop

func (s *FunctionStack) Pop() *ssa.Function

func (*FunctionStack) Push

func (s *FunctionStack) Push(v *ssa.Function)

type FunctionStackWithMap

type FunctionStackWithMap struct {
	FunctionMap FunctionMap
	// contains filtered or unexported fields
}

func NewFunctionStackWithMap

func NewFunctionStackWithMap() *FunctionStackWithMap

func (*FunctionStackWithMap) Contains

func (s *FunctionStackWithMap) Contains(v *ssa.Function) bool

func (*FunctionStackWithMap) Copy

func (*FunctionStackWithMap) GetItems

func (s *FunctionStackWithMap) GetItems() *FunctionStack

func (*FunctionStackWithMap) Iter

func (s *FunctionStackWithMap) Iter() []*ssa.Function

func (*FunctionStackWithMap) Merge

func (*FunctionStackWithMap) Pop

func (s *FunctionStackWithMap) Pop() *ssa.Function

func (*FunctionStackWithMap) Push

func (s *FunctionStackWithMap) Push(v *ssa.Function)

type IntMap

type IntMap map[int]struct{}

type IntStack

type IntStack []int

func (*IntStack) Copy

func (s *IntStack) Copy() *IntStack

func (*IntStack) GetItems

func (s *IntStack) GetItems() []int

func (*IntStack) MergeStacks

func (s *IntStack) MergeStacks(items *IntStack)

func (*IntStack) Pop

func (s *IntStack) Pop() int

func (*IntStack) Push

func (s *IntStack) Push(v int)

type IntStackWithMap

type IntStackWithMap struct {
	// contains filtered or unexported fields
}

func NewEmptyIntStackWithMap

func NewEmptyIntStackWithMap() *IntStackWithMap

func NewIntStackWithMap

func NewIntStackWithMap(stack IntStack, intMap IntMap) *IntStackWithMap

func (*IntStackWithMap) Contains

func (s *IntStackWithMap) Contains(v int) bool

func (*IntStackWithMap) Copy

func (s *IntStackWithMap) Copy() *IntStackWithMap

func (*IntStackWithMap) GetItems

func (s *IntStackWithMap) GetItems() *IntStack

func (*IntStackWithMap) Iter

func (s *IntStackWithMap) Iter() []int

func (*IntStackWithMap) Merge

func (s *IntStackWithMap) Merge(sn *IntStackWithMap)

func (*IntStackWithMap) Pop

func (s *IntStackWithMap) Pop() int

func (*IntStackWithMap) Push

func (s *IntStackWithMap) Push(v int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL