LLVM
15.0.0git
|
Represents an AvailableValue which can be rematerialized at the end of the associated BasicBlock. More...
Public Member Functions | |
Value * | MaterializeAdjustedValue (LoadInst *Load, GVNPass &gvn) const |
Emit code at the end of this block to adjust the value defined here to the specified type. More... | |
Static Public Member Functions | |
static AvailableValueInBlock | get (BasicBlock *BB, AvailableValue &&AV) |
static AvailableValueInBlock | get (BasicBlock *BB, Value *V, unsigned Offset=0) |
static AvailableValueInBlock | getUndef (BasicBlock *BB) |
static AvailableValueInBlock | getSelect (BasicBlock *BB, SelectInst *Sel) |
Public Attributes | |
BasicBlock * | BB = nullptr |
BB - The basic block in question. More... | |
AvailableValue | AV |
AV - The actual available value. More... | |
Represents an AvailableValue which can be rematerialized at the end of the associated BasicBlock.
|
inlinestatic |
|
inlinestatic |
Definition at line 284 of file GVN.cpp.
References BB, get, and llvm::gvn::AvailableValue::get().
|
inlinestatic |
Definition at line 293 of file GVN.cpp.
References BB, get, and llvm::gvn::AvailableValue::getSelect().
|
inlinestatic |
Definition at line 289 of file GVN.cpp.
References BB, get, and llvm::gvn::AvailableValue::getUndef().
|
inline |
Emit code at the end of this block to adjust the value defined here to the specified type.
This handles various coercion cases.
Definition at line 299 of file GVN.cpp.
References BB, llvm::SPII::Load, and llvm::gvn::AvailableValue::MaterializeAdjustedValue().
AvailableValue llvm::gvn::AvailableValueInBlock::AV |
BasicBlock* llvm::gvn::AvailableValueInBlock::BB = nullptr |