reversePostorderBlocks() — react Function Reference
Architecture documentation for the reversePostorderBlocks() function in HIRBuilder.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 0ed953ae_5345_6a11_8ecf_c387365fdf84["reversePostorderBlocks()"] df6865e0_b573_e905_84d6_4eb6b419a888["HIRBuilder.ts"] 0ed953ae_5345_6a11_8ecf_c387365fdf84 -->|defined in| df6865e0_b573_e905_84d6_4eb6b419a888 67879f67_c0fc_dc2d_b736_b9213153bc4a["buildReactiveScopeTerminalsHIR()"] 67879f67_c0fc_dc2d_b736_b9213153bc4a -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 3522f83b_2dff_3c9f_920f_3e428eb62b31["inferEffectDependencies()"] 3522f83b_2dff_3c9f_920f_3e428eb62b31 -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 d77babff_42d3_5fdf_4059_c0b9e7cfaeb0["inlineImmediatelyInvokedFunctionExpressions()"] d77babff_42d3_5fdf_4059_c0b9e7cfaeb0 -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 fbdc3953_3621_331c_a5b1_d3199bea5254["constantPropagationImpl()"] fbdc3953_3621_331c_a5b1_d3199bea5254 -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 876d58c8_bfce_a9d8_22c0_b40cc7e22553["inlineJsxTransform()"] 876d58c8_bfce_a9d8_22c0_b40cc7e22553 -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 c059451e_3ed5_62a9_6995_a4adbca6d62c["emitSelectorFn()"] c059451e_3ed5_62a9_6995_a4adbca6d62c -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 82b1d221_48c8_7d34_669c_abce4ff71f21["pruneMaybeThrows()"] 82b1d221_48c8_7d34_669c_abce4ff71f21 -->|calls| 0ed953ae_5345_6a11_8ecf_c387365fdf84 7833545a_a3bd_6148_f79c_09179baa11a3["getReversePostorderedBlocks()"] 0ed953ae_5345_6a11_8ecf_c387365fdf84 -->|calls| 7833545a_a3bd_6148_f79c_09179baa11a3 style 0ed953ae_5345_6a11_8ecf_c387365fdf84 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts lines 711–714
export function reversePostorderBlocks(func: HIR): void {
const rpoBlocks = getReversePostorderedBlocks(func);
func.blocks = rpoBlocks;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does reversePostorderBlocks() do?
reversePostorderBlocks() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts.
Where is reversePostorderBlocks() defined?
reversePostorderBlocks() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIRBuilder.ts at line 711.
What does reversePostorderBlocks() call?
reversePostorderBlocks() calls 1 function(s): getReversePostorderedBlocks.
What calls reversePostorderBlocks()?
reversePostorderBlocks() is called by 7 function(s): buildReactiveScopeTerminalsHIR, constantPropagationImpl, emitSelectorFn, inferEffectDependencies, inlineImmediatelyInvokedFunctionExpressions, inlineJsxTransform, pruneMaybeThrows.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free