LLVM API Documentation
#include <SelectionDAGNodes.h>


Public Member Functions | |
| MemSDNode (unsigned Opc, SDVTList VTs, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile) | |
| MemSDNode (unsigned Opc, SDVTList VTs, const SDValue *Ops, unsigned NumOps, MVT MemoryVT, const Value *srcValue, int SVOff, unsigned alignment, bool isvolatile) | |
| unsigned | getAlignment () const |
| Returns alignment and volatility of the memory access. | |
| bool | isVolatile () const |
| const Value * | getSrcValue () const |
| Returns the SrcValue and offset that describes the location of the access. | |
| int | getSrcValueOffset () const |
| MVT | getMemoryVT () const |
| getMemoryVT - Return the type of the in-memory value. | |
| MachineMemOperand | getMemOperand () const |
| const SDValue & | getChain () const |
| const SDValue & | getBasePtr () const |
| unsigned | getRawFlags () const |
Static Public Member Functions | |
| static bool | classof (const MemSDNode *) |
| static bool | classof (const SDNode *N) |
Definition at line 1522 of file SelectionDAGNodes.h.
| MemSDNode::MemSDNode | ( | unsigned | Opc, | |
| SDVTList | VTs, | |||
| MVT | MemoryVT, | |||
| const Value * | srcValue, | |||
| int | SVOff, | |||
| unsigned | alignment, | |||
| bool | isvolatile | |||
| ) |
Definition at line 4771 of file SelectionDAG.cpp.
References getAlignment(), llvm::isPowerOf2_32(), and isVolatile().
| MemSDNode::MemSDNode | ( | unsigned | Opc, | |
| SDVTList | VTs, | |||
| const SDValue * | Ops, | |||
| unsigned | NumOps, | |||
| MVT | MemoryVT, | |||
| const Value * | srcValue, | |||
| int | SVOff, | |||
| unsigned | alignment, | |||
| bool | isvolatile | |||
| ) |
Definition at line 4782 of file SelectionDAG.cpp.
References getAlignment(), llvm::isPowerOf2_32(), and isVolatile().
| unsigned llvm::MemSDNode::getAlignment | ( | ) | const [inline] |
Returns alignment and volatility of the memory access.
Definition at line 1549 of file SelectionDAGNodes.h.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), getMemOperand(), LowerLOAD(), LowerSTORE(), MemSDNode(), PerformShuffleCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| bool llvm::MemSDNode::isVolatile | ( | ) | const [inline] |
Definition at line 1550 of file SelectionDAGNodes.h.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), getMemOperand(), isCalleeLoad(), isRMWLoad(), LowerLOAD(), LowerSTORE(), MemSDNode(), PerformShuffleCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| const Value* llvm::MemSDNode::getSrcValue | ( | ) | const [inline] |
Returns the SrcValue and offset that describes the location of the access.
Definition at line 1553 of file SelectionDAGNodes.h.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), getMemOperand(), LowerLOAD(), LowerSTORE(), PerformShuffleCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| int llvm::MemSDNode::getSrcValueOffset | ( | ) | const [inline] |
Definition at line 1554 of file SelectionDAGNodes.h.
Referenced by ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), getMemOperand(), LowerLOAD(), LowerSTORE(), PerformShuffleCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| MVT llvm::MemSDNode::getMemoryVT | ( | ) | const [inline] |
getMemoryVT - Return the type of the in-memory value.
Definition at line 1557 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), llvm::SelectionDAG::ComputeMaskedBits(), llvm::SelectionDAG::ComputeNumSignBits(), llvm::PIC16TargetLowering::ExpandLoad(), ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), getMemOperand(), LowerLOAD(), LowerSTORE(), and llvm::TargetLowering::SimplifySetCC().
| MachineMemOperand MemSDNode::getMemOperand | ( | ) | const |
getMemOperand - Return a MachineMemOperand object describing the memory reference performed by operation.
getMemOperand - Return a MachineMemOperand object describing the memory reference performed by this memory reference.
Definition at line 4795 of file SelectionDAG.cpp.
References llvm::dyn_cast(), FI, getAlignment(), getBasePtr(), llvm::PseudoSourceValue::getFixedStack(), llvm::FrameIndexSDNode::getIndex(), getMemoryVT(), llvm::SDValue::getNode(), llvm::MVT::getSizeInBits(), getSrcValue(), getSrcValueOffset(), isVolatile(), llvm::MachineMemOperand::MOLoad, llvm::MachineMemOperand::MOStore, llvm::MachineMemOperand::MOVolatile, llvm::MemIntrinsicSDNode::readMem(), and llvm::MemIntrinsicSDNode::writeMem().
Referenced by llvm::PPCTargetLowering::PerformDAGCombine().
| const SDValue& llvm::MemSDNode::getChain | ( | ) | const [inline] |
Definition at line 1563 of file SelectionDAGNodes.h.
References llvm::SDValue::getOperand().
Referenced by llvm::PIC16TargetLowering::ExpandLoad(), llvm::PIC16TargetLowering::ExpandStore(), ExpandUnalignedLoad(), ExpandUnalignedStore(), llvm::SelectionDAG::getIndexedLoad(), llvm::SelectionDAG::getIndexedStore(), LowerLOAD(), LowerSTORE(), PerformBuildVectorCombine(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformShuffleCombine(), PerformSTORECombine(), and llvm::TargetLowering::SimplifySetCC().
| const SDValue& llvm::MemSDNode::getBasePtr | ( | ) | const [inline] |
Reimplemented in llvm::AtomicSDNode, llvm::LoadSDNode, and llvm::StoreSDNode.
Definition at line 1564 of file SelectionDAGNodes.h.
References llvm::SDValue::getOpcode(), llvm::SDValue::getOperand(), and llvm::ISD::STORE.
Referenced by getMemOperand().
| unsigned llvm::MemSDNode::getRawFlags | ( | ) | const [inline] |
getRawFlags - Represent the flags as a bunch of bits.
Definition at line 1570 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), and llvm::SelectionDAG::getIndexedStore().
| static bool llvm::MemSDNode::classof | ( | const MemSDNode * | ) | [inline, static] |
Definition at line 1573 of file SelectionDAGNodes.h.
| static bool llvm::MemSDNode::classof | ( | const SDNode * | N | ) | [inline, static] |
Reimplemented from llvm::SDNode.
Reimplemented in llvm::AtomicSDNode, llvm::MemIntrinsicSDNode, llvm::LSBaseSDNode, llvm::LoadSDNode, and llvm::StoreSDNode.
Definition at line 1574 of file SelectionDAGNodes.h.
References llvm::ISD::ATOMIC_CMP_SWAP, llvm::ISD::ATOMIC_LOAD_ADD, llvm::ISD::ATOMIC_LOAD_AND, llvm::ISD::ATOMIC_LOAD_MAX, llvm::ISD::ATOMIC_LOAD_MIN, llvm::ISD::ATOMIC_LOAD_NAND, llvm::ISD::ATOMIC_LOAD_OR, llvm::ISD::ATOMIC_LOAD_SUB, llvm::ISD::ATOMIC_LOAD_UMAX, llvm::ISD::ATOMIC_LOAD_UMIN, llvm::ISD::ATOMIC_LOAD_XOR, llvm::ISD::ATOMIC_SWAP, llvm::SDNode::getOpcode(), llvm::ISD::INTRINSIC_VOID, llvm::ISD::INTRINSIC_W_CHAIN, llvm::SDNode::isTargetOpcode(), llvm::ISD::LOAD, and llvm::ISD::STORE.
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.