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) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  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/SelectionDAG.cpp
  510     ID.AddPointer(cast<SrcValueSDNode>(N)->getValue());
 1837   auto *N = newSDNode<SrcValueSDNode>(V);
 1837   auto *N = newSDNode<SrcValueSDNode>(V);
 1899   const Value *V = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
 1935   const Value *VD = cast<SrcValueSDNode>(Node->getOperand(3))->getValue();
 1936   const Value *VS = cast<SrcValueSDNode>(Node->getOperand(4))->getValue();
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  628   } else if (const SrcValueSDNode *M = dyn_cast<SrcValueSDNode>(this)) {
  628   } else if (const SrcValueSDNode *M = dyn_cast<SrcValueSDNode>(this)) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 5322   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 5337   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 5353   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 5431   const Value *DestSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
 5432   const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
 5444   const Value *V = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/ARC/ARCISelLowering.cpp
  742   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/ARM/ARMISelLowering.cpp
 3827   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/AVR/AVRISelLowering.cpp
  671   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/Hexagon/HexagonISelLowering.cpp
  805   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/Lanai/LanaiISelLowering.cpp
 1012   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/MSP430/MSP430ISelLowering.cpp
 1305   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/Mips/MipsISelLowering.cpp
 2140   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 2152   const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
lib/Target/PowerPC/PPCISelLowering.cpp
 3035   const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
 3191     const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 3236   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/RISCV/RISCVISelLowering.cpp
  663   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/Sparc/SparcISelLowering.cpp
 2515   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 2526   const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
lib/Target/SystemZ/SystemZISelLowering.cpp
 3163   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
 3195   const Value *DstSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
 3196   const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1189   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
lib/Target/X86/X86ISelLowering.cpp
22280   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
22344   const Value *SV = cast<SrcValueSDNode>(Op.getOperand(2))->getValue();
22404   const Value *DstSV = cast<SrcValueSDNode>(Op.getOperand(3))->getValue();
22405   const Value *SrcSV = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
24378   const Value *TrmpAddr = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();
24435       cast<Function>(cast<SrcValueSDNode>(Op.getOperand(5))->getValue());
lib/Target/XCore/XCoreISelLowering.cpp
  743   const Value *SV = cast<SrcValueSDNode>(Node->getOperand(2))->getValue();
  866   const Value *TrmpAddr = cast<SrcValueSDNode>(Op.getOperand(4))->getValue();