reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/CodeGen/SelectionDAGNodes.h
 1435 class AtomicSDNode : public MemSDNode {
 1489 class MemIntrinsicSDNode : public MemSDNode {
 2199 class LSBaseSDNode : public MemSDNode {
 2291 class MaskedLoadStoreSDNode : public MemSDNode {
 2380 class MaskedGatherScatterSDNode : public MemSDNode {
lib/Target/X86/X86ISelLowering.h
 1520   class X86StoreSDNode : public MemSDNode {
 1538   class X86MaskedStoreSDNode : public MemSDNode {
 1608   class X86MaskedGatherScatterSDNode : public MemSDNode {

References

gen/lib/Target/AArch64/AArch64GenDAGISel.inc
114664 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
114763 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
114799 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
114915 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
115030 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc
78756 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78767 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78770 if (cast<MemSDNode>(N)->getAlignment() < 8)
78780 if (cast<MemSDNode>(N)->getAlignment() < 8)
78802 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78805 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78834 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78837 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
78845 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78858 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78861 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78871 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78874 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
78885 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78888 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78899 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78902 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
78910 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78924 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78939 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78942 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78953 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
78968 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78971 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
78982 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78985 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
78996 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
78999 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
79007 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79018 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79021 if (cast<MemSDNode>(N)->getAlignment() < 16)
79031 if (cast<MemSDNode>(N)->getAlignment() < 16)
79059 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79071 if (cast<MemSDNode>(N)->getAlignment() < 8)
79082 if (cast<MemSDNode>(N)->getAlignment() < 16)
79108   return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS;
79115 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79126 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79145   return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
79155   return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
79164   const auto AS = cast<MemSDNode>(N)->getAddressSpace();
79173 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79185 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
79206 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79209 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
79218 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
79239 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79242 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
79279 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79282 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
79319 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79322 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
79344 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79347 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
79369 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79372 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
79392 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79395 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
79415 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79418 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
79469 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79472 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
79480 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79483 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::v2f16) return false;
79542 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79545 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
79555 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
79558 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
79581   auto AS = cast<MemSDNode>(N)->getAddressSpace();
79595   const auto AS = cast<MemSDNode>(N)->getAddressSpace();
gen/lib/Target/AMDGPU/R600GenDAGISel.inc
12340 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12397   const MemSDNode *LD = cast<MemSDNode>(N);
12397   const MemSDNode *LD = cast<MemSDNode>(N);
12410   const MemSDNode *LD = cast<MemSDNode>(N);
12410   const MemSDNode *LD = cast<MemSDNode>(N);
12421 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12441 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12444 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
12454   return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
12462 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12465 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
12481 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12492 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12511 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12531 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12534 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
12551 unsigned AddrSpace = cast<MemSDNode>(N)->getAddressSpace();
12554 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
12563   return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS;
12570 return cast<MemSDNode>(N)->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS && (SDValue(N, 0).use_empty());
gen/lib/Target/ARC/ARCGenDAGISel.inc
 1123 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
 1134 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
 1183 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
gen/lib/Target/ARM/ARMGenDAGISel.inc
54298 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
54349 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
54508 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
54625 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
gen/lib/Target/AVR/AVRGenDAGISel.inc
 1695 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
 1709 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
gen/lib/Target/BPF/BPFGenDAGISel.inc
 1951 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
 1961 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
 1971 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
 2019 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc
72312 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
72372 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
72481 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
72587   return isAlignedMemNode(dyn_cast<MemSDNode>(N));
72596   return !isAlignedMemNode(dyn_cast<MemSDNode>(N));
72803 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
72813 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
gen/lib/Target/Lanai/LanaiGenDAGISel.inc
 1371 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
 1382 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
 1394 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
gen/lib/Target/MSP430/MSP430GenDAGISel.inc
 4844 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
gen/lib/Target/Mips/MipsGenDAGISel.inc
30022 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
30043 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
30064 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
30112 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
30210 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/NVPTX/NVPTXGenDAGISel.inc
72268 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
72286 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/PowerPC/PPCGenDAGISel.inc
44132 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
44158 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
44221 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
44366 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
44400 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
44429 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/RISCV/RISCVGenDAGISel.inc
13849 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
13870 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
13911 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
13956 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/Sparc/SparcGenDAGISel.inc
 3457 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
 3470 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
 3485 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
 3540 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
 3550 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/SystemZ/SystemZGenDAGISel.inc
29884 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
29913 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
29974 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
30386 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
30394 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f64) return false;
30412 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/WebAssembly/WebAssemblyGenDAGISel.inc
21174 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
21194 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
21237 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
21253 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
gen/lib/Target/X86/X86GenDAGISel.inc
253775 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f32) return false;
253784 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::f64) return false;
253892 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
253906 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
253919 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i32) return false;
253930 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i64) return false;
254219 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i1) return false;
gen/lib/Target/XCore/XCoreGenDAGISel.inc
 2327 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i16) return false;
 2361 if (cast<MemSDNode>(N)->getMemoryVT() != MVT::i8) return false;
include/llvm/CodeGen/SelectionDAGNodes.h
 1435 class AtomicSDNode : public MemSDNode {
 1489 class MemIntrinsicSDNode : public MemSDNode {
 2199 class LSBaseSDNode : public MemSDNode {
 2291 class MaskedLoadStoreSDNode : public MemSDNode {
 2380 class MaskedGatherScatterSDNode : public MemSDNode {
include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   77     return isa_impl<To, From>::doit(Val);
   92     return isa_impl<To, From>::doit(*Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  248                                typename cast_retty<X, const Y>::ret_type>::type
  252       X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  331                             typename cast_retty<X, const Y>::ret_type>::type
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  333   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  912     auto LoadStore = dyn_cast<MemSDNode>(Node);
 1856       if (auto *MemNode = dyn_cast<MemSDNode>(CurNode))
 1856       if (auto *MemNode = dyn_cast<MemSDNode>(CurNode))
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 2759         Node->getOperand(3), cast<MemSDNode>(Node)->getMemOperand());
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  612     const MemSDNode *PF = cast<MemSDNode>(N);
  612     const MemSDNode *PF = cast<MemSDNode>(N);
  635     ID.AddInteger(cast<MemSDNode>(N)->getPointerInfo().getAddrSpace());
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  703   } else if (const MemSDNode* M = dyn_cast<MemSDNode>(this)) {
  703   } else if (const MemSDNode* M = dyn_cast<MemSDNode>(this)) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 2960       if (auto *MN = dyn_cast<MemSDNode>(N))
 2960       if (auto *MN = dyn_cast<MemSDNode>(N))
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  391     if (!isa<MemSDNode>(*UI))
  393         if (!isa<MemSDNode>(*UII))
  706     if (isStrongerThanMonotonic(cast<MemSDNode>(Use)->getOrdering()))
  936     if (!isa<MemSDNode>(*UI))
 1020     if (!isa<MemSDNode>(*UI))
 2784   EVT MemTy = cast<MemSDNode>(N)->getMemoryVT();
 2807   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
lib/Target/AArch64/AArch64ISelLowering.cpp
 8475   MemSDNode *Mem = dyn_cast<MemSDNode>(Load);
 8475   MemSDNode *Mem = dyn_cast<MemSDNode>(Load);
12002     MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
12046   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  299   bool isConstantLoad(const MemSDNode *N, int cbID) const;
  611   unsigned AS = cast<MemSDNode>(N)->getAddressSpace();
 1500     const MachinePointerInfo &PtrInfo = cast<MemSDNode>(Parent)->getPointerInfo();
 1561   const MachinePointerInfo &PtrInfo = cast<MemSDNode>(Parent)->getPointerInfo();
 1619 static MemSDNode* findMemSDNode(SDNode *N) {
 1621   if (MemSDNode *MN = dyn_cast<MemSDNode>(N))
 1621   if (MemSDNode *MN = dyn_cast<MemSDNode>(N))
 1625     if (MemSDNode *MN =
 1626           dyn_cast<MemSDNode>(AMDGPUTargetLowering::stripBitcast(V)))
 2133   MemSDNode *Mem = cast<MemSDNode>(N);
 2133   MemSDNode *Mem = cast<MemSDNode>(N);
 2737 bool R600DAGToDAGISel::isConstantLoad(const MemSDNode *N, int CbId) const {
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  556   if (isa<MemSDNode>(N))
  654   MemSDNode *MN = cast<MemSDNode>(N);
  654   MemSDNode *MN = cast<MemSDNode>(N);
 2814     if (MemSDNode *M = dyn_cast<MemSDNode>(U)) {
 2814     if (MemSDNode *M = dyn_cast<MemSDNode>(U)) {
lib/Target/AMDGPU/SIISelLowering.cpp
 1335   const MemSDNode *MemNode = cast<MemSDNode>(N);
 1335   const MemSDNode *MemNode = cast<MemSDNode>(N);
 1352   const MemSDNode *MemNode = cast<MemSDNode>(N);
 1352   const MemSDNode *MemNode = cast<MemSDNode>(N);
 4114                                               MemSDNode *M,
 4146 SDValue SITargetLowering::lowerIntrinsicLoad(MemSDNode *M, bool IsFormat,
 5364     unsigned DMaskIdx = BaseOpcode->Store ? 3 : isa<MemSDNode>(Op) ? 2 : 1;
 5535       if (isa<MemSDNode>(Op))
 5595   if (isa<MemSDNode>(Op))
 5618   if (auto MemOp = dyn_cast<MemSDNode>(Op)) {
 6121     MemSDNode *M = cast<MemSDNode>(Op);
 6121     MemSDNode *M = cast<MemSDNode>(Op);
 6198     MemSDNode *M = cast<MemSDNode>(Op);
 6198     MemSDNode *M = cast<MemSDNode>(Op);
 6214     MemSDNode *M = cast<MemSDNode>(Op);
 6214     MemSDNode *M = cast<MemSDNode>(Op);
 6269     auto *M = cast<MemSDNode>(Op);
 6269     auto *M = cast<MemSDNode>(Op);
 6301     auto *M = cast<MemSDNode>(Op);
 6301     auto *M = cast<MemSDNode>(Op);
 6321     auto *M = cast<MemSDNode>(Op);
 6321     auto *M = cast<MemSDNode>(Op);
 6324     return lowerIntrinsicLoad(cast<MemSDNode>(Op), IsFormat, DAG, Ops);
 6327     MemSDNode *M = cast<MemSDNode>(Op);
 6327     MemSDNode *M = cast<MemSDNode>(Op);
 6357     MemSDNode *M = cast<MemSDNode>(Op);
 6357     MemSDNode *M = cast<MemSDNode>(Op);
 6381     MemSDNode *M = cast<MemSDNode>(Op);
 6381     MemSDNode *M = cast<MemSDNode>(Op);
 6435     auto *M = cast<MemSDNode>(Op);
 6435     auto *M = cast<MemSDNode>(Op);
 6503     auto *M = cast<MemSDNode>(Op);
 6503     auto *M = cast<MemSDNode>(Op);
 6577     auto *M = cast<MemSDNode>(Op);
 6577     auto *M = cast<MemSDNode>(Op);
 6648     auto *M = cast<MemSDNode>(Op);
 6648     auto *M = cast<MemSDNode>(Op);
 6669     auto *M = cast<MemSDNode>(Op);
 6669     auto *M = cast<MemSDNode>(Op);
 6690     auto *M = cast<MemSDNode>(Op);
 6690     auto *M = cast<MemSDNode>(Op);
 6857     MemSDNode *M = cast<MemSDNode>(Op);
 6857     MemSDNode *M = cast<MemSDNode>(Op);
 6882     MemSDNode *M = cast<MemSDNode>(Op);
 6882     MemSDNode *M = cast<MemSDNode>(Op);
 6907     MemSDNode *M = cast<MemSDNode>(Op);
 6907     MemSDNode *M = cast<MemSDNode>(Op);
 6941     MemSDNode *M = cast<MemSDNode>(Op);
 6941     MemSDNode *M = cast<MemSDNode>(Op);
 6986     MemSDNode *M = cast<MemSDNode>(Op);
 6986     MemSDNode *M = cast<MemSDNode>(Op);
 7031     MemSDNode *M = cast<MemSDNode>(Op);
 7031     MemSDNode *M = cast<MemSDNode>(Op);
 7066     auto *M = cast<MemSDNode>(Op);
 7066     auto *M = cast<MemSDNode>(Op);
 7083     auto *M = cast<MemSDNode>(Op);
 7083     auto *M = cast<MemSDNode>(Op);
 7198                                                      MemSDNode *M) const {
 7217                                                       MemSDNode *M) const {
 8092 SDValue SITargetLowering::performMemSDNodeCombine(MemSDNode *N,
 8653     auto *M = cast<MemSDNode>(Src);
 8653     auto *M = cast<MemSDNode>(Src);
 9339   if (isa<MemSDNode>(Vec) &&
 9994     return performMemSDNodeCombine(cast<MemSDNode>(N), DCI);
lib/Target/AMDGPU/SIISelLowering.h
   93   SDValue adjustLoadValueType(unsigned Opcode, MemSDNode *M,
   97   SDValue lowerIntrinsicLoad(MemSDNode *M, bool IsFormat, SelectionDAG &DAG,
  144   SDValue performMemSDNodeCombine(MemSDNode *N, DAGCombinerInfo &DCI) const;
  213                                      ArrayRef<SDValue> Ops, MemSDNode *M) const;
  218                                       MemSDNode *M) const;
lib/Target/ARM/ARMISelDAGToDAG.cpp
  993   MemSDNode *MemN = cast<MemSDNode>(Parent);
  993   MemSDNode *MemN = cast<MemSDNode>(Parent);
 1465   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
 2812   EVT MemTy = cast<MemSDNode>(N)->getMemoryVT();
 2828   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
lib/Target/ARM/ARMISelLowering.cpp
 9082   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
12880   MemSDNode *MemN = cast<MemSDNode>(N);
12880   MemSDNode *MemN = cast<MemSDNode>(N);
lib/Target/AVR/AVR.h
   47 inline bool isProgramMemoryAccess(MemSDNode const *N) {
lib/Target/AVR/AVRISelDAGToDAG.cpp
  107     MVT VT = cast<MemSDNode>(Op)->getMemoryVT().getSimpleVT();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  966     SDValue LDBasePtr = cast<MemSDNode>(SYNode)->getBasePtr();
  967     SDValue STBasePtr = cast<MemSDNode>(UUse)->getBasePtr();
 1562 bool HexagonDAGToDAGISel::isAlignedMemNode(const MemSDNode *N) const {
 2238     SDValue BasePtr = cast<MemSDNode>(N)->getBasePtr();
lib/Target/Hexagon/HexagonISelDAGToDAG.h
  136   bool isAlignedMemNode(const MemSDNode *N) const;
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  364     MachineMemOperand *MemRef = cast<MemSDNode>(N1)->getMemOperand();
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  655 static unsigned int getCodeAddrSpace(MemSDNode *N) {
  675 static bool canLowerToLDG(MemSDNode *N, const NVPTXSubtarget &Subtarget,
  840   MemSDNode *LD = cast<MemSDNode>(N);
  840   MemSDNode *LD = cast<MemSDNode>(N);
  984   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
  999   MemSDNode *MemSD = cast<MemSDNode>(N);
  999   MemSDNode *MemSD = cast<MemSDNode>(N);
 1223   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
 1234   MemSDNode *Mem;
 1259     Mem = cast<MemSDNode>(N);
 1705   MemSDNode *ST = cast<MemSDNode>(N);
 1705   MemSDNode *ST = cast<MemSDNode>(N);
 1864   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
 1878   MemSDNode *MemSD = cast<MemSDNode>(N);
 1878   MemSDNode *MemSD = cast<MemSDNode>(N);
 2087   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
 2099   MemSDNode *Mem = cast<MemSDNode>(Node);
 2099   MemSDNode *Mem = cast<MemSDNode>(Node);
 2176   MemSDNode *Mem = cast<MemSDNode>(N);
 2176   MemSDNode *Mem = cast<MemSDNode>(N);
 2234   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
 2248   MemSDNode *Mem = cast<MemSDNode>(N);
 2248   MemSDNode *Mem = cast<MemSDNode>(N);
 2338   MachineMemOperand *MemRef = cast<MemSDNode>(N)->getMemOperand();
 3677   if (MemSDNode *mN = dyn_cast<MemSDNode>(N)) {
 3677   if (MemSDNode *mN = dyn_cast<MemSDNode>(N)) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 2319     MemSDNode *MemSD = cast<MemSDNode>(N);
 2319     MemSDNode *MemSD = cast<MemSDNode>(N);
 4503     MemSDNode *Mem = dyn_cast<MemSDNode>(Val);
 4503     MemSDNode *Mem = dyn_cast<MemSDNode>(Val);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 4203   MachineMemOperand *MemOp = cast<MemSDNode>(N)->getMemOperand();
lib/Target/PowerPC/PPCISelLowering.cpp
 2264     if (MemSDNode *Memop = dyn_cast<MemSDNode>(*UI)) {
 2264     if (MemSDNode *Memop = dyn_cast<MemSDNode>(*UI)) {
11890     if (MemSDNode *ChainLD = dyn_cast<MemSDNode>(ChainNext)) {
11890     if (MemSDNode *ChainLD = dyn_cast<MemSDNode>(ChainNext)) {
11921       if (MemSDNode *ChainLD = dyn_cast<MemSDNode>(LoadRoot))
11921       if (MemSDNode *ChainLD = dyn_cast<MemSDNode>(LoadRoot))
11927         if (((isa<MemSDNode>(*UI) &&
11928             cast<MemSDNode>(*UI)->getChain().getNode() == LoadRoot) ||
lib/Target/X86/X86ISelDAGToDAG.cpp
  777   if (isa<MemSDNode>(Chain.getNode()) &&
  778       cast<MemSDNode>(Chain.getNode())->writeMem())
 2226   unsigned AddrSpace = cast<MemSDNode>(Parent)->getPointerInfo().getAddrSpace();
 2269       cast<MemSDNode>(Parent)->getPointerInfo().getAddrSpace();
 4279     CurDAG->setNodeMemRefs(CNode, {cast<MemSDNode>(Load)->getMemOperand()});
lib/Target/X86/X86ISelLowering.cpp
27126   MachineMemOperand *MMO = cast<MemSDNode>(N)->getMemOperand();
lib/Target/X86/X86ISelLowering.h
 1520   class X86StoreSDNode : public MemSDNode {
 1538   class X86MaskedStoreSDNode : public MemSDNode {
 1608   class X86MaskedGatherScatterSDNode : public MemSDNode {
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };