| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 507 int16_t Scale = 0; variable 513 : Digits(Digits), Scale(Scale) {} in ScaledNumber() 545 if (Scale > 0 || Scale <= -Width) in isOne() 610 ScaledNumbers::getSum(Digits, Scale, X.Digits, X.Scale); 618 ScaledNumbers::getDifference(Digits, Scale, X.Digits, X.Scale); 644 ScaledNumbers::matchScales(Digits, Scale, X.Digits, X.Scale); in matchScales() 669 return ScaledNumbers::compare(Digits, Scale, X.Digits, X.Scale); in compare() 788 if (Scale > 0) { in toInt() 792 if (Scale < 0) { in toInt() 808 int32_t Scales = int32_t(Scale) + int32_t(X.Scale); [all …]
|
| /freebsd-13.1/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 | 68 unsigned Scale; member 277 Scale = getI8Imm(AM.Scale, DL); in getAddressOperands() 1750 if (AM.Scale == 2 && in matchAddress() 1754 AM.Scale = 1; in matchAddress() 1765 AM.Scale == 1 && in matchAddress() 1806 AM.Scale = 1; in matchAdd() 1940 AM.Scale = 1 << ShiftAmt; in foldMaskedShiftToScaledMask() 2341 AM.Scale = 1; in matchAddressRecursively() 2453 AM.Scale = 1; in matchAddressBase() 2652 if (AM.Scale > 1) in selectLEAAddr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFixedPoint.h | 35 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() argument 37 : Width(Width), Scale(Scale), IsSigned(IsSigned), in FixedPointSemantics() 39 assert(Width >= Scale && "Not enough room for the scale"); in FixedPointSemantics() 45 unsigned getScale() const { return Scale; } in getScale() 57 return Width - Scale - 1; in getIntegralBits() 59 return Width - Scale; in getIntegralBits() 88 unsigned Scale : 13; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 284 APInt Scale; member 292 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression() 568 Scale *= LE.Scale.sextOrTrunc(MaxPointerSize); in DecomposeGEPExpression() 579 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression() 587 Scale = adjustToPointerSize(Scale, PointerSize); in DecomposeGEPExpression() 1150 APInt Scale = DecompGEP1.VarIndices[i].Scale; in aliasGEP() local 1707 APInt Scale = Src[i].Scale; in GetIndexDifference() local 1718 if (Dest[j].Scale != Scale) { in GetIndexDifference() 1719 Dest[j].Scale -= Scale; in GetIndexDifference() 1723 Scale = 0; in GetIndexDifference() [all …]
|
| H A D | VectorUtils.cpp | 423 assert(Scale > 0 && "Unexpected scaling factor"); in narrowShuffleMaskElts() 426 if (Scale == 1) { in narrowShuffleMaskElts() 434 assert(((uint64_t)Scale * MaskElt + (Scale - 1)) <= INT32_MAX && in narrowShuffleMaskElts() 444 assert(Scale > 0 && "Unexpected scaling factor"); in widenShuffleMaskElts() 447 if (Scale == 1) { in widenShuffleMaskElts() 454 if (NumElts % Scale != 0) in widenShuffleMaskElts() 458 ScaledMask.reserve(NumElts / Scale); in widenShuffleMaskElts() 475 if (SliceFront % Scale != 0) in widenShuffleMaskElts() 478 for (int i = 1; i < Scale; ++i) in widenShuffleMaskElts() 481 ScaledMask.push_back(SliceFront / Scale); in widenShuffleMaskElts() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 69 unsigned Scale; member 73 OffsetName(StringRef()), Scale(1) {} in IntelExpr() 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-13.1/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 | 55 0: Scale current by 0.5 56 1: Scale current by 0.75 57 2: Scale current by 1.0 58 3: Scale current by 1.5
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | RISCVVEmitter.cpp | 67 VScaleVal Scale = 0; member in __anondf72edf00111::RVVType 101 bool isScalar() const { return Scale.hasValue() && Scale.getValue() == 0; } in isScalar() 102 bool isVector() const { return Scale.hasValue() && Scale.getValue() != 0; } in isVector() 343 if (!Scale.hasValue()) in verifyType() 347 unsigned V = Scale.getValue(); in verifyType() 604 Scale = 0; in applyModifier() 607 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 612 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 617 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 622 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 63 unsigned Scale; member 140 if (Mem.Scale) in print() 141 OS << ",Scale=" << Mem.Scale; in print() 197 return Mem.Scale; in getMemScale() 674 Res->Mem.Scale = 1; 687 unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, 698 assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && 706 Res->Mem.Scale = Scale;
|
| H A D | X86AsmParser.cpp | 50 if (Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) { in checkScale() 663 Scale = 0; in onPlus() 724 Scale = 0; in onMinus() 869 Scale = TmpInt; in onInteger() 969 Scale = 0; in onRBrac() 2564 if (Scale == 0 && in ParseIntelOperand() 2573 if (Scale != 0 && in ParseIntelOperand() 2578 if (Scale == 0) in ParseIntelOperand() 2579 Scale = 1; in ParseIntelOperand() 2943 Scale = 1; in ParseMemOperand() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 485 if (Scale != 1) in isCanonical() 520 Scale = 0; in canonicalize() 528 Scale = 1; in canonicalize() 551 if (Scale != 1) in unscale() 553 Scale = 0; in unscale() 1678 if (Scale != 0 && Scale != -1) in isAMCompletelyFolded() 1789 if (!F.Scale) in getScalingFactorCost() 1837 Scale = 0; in isAlwaysFoldable() 2496 Scale = -Scale; in OptimizeLoopTermCond() 2671 F.Scale == OrigF.Scale && in FindUseWithSimilarFormula() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.cpp | 522 int Scale = 1; in getFrameIndexInstrOffset() local 529 Scale = 1; in getFrameIndexInstrOffset() 537 Scale = 4; in getFrameIndexInstrOffset() 555 Scale = 4; in getFrameIndexInstrOffset() 561 return InstrOffs * Scale; in getFrameIndexInstrOffset() 720 unsigned Scale = 1; in isFrameOffsetLegal() local 727 Scale = 1; in isFrameOffsetLegal() 738 Scale = 4; in isFrameOffsetLegal() 749 Scale = 4; in isFrameOffsetLegal() 759 if ((Offset & (Scale-1)) != 0) in isFrameOffsetLegal() [all …]
|
| H A D | Thumb2InstrInfo.cpp | 624 unsigned Scale = 1; in rewriteT2FrameIndex() local 646 Scale = 4; in rewriteT2FrameIndex() 648 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 660 Scale = 2; in rewriteT2FrameIndex() 662 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 678 Scale = 1; in rewriteT2FrameIndex() 685 Scale = 1; in rewriteT2FrameIndex() 690 Scale = 4; in rewriteT2FrameIndex() 705 int ImmedOffset = Offset / Scale; in rewriteT2FrameIndex() 707 if ((unsigned)Offset <= Mask * Scale && in rewriteT2FrameIndex() [all …]
|
| H A D | ARMConstantIslandPass.cpp | 761 Scale = 4; in initializeFunctionInfo() 767 Scale = 2; in initializeFunctionInfo() 771 Scale = 2; in initializeFunctionInfo() 777 Scale = 2; in initializeFunctionInfo() 781 Scale = 2; in initializeFunctionInfo() 845 Scale = 4; in initializeFunctionInfo() 1788 unsigned Scale = 1; in optimizeThumb2Instructions() local 1796 Scale = 4; in optimizeThumb2Instructions() 1803 Scale = 4; in optimizeThumb2Instructions() 1846 Scale = 2; in optimizeThumb2Branches() [all …]
|
| H A D | MVEGatherScatterLowering.cpp | 88 Value *decomposePtr(Value *Ptr, Value *&Offsets, int &Scale, 226 int &Scale, FixedVectorType *Ty, in decomposePtr() argument 231 Scale = in decomposePtr() 234 return Scale == -1 ? nullptr : V; in decomposePtr() 248 Scale = 0; in decomposePtr() 534 int Scale; in tryCreateMaskedGatherOffset() local 548 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask}); in tryCreateMaskedGatherOffset() 554 Builder.getInt32(Scale), Builder.getInt32(Unsigned)}); in tryCreateMaskedGatherOffset() 687 int Scale; in tryCreateMaskedScatterOffset() local 702 Builder.getInt32(Scale), Mask}); in tryCreateMaskedScatterOffset() [all …]
|
| H A D | ThumbRegisterInfo.cpp | 387 unsigned Scale = 4; in rewriteFrameIndex() local 389 Offset += InstrOffs * Scale; in rewriteFrameIndex() 390 assert((Offset & (Scale - 1)) == 0 && "Can't encode this offset!"); in rewriteFrameIndex() 394 int ImmedOffset = Offset / Scale; in rewriteFrameIndex() 397 if ((unsigned)Offset <= Mask * Scale) { in rewriteFrameIndex() 422 Offset &= ~(Mask * Scale); in rewriteFrameIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.h | 108 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 110 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 113 template <int Scale> 116 printUImm12Offset(MI, OpNum, Scale, O); in printUImm12Offset() 128 template <int Scale>
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 190 static inline uint32_t scaleBranchCount(uint64_t Count, uint64_t Scale) { in scaleBranchCount() argument 191 uint64_t Scaled = Count / Scale; in scaleBranchCount()
|
| /freebsd-13.1/share/misc/ |
| H A D | usb_hid_usages | 1675 0x20 Scale Device 1676 0x21 Scale Class I Metric 1677 0x22 Scale Class I Metric 1678 0x23 Scale Class II Metric 1685 0x2A Scale Class Generic 1687 0x31 Scale Control Report 1688 0x32 Scale Data Report 1689 0x33 Scale Status Report 1709 0x70 Scale Status 1710 0x71 Scale Status Fault [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 68 Constant *Scale = ConstantInt::get(IntIdxTy, Size); 72 ConstantExpr::getMul(OC, Scale, false /*NUW*/, isInBounds /*NSW*/);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 2588 TypeSize Scale(0U, false); in getMemOperandWithOffsetWidth() local 2629 Scale = TypeSize::Fixed(0); in getMemOpInfo() 2636 Scale = TypeSize::Fixed(4); in getMemOpInfo() 2643 Scale = TypeSize::Fixed(1); in getMemOpInfo() 2653 Scale = TypeSize::Fixed(1); in getMemOpInfo() 2663 Scale = TypeSize::Fixed(1); in getMemOpInfo() 2674 Scale = TypeSize::Fixed(1); in getMemOpInfo() 2685 Scale = TypeSize::Fixed(1); in getMemOpInfo() 2713 Scale = TypeSize::Fixed(8); in getMemOpInfo() 3087 if (Offset % Scale != 0) in scaleOffset() [all …]
|