| /freebsd-14.2/contrib/arm-optimized-routines/math/aarch64/ |
| H A D | v_powf.c | 24 #define Scale ((double) (1 << V_EXP2F_TABLE_BITS)) macro 37 {0x1.5cf19b35e3472p+0, -0x1.c993406cd4db6p-2 * Scale}, 38 {0x1.55aac0e956d65p+0, -0x1.aa711d9a7d0f3p-2 * Scale}, 39 {0x1.4eb0022977e01p+0, -0x1.8bf37bacdce9bp-2 * Scale}, 40 {0x1.47fcccda1dd1fp+0, -0x1.6e13b3519946ep-2 * Scale}, 54 {0x1p+0, 0x0p+0 * Scale}, 69 -0x1.6ff5daa3b3d7cp-2 * Scale, 0x1.ec81d03c01aebp-2 * Scale, 70 -0x1.71547bb43f101p-1 * Scale, 0x1.7154764a815cbp0 * Scale,}, 83 0x1.c6af84b912394p-5 / Scale / Scale / Scale, 84 0x1.ebfce50fac4f3p-3 / Scale / Scale, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 508 int16_t Scale = 0; variable 514 : Digits(Digits), Scale(Scale) {} in ScaledNumber() 546 if (Scale > 0 || Scale <= -Width) in isOne() 611 ScaledNumbers::getSum(Digits, Scale, X.Digits, X.Scale); 619 ScaledNumbers::getDifference(Digits, Scale, X.Digits, X.Scale); 645 ScaledNumbers::matchScales(Digits, Scale, X.Digits, X.Scale); in matchScales() 670 return ScaledNumbers::compare(Digits, Scale, X.Digits, X.Scale); in compare() 789 if (Scale > 0) { in toInt() 793 if (Scale < 0) { in toInt() 809 int32_t Scales = int32_t(Scale) + int32_t(X.Scale); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 53 unsigned Scale; member 60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode() 66 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); in getFullAddress() 76 MO.push_back(MachineOperand::CreateImm(Scale)); in getFullAddress() 105 AM.Scale = Op1.getImm(); in getAddressFromInstr() 174 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 183 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
| H A D | X86ISelDAGToDAG.cpp | 69 unsigned Scale = 1; member 279 Scale = getI8Imm(AM.Scale, DL); in getAddressOperands() 1909 if (AM.Scale == 2 && in matchAddress() 1913 AM.Scale = 1; in matchAddress() 1957 AM.Scale = 1; in matchAdd() 2285 assert((AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8) && in matchIndexRecursively() 2306 AM.Scale *= 2; in matchIndexRecursively() 2614 AM.Scale = 1; in matchAddressRecursively() 2775 AM.Scale = 1; in matchAddressBase() 3027 if (AM.Scale > 1) in selectLEAAddr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYRegisterInfo.cpp | 136 unsigned Scale = 1; in IsLegalOffset() local 139 Scale = 1; in IsLegalOffset() 143 Scale = 2; in IsLegalOffset() 147 Scale = 4; in IsLegalOffset() 151 Scale = 1; in IsLegalOffset() 155 Scale = 2; in IsLegalOffset() 159 Scale = 4; in IsLegalOffset() 163 Scale = 4; in IsLegalOffset() 171 if ((Offset & (Scale - 1)) != 0) in IsLegalOffset() 175 if ((unsigned)Offset <= Mask * Scale) in IsLegalOffset()
|
| H A D | CSKYConstantIslandPass.cpp | 506 unsigned Scale = 1; in initializeFunctionInfo() local 514 Scale = 2; in initializeFunctionInfo() 518 Scale = 2; in initializeFunctionInfo() 538 unsigned Scale = 1; in initializeFunctionInfo() local 553 Scale = 4; in initializeFunctionInfo() 558 Scale = 4; in initializeFunctionInfo() 562 Scale = 2; in initializeFunctionInfo() 892 unsigned Bits, Scale; in getUnconditionalBrDisp() local 897 Scale = 2; in getUnconditionalBrDisp() 901 Scale = 2; in getUnconditionalBrDisp() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 337 APInt Scale; member 345 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression() 476 APInt Scale; member 491 return Scale == -Other.Scale; in hasNegatedScaleOf() 492 return Scale == Other.Scale; in hasNegatedScaleOf() 675 APInt Scale = LE.Scale.sext(MaxIndexSize); in DecomposeGEPExpression() local 684 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression() 1175 const APInt &Scale = Index.Scale; in aliasGEP() local 1760 Dest.Scale = -Dest.Scale; in subtractDecomposedGEPs() 1767 if (Dest.Scale != Src.Scale) { in subtractDecomposedGEPs() [all …]
|
| H A D | Local.cpp | 69 Value *Scale = Builder->CreateTypeSize(IntIdxTy->getScalarType(), TSize); in emitGEPOffset() local 71 Scale = Builder->CreateVectorSplat( in emitGEPOffset() 72 cast<VectorType>(IntIdxTy)->getElementCount(), Scale); in emitGEPOffset() 74 Op = Builder->CreateMul(Op, Scale, GEP->getName() + ".idx", false /*NUW*/, in emitGEPOffset()
|
| H A D | VectorUtils.cpp | 349 assert(Scale > 0 && "Unexpected scaling factor"); in narrowShuffleMaskElts() 352 if (Scale == 1) { in narrowShuffleMaskElts() 360 assert(((uint64_t)Scale * MaskElt + (Scale - 1)) <= INT32_MAX && in narrowShuffleMaskElts() 373 if (Scale == 1) { in widenShuffleMaskElts() 380 if (NumElts % Scale != 0) in widenShuffleMaskElts() 384 ScaledMask.reserve(NumElts / Scale); in widenShuffleMaskElts() 401 if (SliceFront % Scale != 0) in widenShuffleMaskElts() 404 for (int i = 1; i < Scale; ++i) in widenShuffleMaskElts() 407 ScaledMask.push_back(SliceFront / Scale); in widenShuffleMaskElts() 409 Mask = Mask.drop_front(Scale); in widenShuffleMaskElts() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 139 Scale = 2; in branchMaxOffsets() 143 Scale = 2; in branchMaxOffsets() 147 Scale = 2; in branchMaxOffsets() 151 Scale = 2; in branchMaxOffsets() 155 Scale = 2; in branchMaxOffsets() 159 Scale = 2; in branchMaxOffsets() 163 Scale = 2; in branchMaxOffsets() 167 Scale = 2; in branchMaxOffsets() 171 Scale = 2; in branchMaxOffsets() 175 Scale = 2; in branchMaxOffsets() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/sound/ |
| H A D | rt5651.txt | 36 0: Scale current by 0.5 37 1: Scale current by 0.75 38 2: Scale current by 1.0 39 3: Scale current by 1.5
|
| H A D | rt5640.txt | 58 0: Scale current by 0.5 59 1: Scale current by 0.75 60 2: Scale current by 1.0 61 3: Scale current by 1.5
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Support/ |
| H A D | RISCVVIntrinsicUtils.cpp | 112 if (!Scale) in verifyType() 122 unsigned V = *Scale; in verifyType() 338 ShortStr = "b" + utostr(64 / *Scale); in initShortStr() 676 Scale = 0; in applyModifier() 679 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 709 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 714 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 719 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 880 Scale = LMUL.getScale(ElementBitwidth); in applyLog2EEW() 891 Scale = LMUL.getScale(ElementBitwidth); in applyFixedSEW() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.h | 112 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 114 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 117 template <int Scale> 120 printUImm12Offset(MI, OpNum, Scale, O); in printUImm12Offset() 132 template <int Scale> 136 template <int Scale, int Offset> 173 template <unsigned Scale = 1> 176 template <unsigned Scale = 1>
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 233 Scale = in decomposePtr() 236 return Scale == -1 ? nullptr : V; in decomposePtr() 250 Scale = 0; in decomposePtr() 549 int Scale; in tryCreateMaskedGatherOffset() local 702 int Scale; in tryCreateMaskedScatterOffset() local 717 Builder.getInt32(Scale), Mask}); in tryCreateMaskedScatterOffset() 724 Builder.getInt32(Scale)}); in tryCreateMaskedScatterOffset() 1198 Offsets, Scale, GEP->getOperand(1), in foldGEP() 1202 Scale = 1; // Scale is always an i8 at this point. in foldGEP() 1219 unsigned Scale; in optimiseAddress() local [all …]
|
| H A D | ThumbRegisterInfo.cpp | 454 unsigned Scale = 4; in rewriteFrameIndex() local 456 Offset += InstrOffs * Scale; in rewriteFrameIndex() 457 assert((Offset & (Scale - 1)) == 0 && "Can't encode this offset!"); in rewriteFrameIndex() 461 int ImmedOffset = Offset / Scale; in rewriteFrameIndex() 464 if ((unsigned)Offset <= Mask * Scale) { in rewriteFrameIndex() 497 if (FrameReg == ARM::SP && Offset - (Mask * Scale) <= 1020) { in rewriteFrameIndex() 505 unsigned BottomBits = (Offset / Scale) & Mask; in rewriteFrameIndex() 506 bool CanMakeBottomByteZero = ((Offset - BottomBits * Scale) & 0xff) == 0; in rewriteFrameIndex() 508 bool CanMakeTopHalfZero = ((Offset - Mask * Scale) & 0xffff0000) == 0; in rewriteFrameIndex() 515 Offset -= InstrOffs * Scale; in rewriteFrameIndex()
|
| H A D | ARMBaseRegisterInfo.cpp | 535 int Scale = 1; in getFrameIndexInstrOffset() local 544 Scale = 1; in getFrameIndexInstrOffset() 552 Scale = 4; in getFrameIndexInstrOffset() 570 Scale = 4; in getFrameIndexInstrOffset() 576 return InstrOffs * Scale; in getFrameIndexInstrOffset() 735 unsigned Scale = 1; in isFrameOffsetLegal() local 744 Scale = 1; in isFrameOffsetLegal() 755 Scale = 4; in isFrameOffsetLegal() 766 Scale = 4; in isFrameOffsetLegal() 776 if ((Offset & (Scale-1)) != 0) in isFrameOffsetLegal() [all …]
|
| H A D | Thumb2InstrInfo.cpp | 638 unsigned Scale = 1; in rewriteT2FrameIndex() local 661 Scale = 4; in rewriteT2FrameIndex() 663 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 675 Scale = 2; in rewriteT2FrameIndex() 677 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 693 Scale = 1; in rewriteT2FrameIndex() 700 Scale = 1; in rewriteT2FrameIndex() 705 Scale = 4; in rewriteT2FrameIndex() 720 int ImmedOffset = Offset / Scale; in rewriteT2FrameIndex() 722 if ((unsigned)Offset <= Mask * Scale && in rewriteT2FrameIndex() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 71 unsigned Scale = 1; member 78 OffsetName(offsetName), Scale(1) { in IntelExpr() 80 Scale = scale; in IntelExpr() 90 return (Scale == 1) || in isValid() 91 (hasIndexReg() && (Scale == 2 || Scale == 4 || Scale == 8)); in isValid()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BranchProbability.cpp | 57 int Scale = 0; in getBranchProbability() local 60 Scale++; in getBranchProbability() 62 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 68 unsigned Scale; member 150 if (Mem.Scale) in print() 151 OS << ",Scale=" << Mem.Scale; in print() 207 return Mem.Scale; in getMemScale() 726 Res->Mem.Scale = 1; 741 unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, 753 assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && 761 Res->Mem.Scale = Scale;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.h | 60 SDValue &Base, SDValue &Index, SDValue &Scale); 64 SDValue &Scale) { in SelectAddrRegRegScale() argument 65 return SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale); in SelectAddrRegRegScale() 70 SDValue &Scale) { in SelectAddrRegZextRegScale() argument 71 if (SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale)) { in SelectAddrRegZextRegScale()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Support/ |
| H A D | RISCVVIntrinsicUtils.h | 263 VScaleVal Scale = 0; variable 300 bool isScalar() const { return Scale && *Scale == 0; } in isScalar() 301 bool isVector() const { return Scale && *Scale != 0; } in isVector() 322 VScaleVal getScale() const { return Scale; } in getScale()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 2950 AM.Scale = Scale; in canFoldIntoAddrMode() 3130 Scale = 8; in scaledOffsetOpcode() 3133 Scale = 8; in scaledOffsetOpcode() 3136 Scale = 8; in scaledOffsetOpcode() 3139 Scale = 8; in scaledOffsetOpcode() 3142 Scale = 4; in scaledOffsetOpcode() 3145 Scale = 4; in scaledOffsetOpcode() 3148 Scale = 4; in scaledOffsetOpcode() 3151 Scale = 2; in scaledOffsetOpcode() 3154 Scale = 2; in scaledOffsetOpcode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 507 if (Scale != 1) in isCanonical() 539 Scale = 0; in canonicalize() 547 Scale = 1; in canonicalize() 568 if (Scale != 1) in unscale() 570 Scale = 0; in unscale() 1696 if (Scale != 0 && Scale != -1) in isAMCompletelyFolded() 1807 if (!F.Scale) in getScalingFactorCost() 1855 Scale = 0; in isAlwaysFoldable() 2514 Scale = -Scale; in OptimizeLoopTermCond() 2681 F.Scale == OrigF.Scale && in FindUseWithSimilarFormula() [all …]
|