ConstantFoldLoadFromConstPtr overloads
Synopses
Declared in <llvm/Analysis/ConstantFolding.h>
Return the value that a load from C would produce if it is constant and determinable. If this is not determinable, return null.
Constant*
ConstantFoldLoadFromConstPtr(
Constant* C,
Type* Ty,
DataLayout const& DL);
Return the value that a load from C with offset Offset would produce if it is constant and determinable. If this is not determinable, return null.
Constant*
ConstantFoldLoadFromConstPtr(
Constant* C,
Type* Ty,
APInt Offset,
DataLayout const& DL);
Created with MrDocs