| /openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/ |
| H A D | altivec.h | 45 #define vector __vector macro 123 inline vector float vec_ctf (vector unsigned int, const char) __attribute__ ((always_inline)); 124 inline vector float vec_ctf (vector signed int, const char) __attribute__ ((always_inline)); 125 inline vector float vec_vcfsx (vector signed int a1, const char a2) __attribute__ ((always_inline)); 126 inline vector float vec_vcfux (vector unsigned int a1, const char a2) __attribute__ ((always_inline… 127 inline vector signed int vec_cts (vector float, const char) __attribute__ ((always_inline)); 128 inline vector unsigned int vec_ctu (vector float, const char) __attribute__ ((always_inline)); 131 inline void vec_dst (vector unsigned char *, int, const char) __attribute__ ((always_inline)); 132 inline void vec_dst (vector signed char *, int, const char) __attribute__ ((always_inline)); 133 inline void vec_dst (vector unsigned short *, int, const char) __attribute__ ((always_inline)); [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Headers/ |
| H A D | altivec.h | 50 static __inline__ vector signed char __ATTRS_o_ai vec_perm( 51 vector signed char __a, vector signed char __b, vector unsigned char __c); 53 static __inline__ vector unsigned char __ATTRS_o_ai 54 vec_perm(vector unsigned char __a, vector unsigned char __b, 55 vector unsigned char __c); 57 static __inline__ vector bool char __ATTRS_o_ai 58 vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c); 60 static __inline__ vector short __ATTRS_o_ai vec_perm(vector signed short __a, 61 vector signed short __b, 62 vector unsigned char __c); [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/basics/ |
| H A D | amdgpu_vector.c | 30 struct vector *vector, in dal_vector_construct() argument 35 vector->container = NULL; in dal_vector_construct() 43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct() 44 if (vector->container == NULL) in dal_vector_construct() 46 vector->capacity = capacity; in dal_vector_construct() 47 vector->struct_size = struct_size; in dal_vector_construct() 48 vector->count = 0; in dal_vector_construct() 49 vector->ctx = ctx; in dal_vector_construct() 53 static bool dal_vector_presized_costruct(struct vector *vector, in dal_vector_presized_costruct() argument 61 vector->container = NULL; in dal_vector_presized_costruct() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | BuiltinsSystemZ.def | 35 TARGET_BUILTIN(__builtin_s390_lcbb, "UivC*Ii", "nc", "vector") 36 TARGET_BUILTIN(__builtin_s390_vlbb, "V16ScvC*Ii", "", "vector") 37 TARGET_BUILTIN(__builtin_s390_vll, "V16ScUivC*", "", "vector") 38 TARGET_BUILTIN(__builtin_s390_vstl, "vV16ScUiv*", "", "vector") 39 TARGET_BUILTIN(__builtin_s390_vperm, "V16UcV16UcV16UcV16Uc", "nc", "vector") 40 TARGET_BUILTIN(__builtin_s390_vpdi, "V2ULLiV2ULLiV2ULLiIi", "nc", "vector") 41 TARGET_BUILTIN(__builtin_s390_vpksh, "V16ScV8SsV8Ss", "nc", "vector") 42 TARGET_BUILTIN(__builtin_s390_vpkshs, "V16ScV8SsV8Ssi*", "nc", "vector") 43 TARGET_BUILTIN(__builtin_s390_vpksf, "V8SsV4SiV4Si", "nc", "vector") 44 TARGET_BUILTIN(__builtin_s390_vpksfs, "V8SsV4SiV4Sii*", "nc", "vector") [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.arch/ |
| H A D | altivec-abi.c | 3 vector short vshort = {111, 222, 333, 444, 555, 666, 777, 888}; 4 vector unsigned short vushort = {100, 200, 300, 400, 500, 600, 700, 800}; 5 vector int vint = {-10, -20, -30, -40}; 6 vector unsigned int vuint = {1111, 2222, 3333, 4444}; 7 vector char vchar = {'a','b','c','d','e','f','g','h','i','l','m','n','o','p','q','r'}; 8 vector unsigned char vuchar = {'A','B','C','D','E','F','G','H','I','L','M','N','O','P','Q','R'}; 9 vector float vfloat = {1.25, 3.75, 5.5, 1.25}; 11 vector short vshort_d = {0,0,0,0,0,0,0,0}; 12 vector unsigned short vushort_d = {0,0,0,0,0,0,0,0}; 13 vector int vint_d = {0,0,0,0}; [all …]
|
| H A D | e500-abi.c | 5 #define vector __attribute__((vector_size(8))) macro 7 vector unsigned short f_vec; 8 vector short g_vec; 9 vector float h_vec; 10 vector float i_vec; 11 vector unsigned int l_vec; 12 vector int m_vec; 13 vector int n_vec; 16 vector unsigned int a_vec_d = {1, 1}; 17 vector int b_vec_d = {0, 0}; [all …]
|
| H A D | altivec-regs.c | 4 vector unsigned int 5 vector_fun (vector unsigned int a, vector unsigned int b) in vector_fun() 7 vector unsigned int c; in vector_fun() 8 a = ((vector unsigned int) vec_splat_u8(2)); in vector_fun() 9 b = ((vector unsigned int) vec_splat_u8(3)); in vector_fun() 18 vector unsigned int y; in main() 19 vector unsigned int x; in main() 20 vector unsigned int z; in main() 29 x = ((vector unsigned int) vec_splat_u8 (-2)); in main() 30 y = ((vector unsigned int) vec_splat_u8 (1)); in main() [all …]
|
| H A D | e500-regs.c | 4 #define vector __attribute__((vector_size(8))) macro 7 vector int 8 vector_fun (vector int a, vector int b) in vector_fun() 10 vector int c; in vector_fun() 11 a = (vector int) __ev_create_s32 (2, 2); in vector_fun() 12 b = (vector int) __ev_create_s32 (3, 3); in vector_fun() 21 vector int y; in main() 22 vector int x; in main() 23 vector int z; in main() 32 x = (vector int) __ev_create_s32 (-2, -2); in main() [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/include/ |
| H A D | vector.h | 29 struct vector { struct 38 struct vector *vector, argument 43 struct vector *dal_vector_create( 50 struct vector *dal_vector_presized_create( 57 struct vector *vector); 60 struct vector **vector); 63 const struct vector *vector); 73 struct vector *vector, 78 struct vector *vector, 83 const struct vector *vector, [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.td | 39 def v1i1 : ValueType<1, 17>; // 1 x i1 vector value 40 def v2i1 : ValueType<2, 18>; // 2 x i1 vector value 41 def v4i1 : ValueType<4, 19>; // 4 x i1 vector value 42 def v8i1 : ValueType<8, 20>; // 8 x i1 vector value 43 def v16i1 : ValueType<16, 21>; // 16 x i1 vector value 44 def v32i1 : ValueType<32, 22>; // 32 x i1 vector value 45 def v64i1 : ValueType<64, 23>; // 64 x i1 vector value 46 def v128i1 : ValueType<128, 24>; // 128 x i1 vector value 47 def v256i1 : ValueType<256, 25>; // 256 x i1 vector value 48 def v512i1 : ValueType<512, 26>; // 512 x i1 vector value [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Headers/hlsl/ |
| H A D | hlsl_basic_types.h | 31 typedef vector<int16_t, 2> int16_t2; 32 typedef vector<int16_t, 3> int16_t3; 33 typedef vector<int16_t, 4> int16_t4; 34 typedef vector<uint16_t, 2> uint16_t2; 35 typedef vector<uint16_t, 3> uint16_t3; 36 typedef vector<uint16_t, 4> uint16_t4; 39 typedef vector<int, 2> int2; 40 typedef vector<int, 3> int3; 41 typedef vector<int, 4> int4; 42 typedef vector<uint, 2> uint2; [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | environ.c | 39 e->vector = (char **) xmalloc ((e->allocated + 1) * sizeof (char *)); in make_environ() 40 e->vector[0] = 0; in make_environ() 49 char **vector = e->vector; in free_environ() local 51 while (*vector) in free_environ() 52 xfree (*vector++); in free_environ() 75 e->vector = (char **) xrealloc ((char *) e->vector, in init_environ() 79 memcpy (e->vector, environ, (i + 1) * sizeof (char *)); in init_environ() 83 int len = strlen (e->vector[i]); in init_environ() 85 memcpy (new, e->vector[i], len + 1); in init_environ() 86 e->vector[i] = new; in init_environ() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineScheduler.h | 62 std::vector<SUnit*> SUnits; 64 std::vector<SUnit*> TopReadySUs; 65 std::vector<SUnit*> ScheduledSUnits; 75 std::vector<unsigned> InternalAdditionalPressure; 77 std::vector<unsigned> LiveInPressure; 78 std::vector<unsigned> LiveOutPressure; 90 std::vector<unsigned> HasLowLatencyNonWaitedParent; 95 std::vector<SIScheduleBlock*> Preds; // All blocks predecessors. 97 std::vector<std::pair<SIScheduleBlock*, SIScheduleBlockLinkKind>> Succs; 119 const std::vector<SIScheduleBlock*>& getPreds() const { return Preds; } in getPreds() [all …]
|
| /openbsd-src/gnu/gcc/gcc/doc/ |
| H A D | extend.texi | 73 * Vector Extensions:: Using vector instructions through built-in functions. 1972 @cindex calling functions through the function vector on the H8/300 processors 1974 function should be called through the function vector. Calling a 1975 function through the function vector will reduce code size, however; 1976 the function vector has a limited size (maximum 128 entries on the H8/300 1977 and 64 entries on the H8/300H and H8S) and shares space with the interrupt vector. 3223 This attribute specifies the vector size for the variable, measured in 3232 divided into @code{int} sized units. Assuming a 32-bit int (a vector of 3810 The @code{altivec} attribute allows one to declare AltiVec vector data 3812 attribute requires an argument to specify one of three vector types: [all …]
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | DLL.h | 28 std::vector<DefinedImportData *> imports; 29 std::vector<Chunk *> dirs; 30 std::vector<Chunk *> lookups; 31 std::vector<Chunk *> addresses; 32 std::vector<Chunk *> hints; 33 std::vector<Chunk *> dllNames; 44 std::vector<Chunk *> getChunks(); 45 std::vector<Chunk *> getDataChunks(); 60 std::vector<DefinedImportData *> imports; 61 std::vector<Chunk *> dirs; [all …]
|
| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | GenerateInput.h | 51 inline std::vector<IntT> getDuplicateIntegerInputs(size_t N) { in getDuplicateIntegerInputs() 52 std::vector<IntT> inputs(N, static_cast<IntT>(-1)); in getDuplicateIntegerInputs() 57 inline std::vector<IntT> getSortedIntegerInputs(size_t N) { in getSortedIntegerInputs() 58 std::vector<IntT> inputs; in getSortedIntegerInputs() 65 std::vector<IntT> getSortedLargeIntegerInputs(size_t N) { in getSortedLargeIntegerInputs() 66 std::vector<IntT> inputs; in getSortedLargeIntegerInputs() 74 std::vector<IntT> getSortedTopBitsIntegerInputs(size_t N) { in getSortedTopBitsIntegerInputs() 75 std::vector<IntT> inputs = getSortedIntegerInputs<IntT>(N); in getSortedTopBitsIntegerInputs() 81 inline std::vector<IntT> getReverseSortedIntegerInputs(size_t N) { in getReverseSortedIntegerInputs() 82 std::vector<IntT> inputs; in getReverseSortedIntegerInputs() [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | vector | 14 vector synopsis 20 class vector 36 vector() 38 explicit vector(const allocator_type&); 39 explicit vector(size_type n); 40 explicit vector(size_type n, const allocator_type&); // C++14 41 vector(size_type n, const value_type& value, const allocator_type& = allocator_type()); 43 vector(InputIterator first, InputIterator last, const allocator_type& = allocator_type()); 44 vector(const vector& x); 45 vector(vector&& x) [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/doc/ |
| H A D | extend.texi | 472 * Vector Extensions:: Using vector instructions through built-in functions. 2412 @cindex calling functions through the function vector on the H8/300 processors 2414 function should be called through the function vector. Calling a 2415 function through the function vector will reduce code size, however; 2416 the function vector has a limited size (maximum 128 entries on the H8/300 2417 and 64 entries on the H8/300H) and shares space with the interrupt vector. 3254 This attribute specifies the vector size for the variable, measured in 3263 divided into @code{int} sized units. Assuming a 32-bit int (a vector of 4532 @section Using vector instructions through built-in functions 4534 On some targets, the instruction set contains SIMD vector instructions that [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/bugpoint/ |
| H A D | ToolRunner.h | 40 std::vector<std::string> ccArgs; // CC-specific arguments. 42 const std::vector<std::string> *CCArgs) in CC() 53 const std::vector<std::string> *Args); 63 const std::string &ProgramFile, const std::vector<std::string> &Args, 66 const std::vector<std::string> &CCArgs = std::vector<std::string>(), 74 const std::vector<std::string> &ArgsForCC); 88 const std::vector<std::string> *Args = nullptr, 89 const std::vector<std::string> *CCArgs = nullptr, 94 const std::vector<std::string> *Args = nullptr); 98 const std::vector<std::string> *Args = nullptr); [all …]
|
| H A D | ToolRunner.cpp | 146 std::vector<std::string> ToolArgs; // Args to pass to LLI 148 LLI(const std::string &Path, const std::vector<std::string> *Args) in LLI() 157 const std::string &Bitcode, const std::vector<std::string> &Args, 159 const std::vector<std::string> &CCArgs, 160 const std::vector<std::string> &SharedLibs = std::vector<std::string>(), 166 const std::vector<std::string> &Args, in ExecuteProgram() 169 const std::vector<std::string> &CCArgs, in ExecuteProgram() 170 const std::vector<std::string> &SharedLibs, in ExecuteProgram() 172 std::vector<StringRef> LLIArgs; in ExecuteProgram() 176 for (std::vector<std::string>::const_iterator i = SharedLibs.begin(), in ExecuteProgram() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | CodeLayout.h | 37 std::vector<uint64_t> 38 applyExtTspLayout(const std::vector<uint64_t> &NodeSizes, 39 const std::vector<uint64_t> &NodeCounts, 40 const std::vector<EdgeCountT> &EdgeCounts); 46 double calcExtTspScore(const std::vector<uint64_t> &Order, 47 const std::vector<uint64_t> &NodeSizes, 48 const std::vector<uint64_t> &NodeCounts, 49 const std::vector<EdgeCountT> &EdgeCounts); 52 double calcExtTspScore(const std::vector<uint64_t> &NodeSizes, 53 const std::vector<uint64_t> &NodeCounts, [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/tests/ |
| H A D | asan_internal_interface_test.cpp | 17 std::vector<char> buffer(17, 0xff); in TEST() 20 EXPECT_EQ(std::vector<char>(buffer.size(), 0x00), buffer); in TEST() 23 EXPECT_EQ(std::vector<char>(buffer.size(), 0x01), buffer); in TEST() 26 EXPECT_EQ(std::vector<char>(buffer.size(), 0x02), buffer); in TEST() 29 EXPECT_EQ(std::vector<char>(buffer.size(), 0x03), buffer); in TEST() 32 EXPECT_EQ(std::vector<char>(buffer.size(), 0x04), buffer); in TEST() 35 EXPECT_EQ(std::vector<char>(buffer.size(), 0x05), buffer); in TEST() 38 EXPECT_EQ(std::vector<char>(buffer.size(), 0x06), buffer); in TEST() 41 EXPECT_EQ(std::vector<char>(buffer.size(), 0x07), buffer); in TEST() 44 EXPECT_EQ(std::vector<char>(buffer.size(), 0xf1), buffer); in TEST() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
| H A D | altivec-1.c | 10 vector int a1 = { 100, 200, 300, 400 }; 11 vector int a2 = { 500, 600, 700, 800 }; 12 vector int addi = { 600, 800, 1000, 1200 }; 13 vector int avgi = { 300, 400, 500, 600 }; 15 vector float f1 = { 1.0, 2.0, 3.0, 4.0 }; 16 vector float f2 = { 5.0, 6.0, 7.0, 8.0 }; 17 vector float f3; 18 vector float addf = { 6.0, 8.0, 10.0, 12.0 }; 20 vector int k; 21 vector float f, g, h;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | WindowsResource.h | 157 Error parse(WindowsResource *WR, std::vector<std::string> &Duplicates); 159 std::vector<std::string> &Duplicates); 160 void cleanUpManifests(std::vector<std::string> &Duplicates); 163 ArrayRef<std::vector<uint8_t>> getData() const { return Data; } in getData() 164 ArrayRef<std::vector<UTF16>> getStringTable() const { return StringTable; } in getStringTable() 202 std::vector<std::vector<uint8_t>> &Data, 203 std::vector<std::vector<UTF16>> &StringTable, 206 std::vector<std::vector<UTF16>> &StringTable); 208 std::vector<std::vector<UTF16>> &StringTable); 210 std::vector<std::vector<uint8_t>> &Data, [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | RenamingAction.h | 31 RenamingAction(const std::vector<std::string> &NewNames, 32 const std::vector<std::string> &PrevNames, 33 const std::vector<std::vector<std::string>> &USRList, 42 const std::vector<std::string> &NewNames, &PrevNames; 43 const std::vector<std::vector<std::string>> &USRList; 93 llvm::Expected<std::vector<AtomicChange>> 101 const std::vector<std::string> &NewNames, in QualifiedRenamingAction() 102 const std::vector<std::vector<std::string>> &USRList, in QualifiedRenamingAction() 110 const std::vector<std::string> &NewNames; 113 const std::vector<std::vector<std::string>> &USRList;
|