Home
last modified time | relevance | path

Searched refs:ST (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/openbsd-src/lib/libcrypto/bn/asm/
H A Dppc.pl112 $ST= "stw"; # store
136 $ST= "std"; # store
294 $ST r9,`0*$BNSZ`(r3) # r[0]=c1;
309 $ST r10,`1*$BNSZ`(r3) #r[1]=c2;
328 $ST r11,`2*$BNSZ`(r3) #r[2]=c3
352 $ST r9,`3*$BNSZ`(r3) #r[3]=c1
370 $ST r10,`4*$BNSZ`(r3) #r[4]=c2
382 $ST r11,`5*$BNSZ`(r3) #r[5] = c3
389 $ST r9,`6*$BNSZ`(r3) #r[6]=c1
390 $ST r10,`7*$BNSZ`(r3) #r[7]=c2
[all …]
H A Dmips.pl57 $ST="sd";
72 $ST="sw";
163 $ST $t1,0($a0)
176 $ST $t3,$BNSZ($a0)
190 $ST $ta1,-2*$BNSZ($a0)
202 $ST $ta3,-$BNSZ($a0)
223 $ST $t1,0($a0)
238 $ST $t1,$BNSZ($a0)
252 $ST $t1,2*$BNSZ($a0)
315 $ST $v0,0($a0)
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp67 MipsLegalizerInfo::MipsLegalizerInfo(const MipsSubtarget &ST) { in MipsLegalizerInfo() argument
82 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
85 if (ST.hasMSA() && CheckTyN(0, Query, {v16s8, v8s16, v4s32, v2s64})) in MipsLegalizerInfo()
106 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
109 {s32, p0, 16, ST.systemSupportsUnalignedAccess()}, in MipsLegalizerInfo()
112 {s64, p0, 64, ST.systemSupportsUnalignedAccess()}})) in MipsLegalizerInfo()
114 if (ST.hasMSA() && CheckTy0Ty1MemSizeAlign( in MipsLegalizerInfo()
125 .customIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
140 if (!ST.systemSupportsUnalignedAccess() && in MipsLegalizerInfo()
198 .legalIf([=, &ST](const LegalityQuery &Query) { in MipsLegalizerInfo()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Win32API-File/
H A DFile.xs46 # define XST_mUV(i,v) (ST(i) = sv_2mortal(newSVuv(v)) )
242 lInBuf= SvCUR(ST(2));
243 } else if( SvCUR(ST(2)) < lInBuf ) {
245 "Win32API::File::DeviceIoControl", SvCUR(ST(2)), lInBuf );
248 grow_buf_l( opOutBuf,ST(4),char *, lOutBuf,ST(5) );
254 opOutBuf trunc_buf_l( RETVAL, opOutBuf,ST(4), olRetBytes );
344 grow_buf_l( osBuffer,ST(1),char *, lBufSize,ST(0) );
346 if( lBufSize < RETVAL && autosize(ST(0)) ) {
348 grow_buf_l( osBuffer,ST(1),char *, lBufSize,ST(0) );
354 trunc_buf_l( 1, osBuffer,ST(1), RETVAL );
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h35 const RISCVSubtarget *ST; variable
38 const RISCVSubtarget *getST() const { return ST; } in getST()
56 : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)), in RISCVTTIImpl()
57 TLI(ST->getTargetLowering()) {} in RISCVTTIImpl()
77 bool supportsScalableVectors() const { return ST->hasVInstructions(); } in supportsScalableVectors()
78 bool enableScalableVectorization() const { return ST->hasVInstructions(); } in enableScalableVectorization()
80 return ST->hasVInstructions() ? PredicationStyle::Data in emitGetActiveLaneMask()
111 return ST->useRVVForFixedLengthVectors() ? 16 : 0; in getMinVectorRegisterBitWidth()
176 if (!ST->hasVInstructions()) in isLegalMaskedLoadStore()
180 if (isa<FixedVectorType>(DataType) && !ST->useRVVForFixedLengthVectors()) in isLegalMaskedLoadStore()
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Win32/
H A DWin32.xs329 source = sv_to_wstr(aTHX_ ST(0)); in XS()
331 ST(0) = wstr_to_sv(aTHX_ value); in XS()
360 ST(0) = sv_2mortal(newSViv(pfnIsUserAnAdmin() ? 1 : 0)); in XS()
409 ST(0) = sv_2mortal(newSViv(iRetVal)); in XS()
430 bResult = LookupAccountNameA(SvPV_nolen(ST(0)), /* System */ in XS()
431 SvPV_nolen(ST(1)), /* Account name */ in XS()
438 sv_setpv(ST(2), Domain); in XS()
439 sv_setpvn(ST(3), SID, SIDLen); in XS()
440 sv_setiv(ST(4), snu); in XS()
461 sid = SvPV_nolen(ST(1)); in XS()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/IO/
H A DIO.xs157 ST(0) = sv_newmortal();
159 ST(0) = &PL_sv_undef;
162 sv_setpvn(ST(0), (char *)&pos, sizeof(Fpos_t));
165 ST(0) = sv_newmortal();
166 if (PerlIO_getpos(handle, ST(0)) != 0) {
167 ST(0) = &PL_sv_undef;
173 ST(0) = &PL_sv_undef;
176 ST(0) = newSVpvn_flags((char*)&pos, sizeof(Fpos_t), SVs_TEMP);
178 ST(0) = sv_2mortal(newSVpvn((char*)&pos, sizeof(Fpos_t)));
185 ST(
[all...]
/openbsd-src/gnu/usr.bin/perl/
H A Dregexec.c6235 if (ST.cache_mask) \
6236 reginfo->info_aux->poscache[ST.cache_offset] |= ST.cache_mask; \
6344 block of code we #define ST to alias the relevant union.
6352 #define ST st->u.ifmatch
6355 ST.foo = ...; // some state we wish to save
6365 bar = ST.foo; // do something with the preserved value
6372 #undef ST
6394 want to claim it, populate any ST.foo fields in it with values you wish to
6403 new free state. An ST
6630 #define ST S_regmatch() macro
8005 #define ST S_regmatch() macro
8110 #define ST S_regmatch() macro
8788 #define ST S_regmatch() macro
8836 #define ST S_regmatch() macro
9055 #define ST S_regmatch() macro
9142 #define ST S_regmatch() macro
9322 #define ST S_regmatch() macro
9724 #define ST S_regmatch() macro
9876 #define ST S_regmatch() macro
[all...]
H A Duniversal.c446 SV * const sv = ST(0); in XS()
453 ST(0) = boolSV(sv_derived_from_sv(sv, ST(1), 0)); in XS()
465 char *class_pv= SvPV_nolen(ST(0)); in XS()
478 SVfARG(ST(1)), in XS()
480 SVfARG(ST(0))); in XS()
498 sv = ST(0); in XS()
528 GV * const gv = gv_fetchmethod_sv_flags(pkg, ST(1), 0); in XS()
533 ST(0) = rv; in XS()
546 SV * const sv = ST( in XS()
[all...]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp51 const GCNSubtarget &ST);
57 ST(MF.getSubtarget<GCNSubtarget>()), in GCNHazardRecognizer()
58 TII(*ST.getInstrInfo()), in GCNHazardRecognizer()
63 TSchedModel.init(&ST); in GCNHazardRecognizer()
64 RunLdsBranchVmemWARHazardFixup = shouldRunLdsBranchVmemWARHazardFixup(MF, ST); in GCNHazardRecognizer()
122 static bool isXDL(const GCNSubtarget &ST, const MachineInstr &MI) { in isXDL() argument
131 if (!ST.hasGFX940Insts()) in isXDL()
193 if (ST.hasNSAtoVMEMBug() && checkNSAtoVMEMHazard(MI) > 0) in getHazardType()
199 if (ST.hasNoDataDepHazard()) in getHazardType()
234 if (((ST.hasReadM0MovRelInterpHazard() && in getHazardType()
[all …]
H A DSIMachineFunctionInfo.cpp61 const GCNSubtarget &ST = *static_cast<const GCNSubtarget *>(STI); in SIMachineFunctionInfo() local
62 FlatWorkGroupSizes = ST.getFlatWorkGroupSizes(F); in SIMachineFunctionInfo()
63 WavesPerEU = ST.getWavesPerEU(F); in SIMachineFunctionInfo()
65 Occupancy = ST.computeOccupancy(F, getLDSSize()); in SIMachineFunctionInfo()
76 if (!F.arg_empty() || ST.getImplicitArgNumBytes(F) != 0) in SIMachineFunctionInfo()
84 MayNeedAGPRs = ST.hasMAIInsts(); in SIMachineFunctionInfo()
94 if (!ST.enableFlatScratch()) { in SIMachineFunctionInfo()
107 MaxKernArgAlign = std::max(ST.getAlignmentForImplicitArgPtr(), in SIMachineFunctionInfo()
110 if (ST.hasGFX90AInsts() && in SIMachineFunctionInfo()
111 ST.getMaxNumVGPRs(F) <= AMDGPU::VGPR_32RegClass.getNumRegs() && in SIMachineFunctionInfo()
[all …]
H A DGCNIterativeScheduler.cpp92 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printRegions() local
97 OS << "Max RP: " << print(R->MaxPressure, &ST); in printRegions()
115 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in printSchedRP() local
116 OS << "RP before: " << print(Before, &ST) in printSchedRP()
117 << "RP after: " << print(After, &ST); in printSchedRP()
399 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in scheduleRegion() local
405 << print(SchedMaxRP, &ST) in scheduleRegion()
406 << "RP for schedule (reported): " << print(MaxRP, &ST) in scheduleRegion()
407 << "RP after scheduling: " << print(RegionMaxRP, &ST), in scheduleRegion()
413 const auto &ST = MF.getSubtarget<GCNSubtarget>(); in sortRegionsByPressure() local
[all …]
H A DSIFrameLowering.cpp73 const GCNSubtarget &ST = MF.getSubtarget<GCNSubtarget>(); in getVGPRSpillLaneOrTempRegister() local
74 const SIRegisterInfo *TRI = ST.getRegisterInfo(); in getVGPRSpillLaneOrTempRegister()
124 static void buildPrologSpill(const GCNSubtarget &ST, const SIRegisterInfo &TRI, in buildPrologSpill() argument
131 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_STORE_DWORD_SADDR in buildPrologSpill()
147 static void buildEpilogRestore(const GCNSubtarget &ST, in buildEpilogRestore() argument
155 unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_LOAD_DWORD_SADDR in buildEpilogRestore()
218 const GCNSubtarget &ST; member in llvm::PrologEpilogSGPRSpillBuilder
250 buildPrologSpill(ST, TRI, *FuncInfo, LiveRegs, MF, MBB, MI, DL, TmpVGPR, in saveToMemory()
295 buildEpilogRestore(ST, TRI, *FuncInfo, LiveRegs, MF, MBB, MI, DL, TmpVGPR, in restoreFromMemory()
334 ST(MF.getSubtarget<GCNSubtarget>()), MFI(MF.getFrameInfo()), in PrologEpilogSGPRSpillBuilder()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCTargetTransformInfo.h33 const ARCSubtarget *ST; variable
36 const ARCSubtarget *getST() const { return ST; } in getST()
41 : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl()), in ARCTTIImpl()
42 TLI(ST->getTargetLowering()) {} in ARCTTIImpl()
46 : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI) {} in ARCTTIImpl()
48 : BaseT(std::move(static_cast<BaseT &>(Arg))), ST(std::move(Arg.ST)), in ARCTTIImpl()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h48 const AArch64Subtarget *ST; variable
51 const AArch64Subtarget *getST() const { return ST; } in getST()
73 : BaseT(TM, F.getParent()->getDataLayout()), ST(TM->getSubtargetImpl(F)), in AArch64TTIImpl()
74 TLI(ST->getTargetLowering()) {} in AArch64TTIImpl()
105 if (ST->hasNEON()) in getNumberOfRegisters()
127 return ST->getMinVectorRegisterBitWidth(); in getMinVectorRegisterBitWidth()
131 return ST->getVScaleForTuning(); in getVScaleForTuning()
144 return VF.getKnownMinValue() * ST->getVScaleForTuning(); in getMaxNumElements()
232 if (Ty->isBFloatTy() && ST->hasBF16()) in isElementTypeLegalForScalableVector()
246 if (!ST->hasSVE()) in isLegalMaskedLoadStore()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DCBufferDataLayout.cpp25 StructType *ST; member
43 LegacyStructLayout &getStructLayout(StructType *ST);
73 if (auto *ST = dyn_cast<StructType>(Ty)) { in getTypeAllocSize() local
74 LegacyStructLayout &Layout = getStructLayout(ST); in getTypeAllocSize()
93 LegacyCBufferLayout::getStructLayout(StructType *ST) { in getStructLayout() argument
94 auto it = StructLayouts.find(ST); in getStructLayout()
100 Layout.ST = ST; in getStructLayout()
101 for (Type *EltTy : ST->elements()) { in getStructLayout()
110 StructLayouts[ST] = Layout; in getStructLayout()
111 return StructLayouts[ST]; in getStructLayout()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DSetTheory.cpp39 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
41 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply()
47 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
53 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply()
54 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply()
63 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
69 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply()
70 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply()
79 virtual void apply2(SetTheory &ST, DagInit *Expr, RecSet &Set, int64_t N,
82 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, in apply()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/threads/
H A Dthreads.xs1089 if ((items >= 2) && SvROK(ST(1)) && SvTYPE(SvRV(ST(1)))==SVt_PVHV) {
1093 specs = (HV*)SvRV(ST(1));
1103 if (sv_isobject(ST(0))) {
1105 classname = HvNAME(SvSTASH(SvRV(ST(0))));
1106 thread = INT2PTR(ithread *, SvIV(SvRV(ST(0))));
1113 classname = (char *)SvPV_nolen(ST(0));
1120 function_to_call = ST(idx+1);
1199 ST(0) = sv_2mortal(S_ithread_to_SV(aTHX_ Nullsv, thread, classname, FALSE));
1222 if (SvROK(ST(
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Digest-MD5/
H A DMD5.xs254 ST(0) = sv_2mortal(new_md5_ctx(aTHX_ context, sclass));
270 ST(0) = sv_2mortal(new_md5_ctx(aTHX_ context, myname));
290 U32 had_utf8 = SvUTF8(ST(i));
291 data = (unsigned char *)(SvPVbyte(ST(i), len));
293 if (had_utf8) sv_utf8_upgrade(ST(i));
356 ST(0) = make_mortal_sv(aTHX_ digeststr, ix);
368 ctx->count = SvUV(ST(1)) << 3;
369 unsigned char *buf = (unsigned char *)(SvPV(ST(2), len));
375 buf = (unsigned char *)(SvPV(ST(3), len));
389 ST(0) = sv_2mortal(newSViv((ctx->count >> 3)
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp108 if (ST->hasMVEIntegerOps()) in getPreferredAddressingMode()
114 if (ST->isMClass() && ST->isThumb2() && in getPreferredAddressingMode()
305 if (!ST->isThumb()) { in getIntImmCost()
310 return ST->hasV6T2Ops() ? 2 : 3; in getIntImmCost()
312 if (ST->isThumb2()) { in getIntImmCost()
317 return ST->hasV6T2Ops() ? 2 : 3; in getIntImmCost()
422 if (ST->isThumb2() && NegImm < 1<<12) in getIntImmCostInst()
425 if (ST->isThumb() && NegImm < 1<<8) in getIntImmCostInst()
436 if (Inst && ((ST->hasV6Ops() && !ST->isThumb()) || ST->isThumb2()) && in getIntImmCostInst()
444 if (Inst && ST->hasVFP2Base() && isFPSatMinMaxPattern(Inst, Imm)) in getIntImmCostInst()
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/VMS-Stdio/
H A DStdio.xs121 ST(0) = sv_2mortal(newSViv(i));
123 ST(0) = &PL_sv_undef;
188 if (fflush(stdio)) { ST(0) = &PL_sv_undef; }
189 else { clearerr(stdio); ST(0) = &PL_sv_yes; }
199 ST(0) = sv_newmortal();
200 if (fgetname(stdio,fname) != NULL) sv_setpv(ST(0),fname);
209 ST(0) = rewind(stdio) ? &PL_sv_undef : &PL_sv_yes;
217 ST(0) = remove(name) ? &PL_sv_undef : &PL_sv_yes;
230 SV *defsv = ST(items-1); /* mimic chdir() */
231 ST(0) = &PL_sv_undef;
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVModuleAnalysis.cpp57 unsigned i, const SPIRVSubtarget &ST, in getSymbolicOperandRequirements() argument
61 unsigned TargetVer = ST.getSPIRVVersion(); in getSymbolicOperandRequirements()
81 if (llvm::all_of(ReqExts, [&ST](const SPIRV::Extension::Extension &Ext) { in getSymbolicOperandRequirements()
82 return ST.canUseExtension(Ext); in getSymbolicOperandRequirements()
99 MAI.Reqs.initAvailableCapabilities(*ST); in setBaseInfo()
110 unsigned PtrSize = ST->getPointerSize(); in setBaseInfo()
145 MAI.Mem, *ST); in setBaseInfo()
147 MAI.SrcLang, *ST); in setBaseInfo()
149 MAI.Addr, *ST); in setBaseInfo()
433 const SPIRVSubtarget &ST) { in getAndAddRequirements() argument
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/
H A DListUtil.xs286 retsv = ST(0); in min()
293 SV *stacksv = ST(index); in min()
317 ST(0) = retsv; in min()
344 case 1: ST(0) = sv_2mortal(newSViv(0)); XSRETURN(1); in sum()
345 case 2: ST(0) = sv_2mortal(newSViv(1)); XSRETURN(1); in sum()
348 sv = ST(0); in sum()
364 sv = ST(index); in sum()
493 ST(0) = retsv; in sum()
514 left = ST(0); in minstr()
518 SV *right = ST(index); in minstr()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/PathTools/
H A DCwd.xs635 (items == 1 && (!SvOK(ST(0)) || (SvPOK(ST(0)) && !SvCUR(ST(0)))))) in getdcwd()
637 else if (items == 1 && SvPOK(ST(0)) && SvCUR(ST(0)) && in getdcwd()
638 isALPHA(SvPVX(ST(0))[0])) in getdcwd()
639 drive = toUPPER(SvPVX(ST(0))[0]) - 'A' + 1; in getdcwd()
683 ST(items) = EMPTY_STRING_SV;
685 do_join(joined, SLASH_STRING_SV, &ST(0), &ST(item
[all...]
/openbsd-src/gnu/usr.bin/perl/os2/
H A Dos2.c1865 char * src = (char *)SvPV(ST(0),n_a); in XS()
1866 char * dst = (char *)SvPV(ST(1),n_a); in XS()
1874 flag = (unsigned long)SvIV(ST(2)); in XS()
1895 char * target = (char *)SvPV_nolen(ST(0)); in XS()
1896 char * source = (items < 2) ? NULL : (char *)SvPV_nolen(ST(1)); in XS()
1897 char * backup = (items < 3) ? NULL : (char *)SvPV_nolen(ST(2)); in XS()
1960 ulCommand = (ULONG)SvUV(ST(0)); in XS()
1970 ulParm1 = (ULONG)SvUV(ST(1)); in XS()
1977 ulParm2 = (ULONG)SvUV(ST(2)); in XS()
1983 ulParm3 = (ULONG)SvUV(ST(3)); in XS()
[all …]

12345678910>>...26