|
LLVM 24.0.0git
|
A directly-lowered statepoint value (see willLowerDirectly): a leaf that can be rebuilt at a gc.relocate in another block. More...
#include "llvm/CodeGen/FunctionLoweringInfo.h"
Public Types | |
| enum | LeafKind { FrameIndex , Constant , Undef } |
Public Member Functions | |
| LLVM_ABI | StatepointDirectLeaf (SDValue V) |
Capture the leaf V, which must be a directly-lowered value. | |
| LLVM_ABI SDValue | rematerialize (SelectionDAG &DAG, const SDLoc &DL, EVT VT) const |
Rebuild the captured leaf as a fresh SDValue of type VT. | |
Public Attributes | |
| LeafKind | Kind |
| APInt | IntValue |
| int | FrameIndexValue |
A directly-lowered statepoint value (see willLowerDirectly): a leaf that can be rebuilt at a gc.relocate in another block.
Definition at line 105 of file FunctionLoweringInfo.h.
| Enumerator | |
|---|---|
| FrameIndex | |
| Constant | |
| Undef | |
Definition at line 106 of file FunctionLoweringInfo.h.
|
explicit |
Capture the leaf V, which must be a directly-lowered value.
Definition at line 267 of file StatepointLowering.cpp.
References assert(), llvm::cast(), Constant, llvm::dyn_cast(), FrameIndex, FrameIndexValue, IntValue, Kind, Undef, and willLowerDirectly().
| SDValue FunctionLoweringInfo::StatepointDirectLeaf::rematerialize | ( | SelectionDAG & | DAG, |
| const SDLoc & | DL, | ||
| EVT | VT ) const |
Rebuild the captured leaf as a fresh SDValue of type VT.
Definition at line 280 of file StatepointLowering.cpp.
References Constant, DL, FrameIndex, FrameIndexValue, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getFrameIndex(), IntValue, Kind, llvm_unreachable, Undef, and UndefStackMapValue.
| int llvm::FunctionLoweringInfo::StatepointDirectLeaf::FrameIndexValue |
Definition at line 109 of file FunctionLoweringInfo.h.
Referenced by rematerialize(), and StatepointDirectLeaf().
| APInt llvm::FunctionLoweringInfo::StatepointDirectLeaf::IntValue |
Definition at line 108 of file FunctionLoweringInfo.h.
Referenced by rematerialize(), and StatepointDirectLeaf().
| LeafKind llvm::FunctionLoweringInfo::StatepointDirectLeaf::Kind |
Definition at line 107 of file FunctionLoweringInfo.h.
Referenced by rematerialize(), and StatepointDirectLeaf().