Create a call to the experimental.gc.relocate intrinsics to project the relocated value of one pointer from the statepoint.
Declared in <llvm/IR/IRBuilder.h>
CallInst*
CreateGCRelocate(
Instruction* Statepoint,
int BaseOffset,
int DerivedOffset,
Type* ResultType,
Twine const& Name = "");
The created GC relocate value.
| Name | Description |
|---|---|
| Statepoint | GC statepoint call or invoke. |
| BaseOffset | Byte offset of the base pointer in the statepoint. |
| DerivedOffset | Byte offset of the derived pointer in the statepoint. |
| ResultType | Result type of the GC relocate or result. |
| Name | Name of the new instruction or value. |