Home
last modified time | relevance | path

Searched refs:cpptype (Results 1 – 5 of 5) sorted by relevance

/llvm-project/mlir/include/mlir/CAPI/
H A DWrap.h25 #define DEFINE_C_API_PTR_METHODS(name, cpptype) \ argument
26 static inline name wrap(cpptype *cpp) { return name{cpp}; } \
27 static inline cpptype *unwrap(name c) { \
28 return static_cast<cpptype *>(c.ptr); \
31 #define DEFINE_C_API_METHODS(name, cpptype) \ argument
32 static inline name wrap(cpptype cpp) { \
35 static inline cpptype unwrap(name c) { \
36 return cpptype::getFromOpaquePointer(c.ptr); \
/llvm-project/flang/runtime/
H A Dcomplex-reduction.c107 #define ADAPT_REDUCTION(name, cComplex, cpptype, cmplxMacro, ARGS, ARG_NAMES) \ argument
108 struct cpptype RTNAME(CPP_NAME(name))(struct cpptype *, ARGS); \
110 struct cpptype result; \
/llvm-project/polly/lib/External/isl/interface/
H A Dplain_cpp.cc577 string classname, callback_name, cpptype; in print_persistent_callback_setter_prototype() local
583 cpptype = generator.param2cpp(param->getOriginalType()); in print_persistent_callback_setter_prototype()
586 classname.c_str(), callback_name.c_str(), cpptype.c_str(), in print_persistent_callback_setter_prototype()
970 string cpptype = generator.param2cpp(type); in print_arg_conversion() local
975 os << cpptype << "(" << name << ")"; in print_arg_conversion()
977 os << cpptype << "(ctx(), " << name << ")"; in print_arg_conversion()
H A Dcpp.cc656 string cpptype = type_printer.param(arg, type); in print_method_header() local
659 os << "const " << cpptype << " &" << name; in print_method_header()
661 os << cpptype << " " << name; in print_method_header()
H A Dtemplate_cpp.cc1708 auto cpptype = type_printer.param(shift + i, type); in print_callback_args() local
1710 print_arg(cpptype, name); in print_callback_args()