/freebsd-src/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrSIMD.td | 68 class Vec { 78 Vec split; 81 def I8x16 : Vec { 93 def I16x8 : Vec { 106 def I32x4 : Vec { 119 def I64x2 : Vec { 132 def F32x4 : Vec { 144 def F64x2 : Vec { 156 def F16x8 : Vec { 191 foreach vec [all...] |
/freebsd-src/contrib/elftoolchain/libelftc/ |
H A D | libelftc_dem_arm.c | 66 struct vector_str vec; member 119 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_ARM() 126 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_ARM() 141 if (VEC_PUSH_STR(&d.vec, "(") == false) in cpp_demangle_ARM() 167 arg_begin = d.vec.size; in cpp_demangle_ARM() 173 if (VEC_PUSH_STR(&d.vec, "*") == false) in cpp_demangle_ARM() 180 if (VEC_PUSH_STR(&d.vec, "&") == false) in cpp_demangle_ARM() 187 if (VEC_PUSH_STR(&d.vec, " const") == false) in cpp_demangle_ARM() 194 if (vector_str_push(&d.vec, d.array_str.buf, in cpp_demangle_ARM() 205 if ((arg = vector_str_substr(&d.vec, arg_begin, d.vec.size - 1, in cpp_demangle_ARM() [all …]
|
H A D | libelftc_dem_gnu2.c | 64 struct vector_str vec; member 122 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_gnu2() 127 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_gnu2() 130 if (VEC_PUSH_STR(&d.vec, "(void)") == false) in cpp_demangle_gnu2() 145 if (VEC_PUSH_STR(&d.vec, "(void)") == false) in cpp_demangle_gnu2() 154 if (VEC_PUSH_STR(&d.vec, "(") == false) in cpp_demangle_gnu2() 180 arg_begin = d.vec.size; in cpp_demangle_gnu2() 186 if (VEC_PUSH_STR(&d.vec, "*") == false) in cpp_demangle_gnu2() 193 if (VEC_PUSH_STR(&d.vec, "&") == false) in cpp_demangle_gnu2() 200 if (VEC_PUSH_STR(&d.vec, " const") == false) in cpp_demangle_gnu2() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMInstrMVE.td | 242 class MVEVectorVTInfo<ValueType vec, ValueType dblvec, 247 ValueType Vec = vec; 250 // of those in Vec, so we can use it in ISel patterns. It is up to the 259 // Same as Pred but for DblVec rather than Vec. 318 def : Pat<(VTI.Vec (Op (VTI.Vec MQPR:$Qm), (VTI.Vec MQPR:$Qn))), 319 (VTI.Vec (Inst (VTI.Vec MQPR:$Qm), (VTI.Vec MQPR:$Qn)))>; 323 def : Pat<(VTI.Vec (vselect (VTI.Pred VCCR:$mask), 324 (VTI.Vec (Op (VTI.Vec MQPR:$Qm), 325 (VTI.Vec MQPR:$Qn))), 326 (VTI.Vec MQPR:$inactive))), [all …]
|
/freebsd-src/crypto/openssl/crypto/ |
H A D | sparcv9cap.c | 76 extern unsigned int getisax(unsigned int vec[], unsigned int sz) __attribute__ ((weak)); 79 extern unsigned int getisax(unsigned int vec[], unsigned int sz); 81 static unsigned int (*getisax) (unsigned int vec[], unsigned int sz) = NULL; 105 unsigned int vec[2] = { 0, 0 }; in OPENSSL_cpuid_setup() local 107 if (getisax (vec,2)) { in OPENSSL_cpuid_setup() 108 if (vec[0]&0x00020) OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS1; in OPENSSL_cpuid_setup() 109 if (vec[0]&0x00040) OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS2; in OPENSSL_cpuid_setup() 110 if (vec[0]&0x00080) OPENSSL_sparcv9cap_P[0] |= SPARCV9_BLK; in OPENSSL_cpuid_setup() 111 if (vec[0]&0x00100) OPENSSL_sparcv9cap_P[0] |= SPARCV9_FMADD; in OPENSSL_cpuid_setup() 112 if (vec[0]&0x00400) OPENSSL_sparcv9cap_P[0] |= SPARCV9_VIS3; in OPENSSL_cpuid_setup() [all …]
|
H A D | cpuid.c | 99 IA32CAP vec; in OPENSSL_cpuid_setup() local 109 vec = ossl_strtouint64(env + off); in OPENSSL_cpuid_setup() 112 IA32CAP mask = vec; in OPENSSL_cpuid_setup() 113 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P) & ~mask; in OPENSSL_cpuid_setup() 123 vec &= ~((IA32CAP)(1<<1|1<<11|1<<25|1<<28) << 32); in OPENSSL_cpuid_setup() 126 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P); in OPENSSL_cpuid_setup() 147 vec = OPENSSL_ia32_cpuid(OPENSSL_ia32cap_P); in OPENSSL_cpuid_setup() 155 OPENSSL_ia32cap_P[0] = (unsigned int)vec | (1 << 10); in OPENSSL_cpuid_setup() 156 OPENSSL_ia32cap_P[1] = (unsigned int)(vec >> 32); in OPENSSL_cpuid_setup()
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 90 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() argument 91 : Data(Vec.data()), Length(Vec.size()) { in ArrayRef() 96 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() argument 97 : Data(Vec.data()), Length(Vec.size()) {} in ArrayRef() 116 constexpr /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() argument 117 : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec in ArrayRef() 280 std::vector<T> vec() const { vec() function 338 MutableArrayRef(SmallVectorImpl<T> & Vec) MutableArrayRef() argument 342 MutableArrayRef(std::vector<T> & Vec) MutableArrayRef() argument 533 makeArrayRef(const SmallVectorImpl<T> & Vec) makeArrayRef() argument 540 makeArrayRef(const SmallVector<T,N> & Vec) makeArrayRef() argument 547 makeArrayRef(const std::vector<T> & Vec) makeArrayRef() argument 561 makeArrayRef(const ArrayRef<T> & Vec) makeArrayRef() argument 568 makeArrayRef(ArrayRef<T> & Vec) makeArrayRef() argument 626 makeMutableArrayRef(SmallVectorImpl<T> & Vec) makeMutableArrayRef() argument 633 makeMutableArrayRef(SmallVector<T,N> & Vec) makeMutableArrayRef() argument 640 makeMutableArrayRef(std::vector<T> & Vec) makeMutableArrayRef() argument 654 makeMutableArrayRef(const MutableArrayRef<T> & Vec) makeMutableArrayRef() argument [all...] |
H A D | PackedVector.h | 71 /// PackedVector<signed, 2> vec; 84 PackedVector &Vec; variable 89 reference(PackedVector &vec, unsigned idx) : Vec(vec), Idx(idx) {} in reference() argument 92 Vec.setValue(Vec.Bits, Idx, val); 97 return Vec.getValue(Vec.Bits, Idx); in T()
|
/freebsd-src/contrib/bearssl/tools/ |
H A D | brssl.h | 96 #define VEC_CLEAR(vec) do { \ argument 97 xfree((vec).buf); \ 98 (vec).buf = NULL; \ 99 (vec).ptr = 0; \ 100 (vec).len = 0; \ 107 #define VEC_CLEAREXT(vec, fun) do { \ argument 109 for (vec_tmp = 0; vec_tmp < (vec).ptr; vec_tmp ++) { \ 110 (fun)(&(vec).buf[vec_tmp]); \ 112 VEC_CLEAR(vec); \ 118 #define VEC_ADD(vec, x) do { \ argument [all …]
|
/freebsd-src/sys/powerpc/powerpc/ |
H A D | ptrace_machdep.c | 51 struct vec vec; in cpu_ptrace() local 58 bzero(&vec, sizeof(vec)); in cpu_ptrace() 69 memcpy(&vec, &pcb->pcb_vec, sizeof(vec)); in cpu_ptrace() 71 error = copyout(&vec, addr, sizeof(vec)); in cpu_ptrace() 76 error = copyin(addr, &vec, sizeof(vec)); in cpu_ptrace() 79 memcpy(&pcb->pcb_vec, &vec, sizeof(vec)); in cpu_ptrace()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 46 /// %wide.vec = load <8 x i32>, <8 x i32>* %ptr 47 /// %v0 = shuffle <8 x i32> %wide.vec, <8 x i32> poison, <0, 2, 4, 6> 48 /// %v1 = shuffle <8 x i32> %wide.vec, <8 x i32> poison, <1, 3, 5, 7> 288 ArrayRef<Value *> Vec, ArrayRef<int> VPShuf, in reorderSubVector() argument 294 TransposedMatrix[i] = Builder.CreateShuffleVector(Vec[i], VPShuf); in reorderSubVector() 305 Vec[i % Stride], Vec[(i + 1) % Stride], OptimizeShuf); in reorderSubVector() 508 // Invec[0] - |0| Vec[0] - |0| 509 // Invec[1] - |1| => Vec[1] - |1| 510 // Invec[2] - |2| Vec[ 522 concatSubVector(Value ** Vec,ArrayRef<Instruction * > InVec,unsigned VecElems,IRBuilder<> & Builder) concatSubVector() argument 556 Value *Vec[6], *TempVector[3]; deinterleave8bitStride3() local 640 Value *Vec[3], *TempVector[3]; interleave8bitStride3() local [all...] |
H A D | X86LowerAMXIntrinsics.cpp | 191 // %vec.phi.row = phi <256 x i32> [ zeroinitializer, %entry ], [ %ResVec, in createTileLoadStoreLoops() 195 PHINode *VecCPhiRowLoop = B.CreatePHI(V256I32Ty, 2, "vec.phi.row"); in createTileLoadStoreLoops() 199 // %vec.phi = phi <256 x i32> [ %vec.phi.row, %tileload.scalarize.rows.body in createTileLoadStoreLoops() 202 PHINode *VecPhi = B.CreatePHI(V256I32Ty, 2, "vec.phi"); in createTileLoadStoreLoops() 209 // %ResVec = insertelement <256 x i32> %vec.phi, i32 %elt, i16 %idxvec in createTileLoadStoreLoops() 219 Value *Vec = BitCast->getOperand(0); in createTileLoadStoreLoops() local 220 assert(isV256I32Ty(Vec->getType()) && "bitcast from non-v256i32 to x86amx"); in createTileLoadStoreLoops() 224 // %vec = extractelement <16 x i32> %vec, i1 in createTileLoadStoreLoops() 501 Value *Vec; lowerTileDP() local 545 Value *Vec; lowerTileLoadStore() local 563 Value *Vec; lowerTileZero() local [all...] |
/freebsd-src/contrib/tcsh/ |
H A D | sh.set.c | 68 exportpath(p->vec); in update_vars() 77 no_clobber = set_noclobber(p->vec); in update_vars() 363 prev = v->vec[subscr - 1]; in asx() 365 v->vec[subscr - 1] = globone(p, G_APPEND); in asx() 376 if (subscr < 1 || subscr > blklen(v->vec)) in getvx() 459 val = operate(op, gv->vec[subscr - 1], p); in dolet() 497 Char *vec[5]; in operate() local 498 Char **v = vec; in operate() 590 return ((vp == NULL || vp->vec == NULL || vp->vec[0] == NULL) ? in value1() 591 STRNULL : vp->vec[0]); in value1() [all …]
|
/freebsd-src/contrib/bc/src/ |
H A D | read.c | 96 bc_read_buf(BcVec* vec, char* buf, size_t* buf_len) in bc_read_buf() argument 116 bc_vec_npush(vec, nllen, buf); in bc_read_buf() 125 bc_vec_npush(vec, *buf_len, buf); in bc_read_buf() 132 bc_read_chars(BcVec* vec, const char* prompt) in bc_read_chars() argument 136 assert(vec != NULL && vec->size == sizeof(char)); in bc_read_chars() 141 bc_vec_popAll(vec); in bc_read_chars() 151 if (bc_read_buf(vec, vm->buf, &vm->buf_len)) in bc_read_chars() 153 bc_vec_pushByte(vec, '\0'); in bc_read_chars() 219 bc_vec_pushByte(vec, '\ in bc_read_chars() 242 bc_read_line(BcVec * vec,const char * prompt) bc_read_line() argument [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/display/ |
H A D | brcm,bcm2835-vec.yaml | 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml# 7 title: Broadcom VC4 (VideoCore4) VEC 15 - brcm,bcm2711-vec 16 - brcm,bcm2835-vec 42 vec: vec@7e806000 { 43 compatible = "brcm,bcm2835-vec";
|
/freebsd-src/contrib/llvm-project/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 96 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort() argument 98 if (Vec.size() <= 1) in multikeySort() 102 // [I, J) are the same as the pivot, and [J, Vec.size()) are less than in multikeySort() 104 int Pivot = charTailAt(Vec[0], Pos); in multikeySort() 106 size_t J = Vec.size(); in multikeySort() 108 int C = charTailAt(Vec[K], Pos); in multikeySort() 110 std::swap(Vec[I++], Vec[K++]); in multikeySort() 112 std::swap(Vec[--J], Vec[K]); in multikeySort() 117 multikeySort(Vec.slice(0, I), Pos); in multikeySort() 118 multikeySort(Vec.slice(J), Pos); in multikeySort() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEInstrPatternsVec.td | 69 def: Pat<(s32 (extractelt v32:$vec, uimm7:$idx)), 70 (SubRegCast (LVSvi v32:$vec, (ULO7 $idx)))>; 72 def: Pat<(s32 (extractelt v32:$vec, i64:$idx)), 73 (SubRegCast (LVSvr v32:$vec, $idx))>; 76 def: Pat<(v32 (insertelt v32:$vec, s32:$val, uimm7:$idx)), 77 (LSVir_v (ULO7 $idx), (SuperRegCast $val), $vec)>; 79 def: Pat<(v32 (insertelt v32:$vec, s32:$val, i64:$idx)), 80 (LSVrr_v $idx, (SuperRegCast $val), $vec)>; 85 def: Pat<(s64 (extractelt v64:$vec, uimm7:$idx)), 86 (LVSvi v64:$vec, (ULO7 $idx))>; [all …]
|
/freebsd-src/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 100 int len, tlen, npad, fd, k, m, vec, system = -1, nb; in dvrecv() local 162 vec = 0; in dvrecv() 216 wbuf[vec].iov_base = pad; in dvrecv() 217 wbuf[vec++].iov_len = npad; in dvrecv() 218 if (vec >= NPACKET_R) { in dvrecv() 219 writev(fd, wbuf, vec); in dvrecv() 220 vec = 0; in dvrecv() 231 wbuf[vec].iov_base = (char *) dv; in dvrecv() 232 wbuf[vec++].iov_len = DSIZE; in dvrecv() 233 if (vec >= NPACKET_R) { in dvrecv() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandReductions.cpp | 76 Value *Vec = II->getArgOperand(1); 79 Rdx = getOrderedReduction(Builder, Acc, Vec, RdxOpcode, RK); in expandReductions() 82 cast<FixedVectorType>(Vec->getType())->getNumElements())) in expandReductions() 84 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions() 99 Value *Vec = II->getArgOperand(0); in expandReductions() 100 auto *FTy = cast<FixedVectorType>(Vec->getType()); in expandReductions() 106 Rdx = Builder.CreateBitCast(Vec, Builder.getIntNTy(NumElts)); in expandReductions() 117 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions() 127 Value *Vec = II->getArgOperand(0); in expandReductions() 129 cast<FixedVectorType>(Vec in expandReductions() 122 Value *Vec = II->getArgOperand(1); expandReductions() local 145 Value *Vec = II->getArgOperand(0); expandReductions() local 173 Value *Vec = II->getArgOperand(0); expandReductions() local 185 Value *Vec = II->getArgOperand(0); expandReductions() local [all...] |
/freebsd-src/contrib/llvm-project/lld/MachO/ |
H A D | ExportTrie.cpp | 220 // S contained in vec has the same prefix S[0...pos). 221 void TrieBuilder::sortAndBuild(MutableArrayRef<const Symbol *> vec, in sortAndBuild() argument 224 if (vec.empty()) in sortAndBuild() 228 // [i, j) are the same as the pivot, and [j, vec.size()) are greater than in sortAndBuild() 230 const Symbol *pivotSymbol = vec[vec.size() / 2]; in sortAndBuild() 233 size_t j = vec.size(); in sortAndBuild() 235 int c = charAt(vec[k], pos); in sortAndBuild() 237 std::swap(vec[i++], vec[k++]); in sortAndBuild() 239 std::swap(vec[--j], vec[k]); in sortAndBuild() 245 bool prefixesDiverge = i != 0 || j != vec.size(); in sortAndBuild() [all …]
|
/freebsd-src/contrib/bc/include/ |
H A D | read.h | 53 * @param vec The vector to put the stdin data into. 57 bc_read_line(BcVec* vec, const char* prompt); 71 * @param vec The vec to put the stdin into. 75 bc_read_chars(BcVec* vec, const char* prompt); 78 * Read a line from buf into vec. 79 * @param vec The vector to read data into. 84 bc_read_buf(BcVec* vec, char* buf, size_t* buf_len);
|
/freebsd-src/contrib/ntp/libntp/ |
H A D | syssignal.c | 35 struct sigaction vec; in signal_no_reset() local 38 ZERO(vec); in signal_no_reset() 39 sigemptyset(&vec.sa_mask); in signal_no_reset() 40 vec.sa_handler = func; in signal_no_reset() 45 vec.sa_flags = Z_SA_RESTART; in signal_no_reset() 49 vec.sa_flags = Z_SA_RESTART; in signal_no_reset() 53 n = sigaction(sig, &vec, &ovec); in signal_no_reset()
|
/freebsd-src/tests/sys/vm/ |
H A D | mlock_test.c | 187 char vec; in ATF_TC_BODY() local 220 error = mincore(addr1, pagesizes[0], &vec); in ATF_TC_BODY() 222 if ((vec & MINCORE_SUPER) == 0) in ATF_TC_BODY() 227 error = mincore(addr2, pagesizes[0], &vec); in ATF_TC_BODY() 229 ATF_REQUIRE((vec & MINCORE_SUPER) != 0); in ATF_TC_BODY() 247 error = mincore(addr1, pagesizes[0], &vec); in ATF_TC_BODY() 249 ATF_REQUIRE((vec & MINCORE_SUPER) == 0); in ATF_TC_BODY() 251 error = mincore(addr1, pagesizes[0], &vec); in ATF_TC_BODY() 253 ATF_REQUIRE((vec & MINCORE_SUPER) != 0); in ATF_TC_BODY() 259 error = mincore(addr2, pagesizes[0], &vec); in ATF_TC_BODY() [all …]
|
/freebsd-src/contrib/pf/pflogd/ |
H A D | privsep_fdpass.c | 58 struct iovec vec; in send_fd() local 76 vec.iov_base = &result; in send_fd() 77 vec.iov_len = sizeof(int); in send_fd() 78 msg.msg_iov = &vec; in send_fd() 97 struct iovec vec; in receive_fd() local 103 vec.iov_base = &result; in receive_fd() 104 vec.iov_len = sizeof(int); in receive_fd() 105 msg.msg_iov = &vec; in receive_fd()
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegacyLegalizerInfo.cpp | 247 LegacyLegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) { in findAction() argument 249 // Find the last element in Vec that has a bitsize equal to or smaller than in findAction() 253 Vec, [=](const SizeAndAction &A) { return A.first <= Size; }); in findAction() 254 assert(It != Vec.begin() && "Does Vec not start with size 1?"); in findAction() 255 int VecIdx = It - Vec.begin() - 1; in findAction() 257 LegacyLegalizeAction Action = Vec[VecIdx].second; in findAction() 268 if (Vec == SizeAndActionsVec({{1, FewerElements}})) in findAction() 280 if (!needsLegalizingToDifferentSize(Vec[i].second) && in findAction() 281 Vec[i].second != Unsupported) in findAction() 282 return {Vec[i].first, Action}; in findAction() [all …]
|