Try to replace undefined constant C or undefined elements in C with Replacement. If no changes are made, the constant C is returned.
Declared in <llvm/IR/Constant.h>
static
Constant*
replaceUndefsWith(
Constant* C,
Constant* Replacement);
The constant with undefs replaced, or C if unchanged.
| Name | Description |
|---|---|
| C | The constant whose undefs may be replaced. |
| Replacement | The constant used in place of undefs. |