Home / Function/ mapInstructionOperands() — react Function Reference

mapInstructionOperands() — react Function Reference

Architecture documentation for the mapInstructionOperands() function in visitors.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  54e552b5_4821_f555_a702_7c29655eb512["mapInstructionOperands()"]
  2f3caf55_cc64_415c_55dd_9771ba7dc210["visitors.ts"]
  54e552b5_4821_f555_a702_7c29655eb512 -->|defined in| 2f3caf55_cc64_415c_55dd_9771ba7dc210
  876d58c8_bfce_a9d8_22c0_b40cc7e22553["inlineJsxTransform()"]
  876d58c8_bfce_a9d8_22c0_b40cc7e22553 -->|calls| 54e552b5_4821_f555_a702_7c29655eb512
  8ec30eb2_4622_378f_f538_3070f7a38fae["enterSSAImpl()"]
  8ec30eb2_4622_378f_f538_3070f7a38fae -->|calls| 54e552b5_4821_f555_a702_7c29655eb512
  402caa76_ca9e_8ed9_593f_7843cf5f0ae8["mapInstructionValueOperands()"]
  54e552b5_4821_f555_a702_7c29655eb512 -->|calls| 402caa76_ca9e_8ed9_593f_7843cf5f0ae8
  style 54e552b5_4821_f555_a702_7c29655eb512 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts lines 446–451

export function mapInstructionOperands(
  instr: Instruction,
  fn: (place: Place) => Place,
): void {
  mapInstructionValueOperands(instr.value, fn);
}

Subdomains

Frequently Asked Questions

What does mapInstructionOperands() do?
mapInstructionOperands() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts.
Where is mapInstructionOperands() defined?
mapInstructionOperands() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/visitors.ts at line 446.
What does mapInstructionOperands() call?
mapInstructionOperands() calls 1 function(s): mapInstructionValueOperands.
What calls mapInstructionOperands()?
mapInstructionOperands() is called by 2 function(s): enterSSAImpl, inlineJsxTransform.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free