Home
last modified time | relevance | path

Searched refs:CS (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid128_sqrt.c36 UINT128 CX, CX1, CX2, A10, S2, T128, TP128, CS, CSM, res;
107 CS.w[0] = short_sqrt128 (A10);
108 CS.w[1] = 0;
110 if (CS.w[0] * CS.w[0] == A10.w[0]) {
111 __mul_64x64_to_128_fast (S2, CS.w[0], CS.w[0]);
116 DECIMAL_EXPONENT_BIAS_128) >> 1, CS);
152 long_sqrt128 (&CS, C256);
160 CSM.w[1] = (CS.w[1] << 1) | (CS.w[0] >> 63);
161 CSM.w[0] = (CS.w[0] + CS.w[0]) | 1;
174 CS.w[0]++;
[all …]
H A Dbid64_sqrt.c216 UINT128 CX, CX2, A10, S2, T128, CS, CSM, CS2, C256, CS1, in bid64_sqrt() local
299 CS.w[0] = short_sqrt128 (A10); in bid64_sqrt()
300 CS.w[1] = 0; in bid64_sqrt()
303 if (CS.w[0] < 10000000000000000ull) { in bid64_sqrt()
304 if (CS.w[0] * CS.w[0] == A10.w[0]) { in bid64_sqrt()
305 __sqr64_fast (S2, CS.w[0]); in bid64_sqrt()
311 DECIMAL_EXPONENT_BIAS, CS.w[0], rnd_mode, pfpsf); in bid64_sqrt()
318 if (CS.w[0] >= 1000000000000000ull) { in bid64_sqrt()
330 __mul_64x64_to_128_full (CS2, CS.w[0], B10); in bid64_sqrt()
332 if (CS.w[0] != ((CS0 << 3) + (CS0 << 1))) { in bid64_sqrt()
[all …]
H A Dbid_sqrt_macros.h51 UINT128 CS; in long_sqrt128() local
78 CS.w[1] = (UINT64) (lS * lm64); in long_sqrt128()
79 CS.w[0] = (UINT64) (lS - (BINARY80) CS.w[1] * l64); in long_sqrt128()
114 X = CS.w[0]; in long_sqrt128()
117 CS.w[0] += SE; in long_sqrt128()
118 if (CS.w[0] < X) in long_sqrt128()
119 CS.w[1]++; in long_sqrt128()
122 CS.w[0] -= SE; in long_sqrt128()
123 if (CS.w[0] > X) in long_sqrt128()
124 CS.w[1]--; in long_sqrt128()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A Dbid128_sqrt.c36 UINT128 CX, CX1, CX2, A10, S2, T128, TP128, CS, CSM, res;
107 CS.w[0] = short_sqrt128 (A10);
108 CS.w[1] = 0;
110 if (CS.w[0] * CS.w[0] == A10.w[0]) {
111 __mul_64x64_to_128_fast (S2, CS.w[0], CS.w[0]);
116 DECIMAL_EXPONENT_BIAS_128) >> 1, CS);
152 long_sqrt128 (&CS, C256);
160 CSM.w[1] = (CS.w[1] << 1) | (CS.w[0] >> 63);
161 CSM.w[0] = (CS.w[0] + CS.w[0]) | 1;
174 CS.w[0]++;
[all …]
H A Dbid64_sqrt.c216 UINT128 CX, CX2, A10, S2, T128, CS, CSM, CS2, C256, CS1, in bid64_sqrt() local
299 CS.w[0] = short_sqrt128 (A10); in bid64_sqrt()
300 CS.w[1] = 0; in bid64_sqrt()
303 if (CS.w[0] < 10000000000000000ull) { in bid64_sqrt()
304 if (CS.w[0] * CS.w[0] == A10.w[0]) { in bid64_sqrt()
305 __sqr64_fast (S2, CS.w[0]); in bid64_sqrt()
311 DECIMAL_EXPONENT_BIAS, CS.w[0], rnd_mode, pfpsf); in bid64_sqrt()
318 if (CS.w[0] >= 1000000000000000ull) { in bid64_sqrt()
330 __mul_64x64_to_128_full (CS2, CS.w[0], B10); in bid64_sqrt()
332 if (CS.w[0] != ((CS0 << 3) + (CS0 << 1))) { in bid64_sqrt()
[all …]
H A Dbid_sqrt_macros.h51 UINT128 CS; in long_sqrt128() local
78 CS.w[1] = (UINT64) (lS * lm64); in long_sqrt128()
79 CS.w[0] = (UINT64) (lS - (BINARY80) CS.w[1] * l64); in long_sqrt128()
114 X = CS.w[0]; in long_sqrt128()
117 CS.w[0] += SE; in long_sqrt128()
118 if (CS.w[0] < X) in long_sqrt128()
119 CS.w[1]++; in long_sqrt128()
122 CS.w[0] -= SE; in long_sqrt128()
123 if (CS.w[0] > X) in long_sqrt128()
124 CS.w[1]--; in long_sqrt128()
[all …]
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dgcc_compat.c217 #define CS(x) macro
219 #define CS(x) [x] = macro
226 CS(ATTR_NONE) { 0, NULL },
227 CS(ATTR_COMPLEX) { 0, NULL },
228 CS(xxxATTR_BASETYP) { 0, NULL },
229 CS(ATTR_QUALTYP) { 0, NULL },
230 CS(ATTR_STRUCT) { 0, NULL },
231 CS(ATTR_ALIGNED) { A_0ARG|A_1ARG, "aligned" },
232 CS(GCC_ATYP_PACKED) { A_0ARG|A_1ARG, "packed" },
233 CS(GCC_ATYP_SECTION) { A_1ARG|A1_STR, "section" },
[all …]
/netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dgcc_compat.c317 #define CS(x) macro
319 #define CS(x) [x] = macro
326 CS(ATTR_NONE) { 0, NULL },
327 CS(ATTR_COMPLEX) { 0, NULL },
328 CS(xxxATTR_BASETYP) { 0, NULL },
329 CS(ATTR_QUALTYP) { 0, NULL },
330 CS(ATTR_STRUCT) { 0, NULL },
331 CS(ATTR_ALIGNED) { A_0ARG|A_1ARG, "aligned" },
332 CS(ATTR_NORETURN) { A_0ARG, "noreturn" },
333 CS(ATTR_P1LABELS) { A_0ARG, "p1labels" },
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DPrintfFormatString.cpp386 PrintfConversionSpecifier CS(conversionPosition, k); in ParsePrintfSpecifier() local
387 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
388 if (CS.consumesDataArgument() && !FS.usesPositionalArg()) in ParsePrintfSpecifier()
398 CS.setEndScanList(Start + Len); in ParsePrintfSpecifier()
399 FS.setConversionSpecifier(CS); in ParsePrintfSpecifier()
490 if (CS.getKind() == ConversionSpecifier::cArg) in getScalarArgType()
505 if (CS.isIntArg()) in getScalarArgType()
541 if (CS.isUIntArg()) in getScalarArgType()
576 if (CS.isDoubleArg()) { in getScalarArgType()
594 if (CS.getKind() == ConversionSpecifier::nArg) { in getScalarArgType()
[all …]
H A DScanfFormatString.cpp32 ScanfConversionSpecifier &CS, in ParseScanList() argument
69 CS.setEndScanList(I); in ParseScanList()
200 ScanfConversionSpecifier CS(conversionPosition, k); in ParseScanfSpecifier() local
202 if (ParseScanList(H, CS, I, E)) in ParseScanfSpecifier()
205 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
206 if (CS.consumesDataArgument() && !FS.getSuppressAssignment() in ParseScanfSpecifier()
216 CS.setEndScanList(Beg + Len); in ParseScanfSpecifier()
217 FS.setConversionSpecifier(CS); in ParseScanfSpecifier()
226 const ScanfConversionSpecifier &CS = getConversionSpecifier(); in getArgType() local
228 if (!CS.consumesDataArgument()) in getArgType()
[all …]
H A DFormatString.cpp123 FormatSpecifier &CS, in ParseFieldWidth() argument
129 CS.setFieldWidth(ParseNonPositionAmount(Beg, E, *argIndex)); in ParseFieldWidth()
138 CS.setFieldWidth(Amt); in ParseFieldWidth()
728 if (LO.OpenCL && CS.isDoubleArg()) in hasValidLengthModifier()
732 switch (CS.getKind()) { in hasValidLengthModifier()
750 switch (CS.getKind()) { in hasValidLengthModifier()
774 if (CS.isDoubleArg()) { in hasValidLengthModifier()
781 switch (CS.getKind()) { in hasValidLengthModifier()
805 switch (CS.getKind()) { in hasValidLengthModifier()
829 switch (CS.getKind()) { in hasValidLengthModifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MCA/
H A DInstruction.h300 bool startsAfter(const CycleSegment &CS) const { return End <= CS.Begin; } in startsAfter() argument
301 bool endsBefore(const CycleSegment &CS) const { return Begin >= CS.End; } in endsBefore() argument
302 bool overlaps(const CycleSegment &CS) const { in overlaps() argument
303 return !startsAfter(CS) && !endsBefore(CS); in overlaps()
338 CycleSegment CS; member
341 : CS(Cycles), NumUnits(Units) {} in CS() function
342 unsigned size() const { return CS.size(); } in size()
343 bool isReserved() const { return CS.isReserved(); } in isReserved()
344 void setReserved() { CS.setReserved(); } in setReserved()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp72 ConstantStruct *CS = cast<ConstantStruct>(V); in parseGlobalCtors() local
73 Result.push_back(dyn_cast<Function>(CS->getOperand(1))); in parseGlobalCtors()
97 ConstantStruct *CS = cast<ConstantStruct>(V); in findGlobalCtors() local
98 if (isa<ConstantPointerNull>(CS->getOperand(1))) in findGlobalCtors()
102 if (!isa<Function>(CS->getOperand(1))) in findGlobalCtors()
106 ConstantInt *CI = cast<ConstantInt>(CS->getOperand(0)); in findGlobalCtors()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1171 SegmentReg = X86::CS; in emitNop()
1820 raw_string_ostream CS(Comment); in getShuffleComment() local
1821 CS << DstName; in getShuffleComment()
1831 CS << " {%" << GetRegisterName(WriteMaskOp.getReg()) << "}"; in getShuffleComment()
1834 CS << " {z}"; in getShuffleComment()
1839 CS << " = "; in getShuffleComment()
1843 CS << ","; in getShuffleComment()
1845 CS << "zero"; in getShuffleComment()
1852 CS << (isSrc1 ? Src1Name : Src2Name) << '['; in getShuffleComment()
1858 CS << ','; in getShuffleComment()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DFormatString.h401 ConversionSpecifier CS; variable
411 : CS(isPrintf), VectorNumElts(false), in FormatSpecifier()
490 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
491 return CS->isPrintfKind(); in classof()
528 CS = cs; in setConversionSpecifier()
561 return cast<PrintfConversionSpecifier>(CS); in getConversionSpecifier()
636 static bool classof(const analyze_format_string::ConversionSpecifier *CS) { in classof() argument
637 return !CS->isPrintfKind(); in classof()
662 CS = cs; in setConversionSpecifier()
666 return cast<ScanfConversionSpecifier>(CS); in getConversionSpecifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCloneDetection.cpp63 auto CS = cast<CompoundStmt>(S); in begin() local
64 return CS->body_begin() + StartIndex; in begin()
71 auto CS = cast<CompoundStmt>(S); in end() local
72 return CS->body_begin() + EndIndex; in end()
257 auto CS = dyn_cast<CompoundStmt>(S); in saveHash() local
271 if (CS) { in saveHash()
275 for (unsigned Pos = 0; Pos < CS->size(); ++Pos) { in saveHash()
280 for (unsigned Length = 1; Length <= CS->size() - Pos; ++Length) { in saveHash()
291 createHash(SubHash), StmtSequence(CS, D, Pos, Pos + Length))); in saveHash()
H A DCFGStmtMap.cpp52 Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); in Accumulate() local
53 if (!CS) in Accumulate()
56 CFGBlock *&Entry = SM[CS->getStmt()]; in Accumulate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp87 auto *CS = dyn_cast<ConstantStruct>(O); in runOnModule() local
88 if (!CS) in runOnModule()
91 auto *Priority = dyn_cast<ConstantInt>(CS->getOperand(0)); in runOnModule()
96 Constant *DtorFunc = CS->getOperand(1); in runOnModule()
100 Constant *Associated = CS->getOperand(2); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp301 const CycleSegment &CS = R.second.CS; in issueInstruction() local
302 if (!CS.size()) { in issueInstruction()
307 assert(CS.begin() == 0 && "Invalid {Start, End} cycles!"); in issueInstruction()
311 BusyResources[Pipe] += CS.size(); in issueInstruction()
313 Pipe, ResourceCycles(CS.size()))); in issueInstruction()
319 BusyResources[ResourceRef(R.first, R.first)] += CS.size(); in issueInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp251 ConstraintSystem CS; in dumpWithNames() local
252 CS.addVariableRowFill(C.Coefficients); in dumpWithNames()
253 CS.dump(Names); in dumpWithNames()
260 ConstraintSystem CS; in eliminateConstraints() local
349 CS.popLastConstraint(); in eliminateConstraints()
388 if (CS.isConditionImplied(R[0].Coefficients)) { in eliminateConstraints()
403 if (CS.isConditionImplied( in eliminateConstraints()
457 Added |= CS.addVariableRowFill(Coeffs); in eliminateConstraints()
465 assert(CS.size() == DFSInStack.size() && in eliminateConstraints()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp137 for (auto &CS : CSI) in getLibCallID() local
140 if (CS.getFrameIdx() < 0) in getLibCallID()
141 MaxReg = std::max(MaxReg.id(), CS.getReg().id()); in getLibCallID()
297 for (auto &CS : CSI) { in getNonLibcallCSI() local
298 int FI = CS.getFrameIdx(); in getNonLibcallCSI()
300 NonLibcallCSI.push_back(CS); in getNonLibcallCSI()
992 for (auto &CS : CSI) in spillCalleeSavedRegisters() local
993 MBB.addLiveIn(CS.getReg()); in spillCalleeSavedRegisters()
998 for (auto &CS : NonLibcallCSI) { in spillCalleeSavedRegisters() local
1000 Register Reg = CS.getReg(); in spillCalleeSavedRegisters()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp57 if (auto *CS = dyn_cast<CallBase>(&I)) in getInlinableCS() local
58 if (Function *Callee = CS->getCalledFunction()) { in getInlinableCS()
60 return CS; in getInlinableCS()
88 if (auto *CS = getInlinableCS(I)) { in MLInlineAdvisor() local
89 auto *Called = CS->getCalledFunction(); in MLInlineAdvisor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp51 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *() local
52 assert(CS && "Unrecognized type in llvm.global_ctors/llvm.global_dtors"); in operator *()
54 Constant *FuncC = CS->getOperand(1); in operator *()
73 auto *Priority = cast<ConstantInt>(CS->getOperand(0)); in operator *()
74 Value *Data = CS->getNumOperands() == 3 ? CS->getOperand(2) : nullptr; in operator *()
/netbsd-src/external/gpl2/rcs/dist/src/
H A Dconf.sh217 CS="$C -S" LS= o=a.s PREPARE_CC="$PREPARE_CC $o"
232 CS="$C -c" LS= PREPARE_CC="$PREPARE_CC $o"
235 CS=$CL LS=$L o=$aout
238 echo >&3 $CS
258 $CS a.c $LS >&2 && $CS_OK || {
288 if $CS a.c $LS >&2 && $CS_OK
303 if $CS a.c $LS >&2
373 if $CS -Dt=$t a.c $LS >&2 && $CS_OK
416 if $CS a.c $LS >&2 && $CS_OK
432 if $CS a.c $LS >&2 && $CS_OK
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp90 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
357 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)) in getConstantFieldValue() local
359 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
454 const ConstantStruct *CS, in fillConstantStruct() argument
456 const StructLayout *Layout = DL.getStructLayout(CS->getType()); in fillConstantStruct()
457 for (unsigned i = 0, e = CS->getNumOperands(); i != e; ++i) { in fillConstantStruct()
458 const Constant *Field = CS->getOperand(i); in fillConstantStruct()

12345678910>>...16