10 #ifndef LLVM_CODEGEN_SELECTIONDAGADDRESSANALYSIS_H 11 #define LLVM_CODEGEN_SELECTIONDAGADDRESSANALYSIS_H 38 bool IsIndexSignExt =
false;
44 : Base(Base), Index(Index), Offset(Offset),
45 IsIndexSignExt(IsIndexSignExt) {}
67 #endif // LLVM_CODEGEN_SELECTIONDAGADDRESSANALYSIS_H
This class represents lattice values for constants.
Base class for LoadSDNode and StoreSDNode.
BaseIndexOffset()=default
BaseIndexOffset(SDValue Base, SDValue Index, int64_t Offset, bool IsIndexSignExt)
Helper struct to parse and store a memory address as base + index + offset.
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
static BaseIndexOffset match(const LSBaseSDNode *N, const SelectionDAG &DAG)
Parses tree in Ptr for base, index, offset addresses.
bool equalBaseIndex(const BaseIndexOffset &Other, const SelectionDAG &DAG) const
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation...