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

References

include/llvm/IR/OperandTraits.h
   69   static Use *op_begin(SubClass* U) {
   71         !std::is_polymorphic<SubClass>::value,
   75   static Use *op_end(SubClass* U) {
include/llvm/IR/User.h
  127   template <int Idx, typename U> static Use &OpFrom(const U *that) {
  129       ? OperandTraits<U>::op_end(const_cast<U*>(that))[Idx]
  130       : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx];
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,
  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*,
lib/IR/Constants.cpp
 2411                    OperandTraits<GetElementPtrConstantExpr>::op_end(this) -
lib/IR/ConstantsContext.h
  242   static GetElementPtrConstantExpr *Create(Type *SrcElementTy, Constant *C,
  245     GetElementPtrConstantExpr *Result = new (IdxList.size() + 1)
  246         GetElementPtrConstantExpr(SrcElementTy, C, IdxList, DestTy);
  337     : public VariadicOperandTraits<GetElementPtrConstantExpr, 1> {};
  555       return GetElementPtrConstantExpr::Create(
lib/IR/Operator.cpp
   25   return cast<GetElementPtrConstantExpr>(this)->getSourceElementType();
   31   return cast<GetElementPtrConstantExpr>(this)->getResultElementType();