OmpSupport::replaceVariableReferences¶
replaceVariableReferences overloads
Synopses¶
Declared in <src/midend/programTransformation/ompLowering/omp_lowering.h>
Replace variable references within root based on a map from old symbols to new symbols
[[visibility("default")]]
int
replaceVariableReferences(
SgNode* root,
VariableSymbolMap_t varRemap); Replace references to oldVar within root with references to newVar, return the number of references replaced.
[[visibility("default")]]
int
replaceVariableReferences(
SgNode* root,
SgVariableSymbol* oldVar,
SgVariableSymbol* newVar); Created with MrDocs