reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
58 return To::classof(&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; 227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) { 228 typename cast_retty<To, FromTy>::ret_type Res2 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/PointerLikeTypeTraits.h
56 static inline void *getAsVoidPointer(T *P) { return P; } 57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); } 59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };lib/Transforms/Coroutines/CoroCleanup.cpp
40 static void lowerSubFn(IRBuilder<> &Builder, CoroSubFnInst *SubFn) { 81 lowerSubFn(Builder, cast<CoroSubFnInst>(II));lib/Transforms/Coroutines/CoroEarly.cpp
31 void lowerResumeOrDestroy(CallSite CS, CoroSubFnInst::ResumeKind); 51 CoroSubFnInst::ResumeKind Index) { 198 lowerResumeOrDestroy(CS, CoroSubFnInst::ResumeIndex); 201 lowerResumeOrDestroy(CS, CoroSubFnInst::DestroyIndex);lib/Transforms/Coroutines/CoroElide.cpp
31 SmallVector<CoroSubFnInst *, 4> ResumeAddr; 32 SmallVector<CoroSubFnInst *, 4> DestroyAddr; 46 SmallVectorImpl<CoroSubFnInst *> &Users) { 63 for (CoroSubFnInst *I : Users) 165 SmallPtrSet<CoroSubFnInst *, 4> DAs; 166 for (CoroSubFnInst *DA : DestroyAddr) { 177 for (CoroSubFnInst *DA : DAs) { 214 if (auto *II = dyn_cast<CoroSubFnInst>(U)) 214 if (auto *II = dyn_cast<CoroSubFnInst>(U)) 216 case CoroSubFnInst::ResumeIndex: 219 case CoroSubFnInst::DestroyIndex: 233 ConstantExpr::getExtractValue(Resumers, CoroSubFnInst::ResumeIndex); 241 ShouldElide ? CoroSubFnInst::CleanupIndex : CoroSubFnInst::DestroyIndex); 241 ShouldElide ? CoroSubFnInst::CleanupIndex : CoroSubFnInst::DestroyIndex); 257 SmallVector<CoroSubFnInst *, 1> DevirtAddr; 259 if (auto *SubFn = dyn_cast<CoroSubFnInst>(&I)) 259 if (auto *SubFn = dyn_cast<CoroSubFnInst>(&I)) 260 if (SubFn->getIndex() == CoroSubFnInst::RestartTrigger)lib/Transforms/Coroutines/CoroSplit.cpp
956 if (isa<CoroSubFnInst>(CalledValue->stripPointerCasts())) 1091 auto *SubFn = dyn_cast<CoroSubFnInst>(Callee); 1091 auto *SubFn = dyn_cast<CoroSubFnInst>(Callee); 1401 Lowerer.makeSubFnCall(Null, CoroSubFnInst::RestartTrigger, InsertPt);usr/include/c++/7.4.0/type_traits
1983 { typedef _Up type; };