Home
last modified time | relevance | path

Searched refs:CFI_cdesc_t (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/flang/include/flang/
DISO_Fortran_binding.h123 typedef struct CFI_cdesc_t { struct
137 } CFI_cdesc_t; argument
144 template <int r> struct CdescStorage : public CFI_cdesc_t {
148 template <> struct CdescStorage<1> : public CFI_cdesc_t {};
149 template <> struct CdescStorage<0> : public CFI_cdesc_t {};
155 CFI_cdesc_t cdesc; /* must be first */ \
164 void *CFI_address(const CFI_cdesc_t *, const CFI_index_t subscripts[]);
165 int CFI_allocate(CFI_cdesc_t *, const CFI_index_t lower_bounds[],
167 int CFI_deallocate(CFI_cdesc_t *);
168 int CFI_establish(CFI_cdesc_t *, void *base_addr, CFI_attribute_t, CFI_type_t,
[all …]
/external/llvm-project/flang/runtime/
DISO_Fortran_binding.cpp23 static inline constexpr bool IsAssumedSize(const CFI_cdesc_t *dv) { in IsAssumedSize()
28 const CFI_cdesc_t *descriptor, const CFI_index_t subscripts[]) { in CFI_address()
38 int CFI_allocate(CFI_cdesc_t *descriptor, const CFI_index_t lower_bounds[], in CFI_allocate()
89 int CFI_deallocate(CFI_cdesc_t *descriptor) { in CFI_deallocate()
215 int CFI_establish(CFI_cdesc_t *descriptor, void *base_addr, in CFI_establish()
263 int CFI_is_contiguous(const CFI_cdesc_t *descriptor) { in CFI_is_contiguous()
274 int CFI_section(CFI_cdesc_t *result, const CFI_cdesc_t *source, in CFI_section()
346 int CFI_select_part(CFI_cdesc_t *result, const CFI_cdesc_t *source, in CFI_select_part()
381 int CFI_setpointer(CFI_cdesc_t *result, const CFI_cdesc_t *source, in CFI_setpointer()
Ddescriptor.h180 ISO::CFI_cdesc_t &raw() { return raw_; } in raw()
181 const ISO::CFI_cdesc_t &raw() const { return raw_; } in raw()
310 ISO::CFI_cdesc_t raw_;
312 static_assert(sizeof(Descriptor) == sizeof(ISO::CFI_cdesc_t));
/external/llvm-project/flang/unittests/Evaluate/
DISO-Fortran-binding.cpp31 (alignof(CFI_cdesc_t) - 1)); in Check()
52 static void AddNoiseToCdesc(CFI_cdesc_t *dv, CFI_rank_t rank) { in AddNoiseToCdesc()
82 static void check_CFI_establish(CFI_cdesc_t *dv, void *base_addr, in check_CFI_establish()
162 CFI_cdesc_t *dv{&dv_storage}; in run_CFI_establish_tests()
193 CFI_cdesc_t *dv_3darray{&dv3darrayStorage}; in run_CFI_establish_tests()
202 const CFI_cdesc_t *dv, const CFI_index_t subscripts[]) { in check_CFI_address()
211 static void EstablishLowerBounds(CFI_cdesc_t *dv, CFI_index_t *sub) { in EstablishLowerBounds()
220 CFI_cdesc_t *dv{&storage}; in ByteSize()
231 CFI_cdesc_t *dv{&dv_storage}; in run_CFI_address_tests()
286 static void check_CFI_allocate(CFI_cdesc_t *dv, in check_CFI_allocate()
[all …]