|
LLVM 24.0.0git
|
Represents an AvailableValue which can be rematerialized at the end of the associated BasicBlock. More...
Public Member Functions | |
| Value * | MaterializeAdjustedValue (LoadInst *Load) const |
| Emit code at the end of this block to adjust the value defined here to the specified type. | |
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) |
Public Attributes | |
| BasicBlock * | BB = nullptr |
| BB - The basic block in question. | |
| AvailableValue | AV |
| AV - The actual available value. | |
Represents an AvailableValue which can be rematerialized at the end of the associated BasicBlock.
|
inlinestatic |
|
inlinestatic |
Definition at line 308 of file GVN.cpp.
References BB, llvm::GVNPass::AvailableValue::get(), get(), and llvm::Offset.
|
inlinestatic |
Definition at line 313 of file GVN.cpp.
References BB, get(), and llvm::GVNPass::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 319 of file GVN.cpp.
References AV, BB, and llvm::Load.
| AvailableValue llvm::GVNPass::AvailableValueInBlock::AV |
AV - The actual available value.
Definition at line 299 of file GVN.cpp.
Referenced by get(), and MaterializeAdjustedValue().
| BasicBlock* llvm::GVNPass::AvailableValueInBlock::BB = nullptr |
BB - The basic block in question.
Definition at line 296 of file GVN.cpp.
Referenced by get(), get(), getUndef(), and MaterializeAdjustedValue().