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

References

include/llvm/CodeGen/SelectionDAG.h
  350   SDNodeT *newSDNode(ArgTypes &&... Args) {
  351     return new (NodeAllocator.template Allocate<SDNodeT>())
  352         SDNodeT(std::forward<ArgTypes>(Args)...);
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   92     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
  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;
include/llvm/Support/Recycler.h
   83   SubClass *Allocate(AllocatorType &Allocator) {
   84     static_assert(alignof(SubClass) <= Align,
   86     static_assert(sizeof(SubClass) <= Size,
   93   T *Allocate(AllocatorType &Allocator) {
include/llvm/Support/RecyclingAllocator.h
   43   SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
   43   SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
  408   } else if (JumpTableSDNode *JT = dyn_cast<JumpTableSDNode>(Op)) {
  408   } else if (JumpTableSDNode *JT = dyn_cast<JumpTableSDNode>(Op)) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
   75       if (isa<JumpTableSDNode>(Node))      return true;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  525     ID.AddInteger(cast<JumpTableSDNode>(N)->getIndex());
  526     ID.AddInteger(cast<JumpTableSDNode>(N)->getTargetFlags());
 1417   auto *N = newSDNode<JumpTableSDNode>(JTI, VT, isTarget, TargetFlags);
 1417   auto *N = newSDNode<JumpTableSDNode>(JTI, VT, isTarget, TargetFlags);
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  594   } else if (const JumpTableSDNode *JTDN = dyn_cast<JumpTableSDNode>(this)) {
  594   } else if (const JumpTableSDNode *JTDN = dyn_cast<JumpTableSDNode>(this)) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 4285 SDValue AArch64TargetLowering::getTargetNode(JumpTableSDNode *N, EVT Ty,
 4319 SDValue AArch64TargetLowering::getAddrLarge(NodeTy *N, SelectionDAG &DAG,
 4335 SDValue AArch64TargetLowering::getAddr(NodeTy *N, SelectionDAG &DAG,
 4349 SDValue AArch64TargetLowering::getAddrTiny(NodeTy *N, SelectionDAG &DAG,
 5257   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 5257   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 5275   int JTI = cast<JumpTableSDNode>(JT.getNode())->getIndex();
lib/Target/AArch64/AArch64ISelLowering.h
  632   SDValue getTargetNode(JumpTableSDNode *N, EVT Ty, SelectionDAG &DAG,
lib/Target/ARC/ARCISelLowering.cpp
  211   auto *N = cast<JumpTableSDNode>(Op);
  211   auto *N = cast<JumpTableSDNode>(Op);
lib/Target/ARM/ARMISelLowering.cpp
 5299   JumpTableSDNode *JT = cast<JumpTableSDNode>(Table);
 5299   JumpTableSDNode *JT = cast<JumpTableSDNode>(Table);
lib/Target/Hexagon/HexagonISelLowering.cpp
  955   int Idx = cast<JumpTableSDNode>(Op)->getIndex();
 2966   int Idx = cast<JumpTableSDNode>(Table)->getIndex();
lib/Target/Lanai/LanaiISelLowering.cpp
 1211   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 1211   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  158   } else if (JumpTableSDNode *J = dyn_cast<JumpTableSDNode>(N0)) {
  158   } else if (JumpTableSDNode *J = dyn_cast<JumpTableSDNode>(N0)) {
lib/Target/MSP430/MSP430ISelLowering.cpp
 1314     JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 1314     JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
lib/Target/Mips/Mips16ISelDAGToDAG.cpp
  155           isa<JumpTableSDNode>(Opnd0)) {
lib/Target/Mips/MipsISelLowering.cpp
  169 SDValue MipsTargetLowering::getTargetNode(JumpTableSDNode *N, EVT Ty,
 2097   JumpTableSDNode *N = cast<JumpTableSDNode>(Op);
 2097   JumpTableSDNode *N = cast<JumpTableSDNode>(Op);
lib/Target/Mips/MipsISelLowering.h
  392     SDValue getAddrLocal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG,
  443     SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty,
  460    SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty,
  529     SDValue getTargetNode(JumpTableSDNode *N, EVT Ty, SelectionDAG &DAG,
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  347           isa<JumpTableSDNode>(Opnd0)) {
lib/Target/PowerPC/PPCISelLowering.cpp
 2785   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 2785   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
14609   if (isa<JumpTableSDNode>(GA) || isa<BlockAddressSDNode>(GA))
lib/Target/SystemZ/SystemZISelLowering.cpp
 3026 SDValue SystemZTargetLowering::lowerJumpTable(JumpTableSDNode *JT,
 4945     return lowerJumpTable(cast<JumpTableSDNode>(Op), DAG);
lib/Target/SystemZ/SystemZISelLowering.h
  550   SDValue lowerJumpTable(JumpTableSDNode *JT, SelectionDAG &DAG) const;
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1151   const JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 1151   const JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
 1160   const auto *JT = cast<JumpTableSDNode>(Op.getOperand(1));
 1160   const auto *JT = cast<JumpTableSDNode>(Op.getOperand(1));
lib/Target/X86/X86ISelDAGToDAG.cpp
 1451   } else if (JumpTableSDNode *J = dyn_cast<JumpTableSDNode>(N0)) {
 1451   } else if (JumpTableSDNode *J = dyn_cast<JumpTableSDNode>(N0)) {
lib/Target/X86/X86ISelLowering.cpp
17810   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
17810   JumpTableSDNode *JT = cast<JumpTableSDNode>(Op);
lib/Target/XCore/XCoreISelLowering.cpp
  349   JumpTableSDNode *JT = cast<JumpTableSDNode>(Table);
  349   JumpTableSDNode *JT = cast<JumpTableSDNode>(Table);