eachInstructionOperand() — react Function Reference
Architecture documentation for the eachInstructionOperand() function in visitors.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD ccace1c3_85b7_a05e_c2a5_7eff8b3422ed["eachInstructionOperand()"] 2f3caf55_cc64_415c_55dd_9771ba7dc210["visitors.ts"] ccace1c3_85b7_a05e_c2a5_7eff8b3422ed -->|defined in| 2f3caf55_cc64_415c_55dd_9771ba7dc210 ad41542d_7277_a7c4_02f9_ea27be6345d4["getScopes()"] ad41542d_7277_a7c4_02f9_ea27be6345d4 -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 5b525258_03ba_b7ed_2935_0cd222ac2db3["assertValidMutableRanges()"] 5b525258_03ba_b7ed_2935_0cd222ac2db3 -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 20604946_1e38_3a1d_16f9_b7ef2a574d7c["collectScopeInfo()"] 20604946_1e38_3a1d_16f9_b7ef2a574d7c -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 764ec9fb_0ee9_a9ca_abc4_d7c652d01a09["getOverlappingReactiveScopes()"] 764ec9fb_0ee9_a9ca_abc4_d7c652d01a09 -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 3cbb5167_d55c_6775_cfe5_cd15846ca8d2["findTemporariesUsedOutsideDeclaringScope()"] 3cbb5167_d55c_6775_cfe5_cd15846ca8d2 -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 82ed3f4d_ad20_778d_000e_ca92ed3492fd["inferReactiveIdentifiers()"] 82ed3f4d_ad20_778d_000e_ca92ed3492fd -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 9851361f_9c96_24d6_e407_3d4f7245f8ea["collectDepUsages()"] 9851361f_9c96_24d6_e407_3d4f7245f8ea -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed fddc4da2_1151_8052_c771_8b67085ebeca["inferReactivePlaces()"] fddc4da2_1151_8052_c771_8b67085ebeca -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed b474edef_a60d_b132_2ae0_98f6768ec241["findDisjointMutableValues()"] b474edef_a60d_b132_2ae0_98f6768ec241 -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed bb44971b_3fb2_facf_d3bd_8a33c436c5ca["eliminateRedundantPhi()"] bb44971b_3fb2_facf_d3bd_8a33c436c5ca -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed eba3a482_6e86_10da_48dc_406d60ade0bd["eachReachablePlace()"] eba3a482_6e86_10da_48dc_406d60ade0bd -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 257b9810_205d_8a64_1735_4cb469bb9ada["apply()"] 257b9810_205d_8a64_1735_4cb469bb9ada -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed 6eadf343_46d9_d614_1b21_1060f09386fc["validateHooksUsage()"] 6eadf343_46d9_d614_1b21_1060f09386fc -->|calls| ccace1c3_85b7_a05e_c2a5_7eff8b3422ed style ccace1c3_85b7_a05e_c2a5_7eff8b3422ed fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts lines 85–87
export function* eachInstructionOperand(instr: Instruction): Iterable<Place> {
yield* eachInstructionValueOperand(instr.value);
}
Domain
Subdomains
Called By
- apply()
- assertValidMutableRanges()
- collectDepUsages()
- collectScopeInfo()
- eachReachablePlace()
- eliminateRedundantPhi()
- findDisjointMutableValues()
- findTemporariesUsedOutsideDeclaringScope()
- getOverlappingReactiveScopes()
- getScopes()
- inferReactiveIdentifiers()
- inferReactivePlaces()
- recordInstructionDerivations()
- validateEffect()
- validateHooksUsage()
- validateNoRefAccessInRenderImpl()
Source
Frequently Asked Questions
What does eachInstructionOperand() do?
eachInstructionOperand() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts.
Where is eachInstructionOperand() defined?
eachInstructionOperand() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts at line 85.
What does eachInstructionOperand() call?
eachInstructionOperand() calls 1 function(s): eachInstructionValueOperand.
What calls eachInstructionOperand()?
eachInstructionOperand() is called by 16 function(s): apply, assertValidMutableRanges, collectDepUsages, collectScopeInfo, eachReachablePlace, eliminateRedundantPhi, findDisjointMutableValues, findTemporariesUsedOutsideDeclaringScope, and 8 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free