| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-type-safety-mpi-hdf5.c | 24 typedef struct ompi_datatype_t *MPI_Datatype; typedef 28 typedef int MPI_Datatype; typedef 74 #define MPI_DATATYPE_NULL ((MPI_Datatype) 0xa0000000) 75 #define MPI_FLOAT ((MPI_Datatype) 0xa0000001) 227 MPI_Datatype my_unknown_datatype; 231 MPI_Datatype type) in test_not_annotated() 239 MPI_Datatype my_s1_compat_datatype 244 MPI_Datatype my_s3_compat_datatype 249 MPI_Datatype my_s4_compat_datatype 254 MPI_Datatype my_u1_compat_datatype [all …]
|
| H A D | warn-type-safety.cpp | 3 typedef struct ompi_datatype_t *MPI_Datatype; typedef 7 #define MPI_FLOAT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_float) 8 #define MPI_INT OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_int) 9 #define MPI_NULL OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_null) 24 void f1(void *buf, int count, MPI_Datatype datatype) 27 void f2(void *buf, int count, MPI_Datatype datatype) 30 void f3(void *buf, int count, MPI_Datatype datatype) 33 void f4(void *buf, int count, MPI_Datatype datatype) 36 void MPI_Send(void *buf, int count, MPI_Datatype datatype) 42 void value_dep(void *buf, int count, MPI_Datatype datatype)
|
| H A D | attr-type-safety.c | 5 typedef struct A *MPI_Datatype; typedef 26 int wrong1(void *buf, MPI_Datatype datatype); 29 int wrong2(void *buf, MPI_Datatype datatype); 32 int wrong3(void *buf, MPI_Datatype datatype); 35 int wrong4(void *buf, MPI_Datatype datatype); 38 int wrong5(void *buf, MPI_Datatype datatype); 41 int wrong6(void *buf, MPI_Datatype datatype);
|
| H A D | warn-type-safety.c | 7 typedef struct A *MPI_Datatype; typedef 9 int wrong1(void *buf, MPI_Datatype datatype) 12 int wrong2(void *buf, MPI_Datatype datatype) 15 int wrong3(void *buf, MPI_Datatype datatype) 18 int wrong4(void *buf, MPI_Datatype datatype) 21 int wrong5(void *buf, MPI_Datatype datatype) 24 int wrong6(void *buf, MPI_Datatype datatype) 29 int wrong7(void *buf, MPI_Datatype datatype) 32 int wrong8(void *buf, MPI_Datatype datatype) 37 int wrong10(double buf, MPI_Datatype type)
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | MPIMock.h | 7 typedef int MPI_Datatype; typedef 45 int MPI_Send(const void *, int, MPI_Datatype, int, int, MPI_Comm); 46 int MPI_Recv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Status *); 47 int MPI_Isend(const void *, int, MPI_Datatype, int, int, MPI_Comm, 49 int MPI_Irecv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *); 52 int MPI_Reduce(const void *, void *, int, MPI_Datatype, MPI_Op, int, MPI_Comm); 53 int MPI_Ireduce(const void *, void *, int, MPI_Datatype, MPI_Op, int, MPI_Comm, 55 int MPI_Bcast(void *, int count, MPI_Datatype, int, MPI_Comm);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/mpi/Inputs/type-mismatch/ |
| H A D | mpimock.h | 12 typedef int MPI_Datatype; typedef 52 int MPI_Send(const void *, int, MPI_Datatype, int, int, MPI_Comm); 53 int MPI_Recv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Status *); 54 int MPI_Isend(const void *, int, MPI_Datatype, int, int, MPI_Comm, 56 int MPI_Irecv(void *, int, MPI_Datatype, int, int, MPI_Comm, MPI_Request *); 59 int MPI_Reduce(const void *, void *, int, MPI_Datatype, MPI_Op, int, MPI_Comm); 60 int MPI_Ireduce(const void *, void *, int, MPI_Datatype, MPI_Op, int, MPI_Comm, 62 int MPI_Bcast(void *, int count, MPI_Datatype, int, MPI_Comm);
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | AttrDocs.td | 2869 the buffer type matches the passed ``MPI_Datatype``; 2959 typedef int MPI_Datatype; 2987 typedef int MPI_Datatype; 2990 #define MPI_INT ((MPI_Datatype) &mpi_datatype_int) 2999 typedef int MPI_Datatype; 3000 static const MPI_Datatype mpi_datatype_int 3002 #define MPI_INT ((MPI_Datatype) 42) 3025 typedef int MPI_Datatype; 3033 int MPI_Send(void *buf, int count, MPI_Datatype datatype, ...) 3060 typedef int MPI_Datatype; [all …]
|