|
reference, declaration → definition
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/CodeGen/SelectionDAGNodes.h 2582 BlockAddressSDNode,
include/llvm/Support/AlignOf.h 24 T t;
25 AlignerImpl<Ts...> rest;
35 char arr[sizeof(T)];
36 SizerImpl<Ts...> rest;
50 llvm::detail::SizerImpl<T, Ts...>)];
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
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 434 } else if (BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(Op)) {
434 } else if (BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(Op)) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h 78 if (isa<BlockAddressSDNode>(Node)) return true;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 625 const BlockAddressSDNode *BA = cast<BlockAddressSDNode>(N);
625 const BlockAddressSDNode *BA = cast<BlockAddressSDNode>(N);
1819 auto *N = newSDNode<BlockAddressSDNode>(Opc, VT, BA, Offset, TargetFlags);
1819 auto *N = newSDNode<BlockAddressSDNode>(Opc, VT, BA, Offset, TargetFlags);
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 707 } else if (const BlockAddressSDNode *BA =
708 dyn_cast<BlockAddressSDNode>(this)) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4059 BlockAddressSDNode *BA;
4087 } else if ((BA = dyn_cast<BlockAddressSDNode>(Op)) &&
lib/Target/AArch64/AArch64ISelLowering.cpp 4298 SDValue AArch64TargetLowering::getTargetNode(BlockAddressSDNode* 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,
5303 BlockAddressSDNode *BA = cast<BlockAddressSDNode>(Op);
5303 BlockAddressSDNode *BA = cast<BlockAddressSDNode>(Op);
6095 } else if (const BlockAddressSDNode *BA =
6096 dyn_cast<BlockAddressSDNode>(Op)) {
lib/Target/AArch64/AArch64ISelLowering.h 636 SDValue getTargetNode(BlockAddressSDNode *N, EVT Ty, SelectionDAG &DAG,
lib/Target/ARM/ARMISelLowering.cpp 3028 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
lib/Target/AVR/AVRISelLowering.cpp 414 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp 1355 if (LogAlign > 2 || !IsAligned(cast<BlockAddressSDNode>(N)->getOffset()))
lib/Target/Hexagon/HexagonISelLowering.cpp 1050 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
lib/Target/Lanai/LanaiISelLowering.cpp 1195 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp 162 AM.BlockAddr = cast<BlockAddressSDNode>(N0)->getBlockAddress();
lib/Target/MSP430/MSP430ISelLowering.cpp 1021 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
lib/Target/Mips/MipsISelLowering.cpp 163 SDValue MipsTargetLowering::getTargetNode(BlockAddressSDNode *N, EVT Ty,
2002 BlockAddressSDNode *N = cast<BlockAddressSDNode>(Op);
2002 BlockAddressSDNode *N = cast<BlockAddressSDNode>(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,
525 SDValue getTargetNode(BlockAddressSDNode *N, EVT Ty, SelectionDAG &DAG,
lib/Target/PowerPC/PPCISelLowering.cpp 2813 BlockAddressSDNode *BASDN = cast<BlockAddressSDNode>(Op);
2813 BlockAddressSDNode *BASDN = cast<BlockAddressSDNode>(Op);
14609 if (isa<JumpTableSDNode>(GA) || isa<BlockAddressSDNode>(GA))
lib/Target/RISCV/RISCVISelLowering.cpp 414 static SDValue getTargetNode(BlockAddressSDNode *N, SDLoc DL, EVT Ty,
427 SDValue RISCVTargetLowering::getAddr(NodeTy *N, SelectionDAG &DAG,
491 BlockAddressSDNode *N = cast<BlockAddressSDNode>(Op);
491 BlockAddressSDNode *N = cast<BlockAddressSDNode>(Op);
lib/Target/Sparc/SparcISelLowering.cpp 1914 if (const BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(Op))
1914 if (const BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(Op))
lib/Target/SystemZ/SystemZISelLowering.cpp 3014 SDValue SystemZTargetLowering::lowerBlockAddress(BlockAddressSDNode *Node,
4943 return lowerBlockAddress(cast<BlockAddressSDNode>(Op), DAG);
lib/Target/SystemZ/SystemZISelLowering.h 548 SDValue lowerBlockAddress(BlockAddressSDNode *Node,
lib/Target/X86/X86ISelDAGToDAG.cpp 1454 } else if (BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(N0)) {
1454 } else if (BlockAddressSDNode *BA = dyn_cast<BlockAddressSDNode>(N0)) {
lib/Target/X86/X86ISelLowering.cpp17840 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();
17841 int64_t Offset = cast<BlockAddressSDNode>(Op)->getOffset();
lib/Target/XCore/XCoreISelLowering.cpp 314 const BlockAddress *BA = cast<BlockAddressSDNode>(Op)->getBlockAddress();