Lines Matching defs:AvailableValue
177 struct llvm::gvn::AvailableValue { struct in llvm::gvn
178 enum class ValType {
189 Value *Val;
191 ValType Kind;
194 unsigned Offset = 0;
196 static AvailableValue get(Value *V, unsigned Offset = 0) { in get()
204 static AvailableValue getMI(MemIntrinsic *MI, unsigned Offset = 0) { in getMI()
212 static AvailableValue getLoad(LoadInst *Load, unsigned Offset = 0) { in getLoad()
220 static AvailableValue getUndef() { in getUndef()
228 static AvailableValue getSelect(SelectInst *Sel) { in getSelect()
236 bool isSimpleValue() const { return Kind == ValType::SimpleVal; } in isSimpleValue()
237 bool isCoercedLoadValue() const { return Kind == ValType::LoadVal; } in isCoercedLoadValue()
238 bool isMemIntrinValue() const { return Kind == ValType::MemIntrin; } in isMemIntrinValue()
239 bool isUndefValue() const { return Kind == ValType::UndefVal; } in isUndefValue()
240 bool isSelectValue() const { return Kind == ValType::SelectVal; } in isSelectValue()
242 Value *getSimpleValue() const { in getSimpleValue()
270 struct llvm::gvn::AvailableValueInBlock {
1718 static void reportLoadElim(LoadInst *Load, Value *AvailableValue, in reportLoadElim()
2058 Value *AvailableValue = AV.MaterializeAdjustedValue(L, L, *this); in processLoad() local