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

References

include/llvm/Support/Casting.h
   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*,
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  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;
utils/TableGen/DAGISelMatcher.cpp
  360   if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) {
  360   if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M)) {
  374   if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M))
  374   if (const CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(M))
utils/TableGen/DAGISelMatcher.h
  508     return cast<CheckTypeMatcher>(M)->Type == Type;
utils/TableGen/DAGISelMatcherEmitter.cpp
  523     if (cast<CheckTypeMatcher>(N)->getResNo() == 0) {
  525          << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  528     OS << "OPC_CheckTypeRes, " << cast<CheckTypeMatcher>(N)->getResNo()
  529        << ", " << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
utils/TableGen/DAGISelMatcherGen.cpp
  550     AddMatcher(new CheckTypeMatcher(N->getSimpleType(ResultsToTypeCheck[i]),
utils/TableGen/DAGISelMatcherOpt.cpp
   49     if (CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(MC->getNext()))
   49     if (CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(MC->getNext()))
  148   if ((isa<CheckTypeMatcher>(N) || isa<CheckChildTypeMatcher>(N) ||
  368       CheckTypeMatcher *CTM =
  369         cast_or_null<CheckTypeMatcher>(FindNodeWithKind(NewOptionsToMatch[i],
  415       auto *CTM = cast<CheckTypeMatcher>(M);
  415       auto *CTM = cast<CheckTypeMatcher>(M);
  453       MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0));