jruby/docs BETA
Navigation
org.jruby.ir.dataflow.analyses 10
C DefinedVariableNode
C DefinedVariablesProblem
C LiveVariableNode
C LiveVariablesProblem
C LoadLocalVarPlacementNode
C LoadLocalVarPlacementProblem
C StoreLocalVarPlacementNode
C StoreLocalVarPlacementProblem
C UnboxableOpsAnalysisNode
C UnboxableOpsAnalysisProblem
StoreLocalVarPlacementNode — members 11+
C new(prob, n)
M add_stores(var_rename_map, exc_target_dirty_vars) boolean
C apply_pre_meet_handler()
C apply_transfer_function(i)
C build_data_flow_vars(i)
C compute_meet(e, pred)
C finalize_solution()
C init()
C init_solution()
M solution_changed() boolean
M to_string() String
from FlowGraphNode
M bb() BasicBlock
C build_data_flow_vars()
M cfg() CFG
C compute_data_flow_info(work_list, bb_set)
C compute_data_flow_info_backward(work_list, bb_set)
C compute_data_flow_info_forward(work_list, bb_set)
M exception_target_node() U
M has_exceptions_rescued?() boolean

org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementNode

Constructors

new

new ( StoreLocalVarPlacementProblem prob, BasicBlock n )
Java: <init>(org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementProblem prob, org.jruby.ir.representations.BasicBlock n)

Instance Methods

add_stores

boolean add_stores ( Map<Operand,Operand> var_rename_map, Set<LocalVariable> exc_target_dirty_vars )
Java: addStores(Map<org.jruby.ir.operands.Operand,org.jruby.ir.operands.Operand> varRenameMap, Set<org.jruby.ir.operands.LocalVariable> excTargetDirtyVars)

apply_pre_meet_handler

apply_pre_meet_handler ( )
Java: applyPreMeetHandler()

apply_transfer_function

apply_transfer_function ( Instr i )
Java: applyTransferFunction(org.jruby.ir.instructions.Instr i)

build_data_flow_vars

build_data_flow_vars ( Instr i )
Java: buildDataFlowVars(org.jruby.ir.instructions.Instr i)

compute_meet

compute_meet ( Edge e, StoreLocalVarPlacementNode pred )
Java: compute_MEET(org.jruby.dirgra.Edge e, org.jruby.ir.dataflow.analyses.StoreLocalVarPlacementNode pred)

finalize_solution

finalize_solution ( )
Java: finalizeSolution()

init

init ( )
Java: init()

init_solution

init_solution ( )
Java: initSolution()

solution_changed

boolean solution_changed ( )
Java: solutionChanged()

to_string

String to_string ( )
Java: toString()

Inherited

from FlowGraphNode

bb

BasicBlock bb ( )
Java: getBB() · also: get_bb

build_data_flow_vars

build_data_flow_vars ( )
Java: buildDataFlowVars()

Builds the data-flow variables (or facts) for a particular node. Need only create the DF_Var for them to be added to the problem. Goes over the instructions in this basic block and collect all relevant LOCAL data flow vars for this problem!

cfg

CFG cfg ( )
Java: getCFG() · also: get_cfg

Get the control flow graph

compute_data_flow_info

compute_data_flow_info ( List<U> work_list, BitSet bb_set )
Java: computeDataFlowInfo(List<U> workList, BitSet bbSet)

compute_data_flow_info_backward

compute_data_flow_info_backward ( List<U> work_list, BitSet bb_set )
Java: computeDataFlowInfoBackward(List<U> workList, BitSet bbSet)

compute_data_flow_info_forward

compute_data_flow_info_forward ( List<U> work_list, BitSet bb_set )
Java: computeDataFlowInfoForward(List<U> workList, BitSet bbSet)

exception_target_node

U exception_target_node ( )
Java: getExceptionTargetNode() · also: get_exception_target_node

has_exceptions_rescued?

boolean has_exceptions_rescued? ( )
Java: hasExceptionsRescued() · also: has_exceptions_rescued