|
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/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 430 } else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
430 } else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
1059 const char *AsmStr = cast<ExternalSymbolSDNode>(AsmStrV)->getSymbol();
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h 76 if (isa<ExternalSymbolSDNode>(Node)) return true;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 858 Erased = ExternalSymbols.erase(cast<ExternalSymbolSDNode>(N)->getSymbol());
861 ExternalSymbolSDNode *ESN = cast<ExternalSymbolSDNode>(N);
861 ExternalSymbolSDNode *ESN = cast<ExternalSymbolSDNode>(N);
1525 N = newSDNode<ExternalSymbolSDNode>(false, Sym, 0, VT);
1544 N = newSDNode<ExternalSymbolSDNode>(true, Sym, TargetFlags, VT);
8644 auto *Symbol = cast<ExternalSymbolSDNode>(Op)->getSymbol();
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp 623 } else if (const ExternalSymbolSDNode *ES =
624 dyn_cast<ExternalSymbolSDNode>(this)) {
lib/Target/AArch64/AArch64ISelLowering.cpp 4038 } else if (auto *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
4038 } else if (auto *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
6099 } else if (const ExternalSymbolSDNode *ES =
6100 dyn_cast<ExternalSymbolSDNode>(Op)) {
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 1092 if (const ExternalSymbolSDNode *G = dyn_cast<ExternalSymbolSDNode>(Callee))
1092 if (const ExternalSymbolSDNode *G = dyn_cast<ExternalSymbolSDNode>(Callee))
lib/Target/ARC/ARCISelLowering.cpp 326 else if (auto *E = dyn_cast<ExternalSymbolSDNode>(Callee))
326 else if (auto *E = dyn_cast<ExternalSymbolSDNode>(Callee))
lib/Target/ARM/ARMISelLowering.cpp 2301 } else if (ExternalSymbolSDNode *S=dyn_cast<ExternalSymbolSDNode>(Callee)) {
2301 } else if (ExternalSymbolSDNode *S=dyn_cast<ExternalSymbolSDNode>(Callee)) {
2351 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
2351 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/AVR/AVRISelLowering.cpp 917 if (const ExternalSymbolSDNode *G = dyn_cast<ExternalSymbolSDNode>(Callee)) {
917 if (const ExternalSymbolSDNode *G = dyn_cast<ExternalSymbolSDNode>(Callee)) {
1178 } else if (const ExternalSymbolSDNode *ES =
1179 dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/BPF/BPFISelLowering.cpp 370 } else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
370 } else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/Hexagon/HexagonISelLowering.cpp 492 } else if (ExternalSymbolSDNode *S =
493 dyn_cast<ExternalSymbolSDNode>(Callee)) {
3135 !isa<ExternalSymbolSDNode>(Callee)) {
lib/Target/Lanai/LanaiISelLowering.cpp 727 } else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
727 } else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp 155 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {
155 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {
lib/Target/MSP430/MSP430ISelLowering.cpp 885 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
885 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
1010 const char *Sym = cast<ExternalSymbolSDNode>(Op)->getSymbol();
lib/Target/Mips/Mips16ISelLowering.cpp 430 if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(CLI.Callee)) {
430 if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(CLI.Callee)) {
495 ExternalSymbolSDNode *S = cast<ExternalSymbolSDNode>(JumpTarget);
495 ExternalSymbolSDNode *S = cast<ExternalSymbolSDNode>(JumpTarget);
lib/Target/Mips/MipsISelLowering.cpp 157 SDValue MipsTargetLowering::getTargetNode(ExternalSymbolSDNode *N, EVT Ty,
2998 else if (const ExternalSymbolSDNode *ES =
2999 dyn_cast_or_null<const ExternalSymbolSDNode>(TargetAddr)) {
3041 const ExternalSymbolSDNode *ES =
3042 dyn_cast_or_null<const ExternalSymbolSDNode>(Callee.getNode());
3242 if (auto *N = dyn_cast<ExternalSymbolSDNode>(Callee)) {
3242 if (auto *N = dyn_cast<ExternalSymbolSDNode>(Callee)) {
3287 else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
3287 else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
3347 const ExternalSymbolSDNode *ES =
3348 dyn_cast_or_null<const ExternalSymbolSDNode>(CLI.Callee.getNode());
lib/Target/Mips/MipsISelLowering.h 411 SDValue getAddrGlobal(NodeTy *N, const SDLoc &DL, EVT Ty, SelectionDAG &DAG,
424 SDValue getAddrGlobalLargeGOT(NodeTy *N, const SDLoc &DL, EVT Ty,
443 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty,
460 SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty,
521 SDValue getTargetNode(ExternalSymbolSDNode *N, EVT Ty, SelectionDAG &DAG,
lib/Target/NVPTX/NVPTXISelLowering.cpp 1676 if (isa<ExternalSymbolSDNode>(Callee)) {
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 4410 else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
4410 else if (ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op)) {
lib/Target/PowerPC/PPCISelLowering.cpp 4680 !isa<ExternalSymbolSDNode>(Callee))
5000 if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
5000 if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
6289 !isa<ExternalSymbolSDNode>(Callee)) {
6683 !isa<ExternalSymbolSDNode>(Callee) &&
6797 if (!isFunctionGlobalAddress(Callee) && !isa<ExternalSymbolSDNode>(Callee))
lib/Target/RISCV/RISCVISelLowering.cpp 2279 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
2279 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/Sparc/SparcISelLowering.cpp 702 } else if (ExternalSymbolSDNode *E =
703 dyn_cast<ExternalSymbolSDNode>(Callee)) {
947 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
947 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
1250 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
1250 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
1920 if (const ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op))
1920 if (const ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Op))
lib/Target/SystemZ/SystemZISelLowering.cpp 1563 } else if (auto *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
1563 } else if (auto *E = dyn_cast<ExternalSymbolSDNode>(Callee)) {
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 1138 const auto *ES = cast<ExternalSymbolSDNode>(Op);
1138 const auto *ES = cast<ExternalSymbolSDNode>(Op);
lib/Target/X86/X86ISelDAGToDAG.cpp 1446 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {
1446 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {
lib/Target/X86/X86ISelLowering.cpp 3876 else if (isa<ExternalSymbolSDNode>(Callee))
4449 !isa<ExternalSymbolSDNode>(Callee)) ||
17869 const auto *ES = cast<ExternalSymbolSDNode>(Op);
17869 const auto *ES = cast<ExternalSymbolSDNode>(Op);
lib/Target/XCore/XCoreISelLowering.cpp 1197 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))
1197 else if (ExternalSymbolSDNode *E = dyn_cast<ExternalSymbolSDNode>(Callee))