/external/neven/Embedded/common/src/b_BasicEm/ |
D | Memory.c | 52 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy16() argument 55 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + sizeA ) >> 16 ) && in bbs_memcpy16() 56 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + sizeA ) >> 16 ) ) in bbs_memcpy16() 62 for( iL = sizeA; iL--; ) in bbs_memcpy16() 71 for( iL = 0; iL < sizeA; iL++ ) in bbs_memcpy16() 81 for( ; sizeA >= 4; sizeA -= 4 ) in bbs_memcpy16() 91 for( ; sizeA > 0; sizeA-- ) in bbs_memcpy16() 102 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ) in bbs_memcpy32() argument 105 if( ( ( int32 ) dstA >> 16 ) == ( ( ( int32 ) dstA + ( sizeA << 1 ) ) >> 16 ) && in bbs_memcpy32() 106 ( ( int32 ) srcA >> 16 ) == ( ( ( int32 ) srcA + ( sizeA << 1 ) ) >> 16 ) ) in bbs_memcpy32() [all …]
|
D | Math.c | 37 extern int32 bbs_dotProduct_128SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA ); 38 extern int32 bbs_dotProduct_u128SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA ); 42 int32 bbs_dotProduct_fr71( const int16* vec1A, const int16* vec2A, uint32 sizeA ); 344 int32 bbs_dotProduct_intelMMX16( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_intelMMX16() argument 354 mov ecx, sizeA in bbs_dotProduct_intelMMX16() 418 int32 bbs_dotProduct_intelMMX16( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_intelMMX16() argument 479 : "g" ( vec1A ), "g" ( vec2A ), "g" ( sizeA ) in bbs_dotProduct_intelMMX16() 497 int32 bbs_dotProduct_dsp( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_dsp() argument 499 if( sizeA & 1 ) in bbs_dotProduct_dsp() 502 resultL = dotProduct_C62x( vec1A, vec2A, sizeA - 1 ); in bbs_dotProduct_dsp() [all …]
|
D | Functions.c | 132 uint32 sizeA, uint16* memPtrA ) in bbs_memWrite32Arr() argument 139 for( iL = 0; iL < sizeA; iL++ ) in bbs_memWrite32Arr() 144 return sizeA * bbs_SIZEOF16( uint32 ); in bbs_memWrite32Arr() 151 uint32 sizeA, in bbs_memRead32Arr() argument 159 for( iL = 0; iL < sizeA; iL++ ) in bbs_memRead32Arr() 164 return sizeA * bbs_SIZEOF16( uint32 ); in bbs_memRead32Arr() 171 uint32 sizeA, in bbs_memWrite16Arr() argument 179 for( iL = 0; iL < sizeA; iL++ ) in bbs_memWrite16Arr() 184 return sizeA * bbs_SIZEOF16( uint16 ); in bbs_memWrite16Arr() 191 uint32 sizeA, in bbs_memRead16Arr() argument [all …]
|
D | Int16Arr.c | 120 uint32 sizeA ) in bbs_Int16Arr_heapSize() argument 122 return sizeA * bbs_SIZEOF16( int16 ) + bbs_MEM_BLOCK_OVERHD; in bbs_Int16Arr_heapSize() 137 uint32 sizeA, in bbs_Int16Arr_create() argument 141 if( ptrA->sizeE == sizeA ) return; in bbs_Int16Arr_create() 144 bbs_Int16Arr_size( cpA, ptrA, sizeA ); in bbs_Int16Arr_create() 148 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( int16 ) ); in bbs_Int16Arr_create() 150 ptrA->allocatedSizeE = sizeA; in bbs_Int16Arr_create() 151 ptrA->sizeE = sizeA; in bbs_Int16Arr_create() 160 uint32 sizeA, in bbs_Int16Arr_createAligned() argument 166 bbs_Int16Arr_create( cpA, allocPtrA, sizeA + ( ( alignBytesA - 1 ) >> 1 ), mspA ); in bbs_Int16Arr_createAligned() [all …]
|
D | UInt16Arr.c | 116 uint32 startIndexA, uint32 sizeA ) in bbs_UInt16Arr_checkSum() argument 121 for( iL = sizeA; iL > 0; iL-- ) in bbs_UInt16Arr_checkSum() 132 uint32 sizeA ) in bbs_UInt16Arr_heapSize() argument 134 return sizeA * bbs_SIZEOF16( uint16 ) + bbs_MEM_BLOCK_OVERHD; in bbs_UInt16Arr_heapSize() 149 uint32 sizeA ) in bbs_UInt16Arr_size() argument 151 if( ptrA->allocatedSizeE < sizeA ) in bbs_UInt16Arr_size() 158 ptrA->sizeE = sizeA; in bbs_UInt16Arr_size() 165 uint32 sizeA, in bbs_UInt16Arr_create() argument 169 if( ptrA->sizeE == sizeA ) return; in bbs_UInt16Arr_create() 172 bbs_UInt16Arr_size( cpA, ptrA, sizeA ); in bbs_UInt16Arr_create() [all …]
|
D | MathSSE2.c | 34 int32 bbs_dotProduct_64SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_64SSE2() argument 48 alignOffSetL = sizeA % 16; in bbs_dotProduct_64SSE2() 49 sizeA >>= 4; in bbs_dotProduct_64SSE2() 51 if( sizeA ) in bbs_dotProduct_64SSE2() 53 while( sizeA > 0 ) in bbs_dotProduct_64SSE2() 85 sizeA--; in bbs_dotProduct_64SSE2() 146 int32 bbs_dotProduct_128SSE2( const int16* vec1A, const int16* vec2A, uint32 sizeA ) in bbs_dotProduct_128SSE2() argument 158 alignOffSetL = sizeA % 16; in bbs_dotProduct_128SSE2() 159 sizeA >>= 4; in bbs_dotProduct_128SSE2() 161 if( sizeA ) in bbs_dotProduct_128SSE2() [all …]
|
D | UInt32Arr.c | 116 uint32 sizeA ) in bbs_UInt32Arr_heapSize() argument 118 return sizeA * bbs_SIZEOF16( uint32 ) + bbs_MEM_BLOCK_OVERHD; in bbs_UInt32Arr_heapSize() 133 uint32 sizeA, in bbs_UInt32Arr_create() argument 137 if( ptrA->sizeE == sizeA ) return; in bbs_UInt32Arr_create() 140 bbs_UInt32Arr_size( cpA, ptrA, sizeA ); in bbs_UInt32Arr_create() 144 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( uint32 ) ); in bbs_UInt32Arr_create() 146 ptrA->allocatedSizeE = sizeA; in bbs_UInt32Arr_create() 147 ptrA->sizeE = sizeA; in bbs_UInt32Arr_create() 156 uint32 sizeA ) in bbs_UInt32Arr_size() argument 158 if( ptrA->allocatedSizeE < sizeA ) in bbs_UInt32Arr_size() [all …]
|
D | Int32Arr.c | 116 uint32 sizeA ) in bbs_Int32Arr_heapSize() argument 118 return sizeA * bbs_SIZEOF16( int32 ) + bbs_MEM_BLOCK_OVERHD; in bbs_Int32Arr_heapSize() 133 uint32 sizeA, in bbs_Int32Arr_create() argument 137 if( ptrA->sizeE == sizeA ) return; in bbs_Int32Arr_create() 140 bbs_Int32Arr_size( cpA, ptrA, sizeA ); in bbs_Int32Arr_create() 144 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( int32 ) ); in bbs_Int32Arr_create() 146 ptrA->allocatedSizeE = sizeA; in bbs_Int32Arr_create() 147 ptrA->sizeE = sizeA; in bbs_Int32Arr_create() 156 uint32 sizeA ) in bbs_Int32Arr_size() argument 158 if( ptrA->allocatedSizeE < sizeA ) in bbs_Int32Arr_size() [all …]
|
D | ComplexArr.c | 116 uint32 sizeA ) in bbs_ComplexArr_heapSize() argument 118 return sizeA * bbs_SIZEOF16( struct bbs_Complex ) + bbs_MEM_BLOCK_OVERHD; in bbs_ComplexArr_heapSize() 133 uint32 sizeA, in bbs_ComplexArr_create() argument 139 bbs_ComplexArr_size( cpA, ptrA, sizeA ); in bbs_ComplexArr_create() 143 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( struct bbs_Complex ) ); in bbs_ComplexArr_create() 145 ptrA->allocatedSizeE = sizeA; in bbs_ComplexArr_create() 146 ptrA->sizeE = sizeA; in bbs_ComplexArr_create() 155 uint32 sizeA ) in bbs_ComplexArr_size() argument 157 if( ptrA->allocatedSizeE < sizeA ) in bbs_ComplexArr_size() 164 ptrA->sizeE = sizeA; in bbs_ComplexArr_size()
|
D | APhArr.c | 116 uint32 sizeA ) in bbs_APhArr_heapSize() argument 118 return sizeA * bbs_SIZEOF16( struct bbs_APh ) + bbs_MEM_BLOCK_OVERHD; in bbs_APhArr_heapSize() 133 uint32 sizeA, in bbs_APhArr_create() argument 139 bbs_APhArr_size( cpA, ptrA, sizeA ); in bbs_APhArr_create() 143 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( struct bbs_APh ) ); in bbs_APhArr_create() 145 ptrA->allocatedSizeE = sizeA; in bbs_APhArr_create() 146 ptrA->sizeE = sizeA; in bbs_APhArr_create() 155 uint32 sizeA ) in bbs_APhArr_size() argument 157 if( ptrA->allocatedSizeE < sizeA ) in bbs_APhArr_size() 164 ptrA->sizeE = sizeA; in bbs_APhArr_size()
|
D | Int8Arr.c | 116 uint32 sizeA ) in bbs_Int8Arr_heapSize() argument 118 return ( sizeA >> 1 ) + bbs_MEM_BLOCK_OVERHD; in bbs_Int8Arr_heapSize() 133 uint32 sizeA, in bbs_Int8Arr_create() argument 137 if( ptrA->sizeE == sizeA ) return; in bbs_Int8Arr_create() 140 bbs_Int8Arr_size( cpA, ptrA, sizeA ); in bbs_Int8Arr_create() 145 uint32 sizeL = sizeA; in bbs_Int8Arr_create() 152 ptrA->sizeE = sizeA; in bbs_Int8Arr_create() 161 uint32 sizeA ) in bbs_Int8Arr_size() argument 163 if( ptrA->allocatedSizeE < sizeA ) in bbs_Int8Arr_size() 170 ptrA->sizeE = sizeA; in bbs_Int8Arr_size()
|
D | UInt8Arr.c | 116 uint32 sizeA ) in bbs_UInt8Arr_heapSize() argument 118 return ( sizeA >> 1 ) + bbs_MEM_BLOCK_OVERHD; in bbs_UInt8Arr_heapSize() 133 uint32 sizeA, in bbs_UInt8Arr_create() argument 137 if( ptrA->sizeE == sizeA ) return; in bbs_UInt8Arr_create() 140 bbs_UInt8Arr_size( cpA, ptrA, sizeA ); in bbs_UInt8Arr_create() 145 uint32 sizeL = sizeA; in bbs_UInt8Arr_create() 152 ptrA->sizeE = sizeA; in bbs_UInt8Arr_create() 161 uint32 sizeA ) in bbs_UInt8Arr_size() argument 163 if( ptrA->allocatedSizeE < sizeA ) in bbs_UInt8Arr_size() 170 ptrA->sizeE = sizeA; in bbs_UInt8Arr_size()
|
D | MemSeg.c | 209 void* memPtrA, uint32 sizeA ) in bbs_MemSeg_create() argument 213 memSegL.sizeE = sizeA & 0xFFFFFFFE; /* enforce even size to avoid overflow problems */ in bbs_MemSeg_create() 224 void* memPtrA, uint32 sizeA ) in bbs_MemSeg_createShared() argument 228 memSegL.sizeE = sizeA; in bbs_MemSeg_createShared() 240 uint32 sizeA ) in bbs_MemSeg_alloc() argument 250 uint32 effSizeL = sizeA + ( sizeA & 1 ) + 2; /* effective block size */ in bbs_MemSeg_alloc() 258 "Exclusive Memory overflow. Segment size: %i. Requested size: %i", ptrA->sizeE, sizeA ); in bbs_MemSeg_alloc() 265 memPtrL = bbs_DynMemManager_alloc( cpA, ptrA->dynMemManagerPtrE, ptrA, sizeA ); in bbs_MemSeg_alloc() 270 uint32 effSizeL = sizeA + ( sizeA & 1 ); /* effective block size */ in bbs_MemSeg_alloc() 278 "Shared Memory overflow. Segment size: %i. Requested size: %i", ptrA->sizeE, sizeA ); in bbs_MemSeg_alloc()
|
D | String.c | 50 char* bbs_strncpy( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncpy() argument 53 for( iL = 0; iL < sizeA; iL++ ) in bbs_strncpy() 57 if( iL == sizeA && sizeA > 0 ) dstA[ iL - 1 ] = 0; in bbs_strncpy() 74 char* bbs_strncat( char* dstA, const char* srcA, uint32 sizeA ) in bbs_strncat() argument 77 for( iL = 0; iL < sizeA; iL++ ) in bbs_strncat() 82 for( ; iL < sizeA; iL++ ) in bbs_strncat() 87 if( iL == sizeA && sizeA > 0 ) dstA[ iL - 1 ] = 0; in bbs_strncat()
|
D | MemTbl.c | 103 const void* memPtrA, uint32 sizeA ) in bbs_MemTbl_overlap() argument 110 memPtrA, sizeA ) ) in bbs_MemTbl_overlap() 120 memPtrA, sizeA ) ) in bbs_MemTbl_overlap() 158 uint32 sizeA, in bbs_MemTbl_create() argument 161 if( sharedSubSizeA > sizeA ) in bbs_MemTbl_create() 170 ptrA->esArrE[ 0 ] = bbs_MemSeg_create( cpA, memPtrA, sizeA - sharedSubSizeA ); in bbs_MemTbl_create() 172 …emSeg_createShared( cpA, ( uint16* ) ( ( int32 ) ( ( uint16* )memPtrA ) + sizeA - sharedSubSizeA )… in bbs_MemTbl_create() 174 …ptrA->ssArrE[ 0 ] = bbs_MemSeg_createShared( cpA, ( uint16* )memPtrA + sizeA - sharedSubSizeA, sha… in bbs_MemTbl_create() 187 uint32 sizeA, in bbs_MemTbl_add() argument 196 ptrA->esArrE[ ptrA->esSizeE ] = bbs_MemSeg_create( cpA, memPtrA, sizeA ); in bbs_MemTbl_add() [all …]
|
D | Memory.h | 45 void* bbs_memcpy16( void* dstA, const void* srcA, uint32 sizeA ); 51 void* bbs_memcpy32( void* dstA, const void* srcA, uint32 sizeA ); 57 void* bbs_memset16( void* dstA, uint16 valA, uint32 sizeA ); 63 void* bbs_memset32( void* dstA, uint32 valA, uint32 sizeA );
|
D | Functions.h | 70 uint32 sizeA, uint16* memPtrA ); 75 uint32 sizeA, const uint16* memPtrA ); 80 uint32 sizeA, uint16* memPtrA ); 85 uint32 sizeA, const uint16* memPtrA ); 108 uint16 bbs_memCheckSum16( const uint16* memPtrA, uint32 sizeA );
|
D | UInt16Arr.h | 86 uint32 startIndexA, uint32 sizeA ); 91 uint32 sizeA ); 98 uint32 sizeA, 103 struct bbs_UInt16Arr* ptrA, uint32 sizeA );
|
D | Int16Arr.h | 86 uint32 sizeA ); 93 uint32 sizeA, 104 uint32 sizeA, 112 uint32 sizeA );
|
D | MemTbl.h | 80 const void* memPtrA, uint32 sizeA ); 92 uint32 sizeA, 99 uint32 sizeA, 106 uint32 sizeA,
|
D | Math.h | 122 int32 bbs_dotProductInt16( const int16* vec1A, const int16* vec2A, uint32 sizeA ); 154 void bbs_vecSqrNorm32( const int32* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ); 160 void bbs_vecSqrNorm16( const int16* vecA, uint32 sizeA, uint32* manPtrA, uint32* expPtrA ); 165 uint32 bbs_vecNorm16( const int16* vecA, uint32 sizeA );
|
D | APhArr.h | 87 uint32 sizeA ); 97 uint32 sizeA, 103 uint32 sizeA );
|
/external/llvm-project/polly/test/ScopInfo/ |
D | invariant_load_dereferenceable.ll | 11 ; CHECK-NEXT: [sizeA] -> { Stmt_for_body_j__TO__for_latch_j[i0, i1] -> MemRef_siz… 12 ; CHECK-NEXT: Execution Context: [sizeA] -> { : } 16 ; CHECK-NEXT: [sizeA] -> { Stmt_for_body_j__TO__for_latch_j[i0, i1] -> MemRef_A[i1, i… 49 %sizeA = load i64, i64* %sizeA_ptr 50 %prodA = mul i64 %sext.j, %sizeA 95 %sizeA = load i64, i64* %sizeA_ptr 96 %prodA = mul i64 %sext.j, %sizeA
|
/external/neven/Embedded/common/src/b_TensorEm/ |
D | Cluster3D.c | 275 uint32 sizeA, in bts_Cluster3D_create() argument 286 if( ptrA->sizeE == sizeA ) return; in bts_Cluster3D_create() 295 ptrA->vecArrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( struct bts_Int16Vec3D ) ); in bts_Cluster3D_create() 297 ptrA->sizeE = sizeA; in bts_Cluster3D_create() 298 ptrA->allocatedSizeE = sizeA; in bts_Cluster3D_create() 306 uint32 sizeA ) in bts_Cluster3D_size() argument 308 if( ptrA->allocatedSizeE < sizeA ) in bts_Cluster3D_size() 313 sizeA ); in bts_Cluster3D_size() 316 ptrA->sizeE = sizeA; in bts_Cluster3D_size()
|
D | IdCluster2D.c | 121 uint32 sizeA, in bts_IdCluster2D_create() argument 125 bts_Cluster2D_create( cpA, &ptrA->clusterE, sizeA, mspA ); in bts_IdCluster2D_create() 126 bbs_Int16Arr_create( cpA, &ptrA->idArrE, sizeA, mspA ); in bts_IdCluster2D_create() 133 uint32 sizeA ) in bts_IdCluster2D_size() argument 135 bts_Cluster2D_size( cpA, &ptrA->clusterE, sizeA ); in bts_IdCluster2D_size() 136 bbs_Int16Arr_size( cpA, &ptrA->idArrE, sizeA ); in bts_IdCluster2D_size()
|