B2R2


SSABasicBlock Type

Basic block type for an SSA-based CFG (SSACFG). It holds an array of SSAStmtInfos (ProgramPoint * SSA.Stmt).

Constructors

Constructor Description

SSABasicBlock(pp, instrs)

Full Usage: SSABasicBlock(pp, instrs)

Parameters:
Returns: SSABasicBlock
pp : ProgramPoint
instrs : InstructionInfo[]
Returns: SSABasicBlock

Instance members

Instance member Description

this.DomFrontier

Full Usage: this.DomFrontier

Dominance frontier of this block.

this.FakeBlockInfo

Full Usage: this.FakeBlockInfo

Modifiers: abstract

Return the corresponding fake block information. This is only valid for a fake SSABasicBlock.

this.GetLastStmt()

Full Usage: this.GetLastStmt()

Returns: Stmt

Get the last SSA statement of the bblock.

Returns: Stmt

this.ImmDominator

Full Usage: this.ImmDominator

Immediate dominator of this block.

this.InsInfos

Full Usage: this.InsInfos

Returns: InstructionInfo[]

Return the corresponding InstructionInfo array.

Returns: InstructionInfo[]

this.PrependPhi(varKind) (count)

Full Usage: this.PrependPhi(varKind) (count)

Parameters:

Prepend a Phi node to this SSA basic block.

varKind : VariableKind
count : int

this.SSAStmtInfos

Full Usage: this.SSAStmtInfos

Modifiers: abstract

Return the array of SSAStmtInfos.

this.UpdatePPoints()

Full Usage: this.UpdatePPoints()

Update program points. This must be called after updating SSA stmts.