I have a set of Analysis and Transform-passes. In one Function-Transform-pass I’m inserting instructions and a value (so a Value *
value) based on some information in that function’s BB.
I’d like to use this value later on in other Transformation-passes working on the same BB (basically as an argument for newly inserted function calls?) How and where to store the value to easily retrieve it? Do I need to create another analysis pass, which finds the value and stores it in its result?