Skip to main content

Module match_branches

Module match_branches 

Source

Structsยง

MatchBranchSimplification ๐Ÿ”’
Unifies all targets into one basic block if each statement can have the same statement.
SimplifyMatch ๐Ÿ”’

Functionsยง

can_cast ๐Ÿ”’
Check if the cast constant using IntToInt is equal to the target constant.
candidate_assign ๐Ÿ”’
candidate_const ๐Ÿ”’
candidate_match ๐Ÿ”’
Returns the first case target if all targets have an equal number of statements and identical destination.
identical_stmts ๐Ÿ”’
simplify_match ๐Ÿ”’
split_first_case ๐Ÿ”’