/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
H A D | powf.c | 26 #define Scale ((double) (1 << V_EXP2F_TABLE_BITS)) macro 38 .log2_tab = {{0x1.6489890582816p+0, -0x1.e960f97b22702p-2 * Scale}, 39 {0x1.5cf19b35e3472p+0, -0x1.c993406cd4db6p-2 * Scale}, 40 {0x1.55aac0e956d65p+0, -0x1.aa711d9a7d0f3p-2 * Scale}, 41 {0x1.4eb0022977e01p+0, -0x1.8bf37bacdce9bp-2 * Scale}, 42 {0x1.47fcccda1dd1fp+0, -0x1.6e13b3519946ep-2 * Scale}, 43 {0x1.418ceabab68c1p+0, -0x1.50cb8281e4089p-2 * Scale}, 44 {0x1.3b5c788f1edb3p+0, -0x1.341504a237e2bp-2 * Scale}, 45 {0x1.3567de48e9c9ap+0, -0x1.17eaab624ffbbp-2 * Scale}, 46 {0x1.2fabc80fd19bap+0, -0x1.f88e708f8c853p-3 * Scale}, [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 59 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded() 60 return std::make_pair(Digits, Scale); in getRounded() 64 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 66 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 72 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 80 int16_t Scale = 0) { 85 return std::make_pair(Digits, Scale); 89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaUtils.cpp | 17 bool isValidAddrOffset(int Scale, int64_t OffsetVal) { in isValidAddrOffset() argument 20 switch (Scale) { in isValidAddrOffset() 37 int Scale = 0; in isValidAddrOffset() local 42 Scale = 1; in isValidAddrOffset() 47 Scale = 2; in isValidAddrOffset() 53 Scale = 4; in isValidAddrOffset() 56 return isValidAddrOffset(Scale, Offset); in isValidAddrOffset()
|
/freebsd/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 | 71 unsigned Scale = 1; member 121 dbgs() << " Scale " << Scale << '\n' in dump() 221 SDValue &Scale, SDValue &Index, SDValue &Disp, 224 SDValue ScaleOp, SDValue &Base, SDValue &Scale, 228 SDValue &Scale, SDValue &Index, SDValue &Disp, 231 SDValue &Scale, SDValue &Index, SDValue &Disp, 234 SDValue &Scale, SDValue &Index, SDValue &Disp, 239 SDValue &Base, SDValue &Scale, 245 SDValue &Base, SDValue &Scale, in tryFoldLoad() argument 248 return tryFoldLoad(P, P, N, Base, Scale, Index, Disp, Segment); in tryFoldLoad() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 368 APInt Scale; member 374 LinearExpression(const CastedValue &Val, const APInt &Scale, in LinearExpression() 376 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression() 380 Scale = APInt(BitWidth, 1); in LinearExpression() 388 return LinearExpression(Val, Scale * Other, Offset * Other, NSW); in mul() 467 E.Scale <<= RHS.getLimitedValue(); in GetLinearExpression() 507 APInt Scale; member 522 return Scale == -Other.Scale; in hasNegatedScaleOf() 523 return Scale == Other.Scale; in hasNegatedScaleOf() 535 << ", scale=" << Scale in print() [all …]
|
H A D | VectorUtils.cpp | 349 void llvm::narrowShuffleMaskElts(int Scale, ArrayRef<int> Mask, in narrowShuffleMaskElts() argument 351 assert(Scale > 0 && "Unexpected scaling factor"); in narrowShuffleMaskElts() 354 if (Scale == 1) { in narrowShuffleMaskElts() 362 assert(((uint64_t)Scale * MaskElt + (Scale - 1)) <= INT32_MAX && in narrowShuffleMaskElts() 365 for (int SliceElt = 0; SliceElt != Scale; ++SliceElt) in narrowShuffleMaskElts() 366 ScaledMask.push_back(MaskElt < 0 ? MaskElt : Scale * MaskElt + SliceElt); in narrowShuffleMaskElts() 370 bool llvm::widenShuffleMaskElts(int Scale, ArrayRef<int> Mask, in widenShuffleMaskElts() argument 372 assert(Scale > 0 && "Unexpected scaling factor"); in widenShuffleMaskElts() 375 if (Scale == 1) { in widenShuffleMaskElts() 382 if (NumElts % Scale != 0) in widenShuffleMaskElts() [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", NUW, NSW); in emitGEPOffset()
|
/freebsd/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() 523 unsigned MaxOffs = ((1 << (Bits - 1)) - 1) * Scale; in initializeFunctionInfo() 538 unsigned Scale = 1; in initializeFunctionInfo() local 553 Scale = 4; in initializeFunctionInfo() 558 Scale = 4; in initializeFunctionInfo() 562 Scale = 2; in initializeFunctionInfo() 569 unsigned MaxOffs = ((1 << Bits) - 1) * Scale; in initializeFunctionInfo() 892 unsigned Bits, Scale; in getUnconditionalBrDisp() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsConstantIslandPass.cpp | 135 unsigned Bits, Scale; in branchMaxOffsets() local 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() [all …]
|
/freebsd/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/contrib/llvm-project/clang/lib/Support/ |
H A D | RISCVVIntrinsicUtils.cpp | 112 if (!Scale) in verifyType() 122 unsigned V = *Scale; in verifyType() 220 BuiltinStr = "q" + utostr(*Scale) + BuiltinStr; in initBuiltinStr() 238 ClangBuiltinStr += "bool" + utostr(64 / *Scale) + "_t"; in initClangBuiltinStr() 297 Str += "vbool" + utostr(64 / *Scale) + "_t"; in initTypeStr() 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 89 Value *decomposePtr(Value *Ptr, Value *&Offsets, int &Scale, 148 Value *foldGEP(GetElementPtrInst *GEP, Value *&Offsets, unsigned &Scale, 228 int &Scale, FixedVectorType *Ty, in decomposePtr() argument 233 Scale = in decomposePtr() 236 return Scale == -1 ? nullptr : V; in decomposePtr() 250 Scale = 0; in decomposePtr() 549 int Scale; in tryCreateMaskedGatherOffset() local 551 Ptr, Offsets, Scale, cast<FixedVectorType>(ResultTy), MemoryTy, Builder); in tryCreateMaskedGatherOffset() 563 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask}); in tryCreateMaskedGatherOffset() 569 Builder.getInt32(Scale), Builder.getInt32(Unsigned)}); in tryCreateMaskedGatherOffset() [all …]
|
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 | 658 unsigned Scale = 1; in rewriteT2FrameIndex() local 681 Scale = 4; in rewriteT2FrameIndex() 683 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 695 Scale = 2; in rewriteT2FrameIndex() 697 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 713 Scale = 1; in rewriteT2FrameIndex() 720 Scale = 1; in rewriteT2FrameIndex() 725 Scale = 4; in rewriteT2FrameIndex() 740 int ImmedOffset = Offset / Scale; in rewriteT2FrameIndex() 742 if ((unsigned)Offset <= Mask * Scale && in rewriteT2FrameIndex() [all …]
|
/freebsd/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/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/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/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> in printUImm12Offset() 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/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelDAGToDAG.h | 58 SDValue &Base, SDValue &Index, SDValue &Scale); 62 SDValue &Scale) { in SelectAddrRegRegScale() argument 63 return SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale); in SelectAddrRegRegScale() 68 SDValue &Scale) { in SelectAddrRegZextRegScale() argument 69 if (SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale)) { in SelectAddrRegZextRegScale()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrInfo.cpp | 2733 AM.Scale = 0; in getAddrModeFromMemoryOp() 2882 AM.Scale = OffsetScale; in canFoldIntoAddrMode() 2913 AM.Scale = OffsetScale; in canFoldIntoAddrMode() 2957 AM.Scale = 0; in canFoldIntoAddrMode() 2964 [&](int64_t Scale, in canFoldIntoAddrMode() 2968 if (!isLegalAddressingMode(NumBytes, /* Offset */ 0, Scale)) in canFoldIntoAddrMode() 2972 AM.Scale = Scale; in canFoldIntoAddrMode() 3140 unsigned scaledOffsetOpcode(unsigned Opcode, unsigned &Scale) { in scaledOffsetOpcode() argument 3146 Scale = 16; in scaledOffsetOpcode() 3149 Scale = 16; in scaledOffsetOpcode() [all …]
|
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 494 int64_t Scale = 0; member 635 if (Scale != 1) in isCanonical() 638 if (Scale == 1 && BaseRegs.empty()) in isCanonical() 665 assert(Scale == 1 && "Expected 1*reg => reg"); in canonicalize() 667 Scale = 0; in canonicalize() 675 Scale = 1; in canonicalize() 696 if (Scale != 1) in unscale() 698 Scale = 0; in unscale() 774 if (Scale != 0) { in print() 776 OS << Scale << "*reg("; in print() [all …]
|