| /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 | 53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 60 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded() 61 return std::make_pair(Digits, Scale); in getRounded() 65 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 67 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 71 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 73 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 81 int16_t Scale = 0) { 86 return std::make_pair(Digits, Scale); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 52 unsigned Scale = 1; member 60 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); in getFullAddress() 70 MO.push_back(MachineOperand::CreateImm(Scale)); in getFullAddress() 99 AM.Scale = Op1.getImm(); in getAddressFromInstr() 171 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 180 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
| H A D | X86ISelDAGToDAG.cpp | 70 unsigned Scale = 1; member 120 dbgs() << " Scale " << Scale << '\n' in dump() 218 SDValue &Scale, SDValue &Index, SDValue &Disp, 221 SDValue ScaleOp, SDValue &Base, SDValue &Scale, 225 SDValue &Scale, SDValue &Index, SDValue &Disp, 227 bool selectLEA64_Addr(SDValue N, SDValue &Base, SDValue &Scale, 230 SDValue &Scale, SDValue &Index, SDValue &Disp, 235 SDValue &Base, SDValue &Scale, 241 SDValue &Base, SDValue &Scale, in tryFoldLoad() argument 244 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 | 385 APInt Scale; member 393 LinearExpression(const CastedValue &Val, const APInt &Scale, in LinearExpression() 395 : Val(Val), Scale(Scale), Offset(Offset), IsNUW(IsNUW), IsNSW(IsNSW) {} in LinearExpression() 400 Scale = APInt(BitWidth, 1); in LinearExpression() 409 return LinearExpression(Val, Scale * Other, Offset * Other, NUW, NSW); in mul() 490 E.Scale <<= RHS.getLimitedValue(); in GetLinearExpression() 517 APInt Scale; member 532 return Scale == -Other.Scale; in hasNegatedScaleOf() 533 return Scale == Other.Scale; in hasNegatedScaleOf() 545 << ", scale=" << Scale in print() [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()
|
| H A D | VectorUtils.cpp | 526 void llvm::narrowShuffleMaskElts(int Scale, ArrayRef<int> Mask, in narrowShuffleMaskElts() argument 528 assert(Scale > 0 && "Unexpected scaling factor"); in narrowShuffleMaskElts() 531 if (Scale == 1) { in narrowShuffleMaskElts() 539 assert(((uint64_t)Scale * MaskElt + (Scale - 1)) <= INT32_MAX && in narrowShuffleMaskElts() 542 for (int SliceElt = 0; SliceElt != Scale; ++SliceElt) in narrowShuffleMaskElts() 543 ScaledMask.push_back(MaskElt < 0 ? MaskElt : Scale * MaskElt + SliceElt); in narrowShuffleMaskElts() 547 bool llvm::widenShuffleMaskElts(int Scale, ArrayRef<int> Mask, in widenShuffleMaskElts() argument 549 assert(Scale > 0 && "Unexpected scaling factor"); in widenShuffleMaskElts() 552 if (Scale == 1) { in widenShuffleMaskElts() 559 if (NumElts % Scale != 0) in widenShuffleMaskElts() [all …]
|
| /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 | 500 unsigned Scale = 1; in initializeFunctionInfo() local 508 Scale = 2; in initializeFunctionInfo() 512 Scale = 2; in initializeFunctionInfo() 517 unsigned MaxOffs = ((1 << (Bits - 1)) - 1) * Scale; in initializeFunctionInfo() 532 unsigned Scale = 1; in initializeFunctionInfo() local 547 Scale = 4; in initializeFunctionInfo() 552 Scale = 4; in initializeFunctionInfo() 556 Scale = 2; in initializeFunctionInfo() 563 unsigned MaxOffs = ((1 << Bits) - 1) * Scale; in initializeFunctionInfo() 886 unsigned Bits, Scale; in getUnconditionalBrDisp() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 133 unsigned Bits, Scale; in branchMaxOffsets() local 137 Scale = 2; in branchMaxOffsets() 141 Scale = 2; in branchMaxOffsets() 145 Scale = 2; in branchMaxOffsets() 149 Scale = 2; in branchMaxOffsets() 153 Scale = 2; in branchMaxOffsets() 157 Scale = 2; in branchMaxOffsets() 161 Scale = 2; in branchMaxOffsets() 165 Scale = 2; in branchMaxOffsets() 169 Scale = 2; in branchMaxOffsets() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
| H A D | XtensaMCTargetDesc.cpp | 35 bool Xtensa::isValidAddrOffset(int Scale, int64_t OffsetVal) { in isValidAddrOffset() argument 38 switch (Scale) { in isValidAddrOffset() 55 int Scale = 0; in isValidAddrOffsetForOpcode() local 60 Scale = 1; in isValidAddrOffsetForOpcode() 65 Scale = 2; in isValidAddrOffsetForOpcode() 71 Scale = 4; in isValidAddrOffsetForOpcode() 74 return isValidAddrOffset(Scale, Offset); in isValidAddrOffsetForOpcode()
|
| /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 | 109 if (!Scale) in verifyType() 119 unsigned V = *Scale; in verifyType() 217 BuiltinStr = "q" + utostr(*Scale) + BuiltinStr; in initBuiltinStr() 235 ClangBuiltinStr += "bool" + utostr(64 / *Scale) + "_t"; in initClangBuiltinStr() 294 Str += "vbool" + utostr(64 / *Scale) + "_t"; in initTypeStr() 335 ShortStr = "b" + utostr(64 / *Scale); in initShortStr() 673 Scale = 0; in applyModifier() 676 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 706 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() 711 Scale = LMUL.getScale(ElementBitwidth); in applyModifier() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 72 unsigned Scale = 1; member 79 OffsetName(offsetName), Scale(1) { in IntelExpr() 81 Scale = scale; in IntelExpr() 91 return (Scale == 1) || in isValid() 92 (hasIndexReg() && (Scale == 2 || Scale == 4 || Scale == 8)); in isValid()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 88 Value *decomposePtr(Value *Ptr, Value *&Offsets, int &Scale, 147 Value *foldGEP(GetElementPtrInst *GEP, Value *&Offsets, unsigned &Scale, 227 int &Scale, FixedVectorType *Ty, in decomposePtr() argument 232 Scale = in decomposePtr() 235 return Scale == -1 ? nullptr : V; in decomposePtr() 249 Scale = 0; in decomposePtr() 548 int Scale; in tryCreateMaskedGatherOffset() local 550 Ptr, Offsets, Scale, cast<FixedVectorType>(ResultTy), MemoryTy, Builder); in tryCreateMaskedGatherOffset() 562 Builder.getInt32(Scale), Builder.getInt32(Unsigned), Mask}); in tryCreateMaskedGatherOffset() 568 Builder.getInt32(Scale), Builder.getInt32(Unsigned)}); in tryCreateMaskedGatherOffset() [all …]
|
| H A D | ThumbRegisterInfo.cpp | 452 unsigned Scale = 4; in rewriteFrameIndex() local 454 Offset += InstrOffs * Scale; in rewriteFrameIndex() 455 assert((Offset & (Scale - 1)) == 0 && "Can't encode this offset!"); in rewriteFrameIndex() 459 int ImmedOffset = Offset / Scale; in rewriteFrameIndex() 462 if ((unsigned)Offset <= Mask * Scale) { in rewriteFrameIndex() 495 if (FrameReg == ARM::SP && Offset - (Mask * Scale) <= 1020) { in rewriteFrameIndex() 503 unsigned BottomBits = (Offset / Scale) & Mask; in rewriteFrameIndex() 504 bool CanMakeBottomByteZero = ((Offset - BottomBits * Scale) & 0xff) == 0; in rewriteFrameIndex() 506 bool CanMakeTopHalfZero = ((Offset - Mask * Scale) & 0xffff0000) == 0; in rewriteFrameIndex() 513 Offset -= InstrOffs * Scale; in rewriteFrameIndex()
|
| H A D | Thumb2InstrInfo.cpp | 660 unsigned Scale = 1; in rewriteT2FrameIndex() local 683 Scale = 4; in rewriteT2FrameIndex() 685 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 697 Scale = 2; in rewriteT2FrameIndex() 699 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 715 Scale = 1; in rewriteT2FrameIndex() 722 Scale = 1; in rewriteT2FrameIndex() 727 Scale = 4; in rewriteT2FrameIndex() 742 int ImmedOffset = Offset / Scale; in rewriteT2FrameIndex() 744 if ((unsigned)Offset <= Mask * Scale && in rewriteT2FrameIndex() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64InstPrinter.h | 113 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 115 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 118 template <int Scale> 121 printUImm12Offset(MI, OpNum, Scale, O); in printUImm12Offset() 133 template <int Scale> 137 template <int Scale, int Offset> 174 template <unsigned Scale = 1> 177 template <unsigned Scale = 1>
|
| /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 149 if (Mem.Scale) in print() 150 OS << ",Scale=" << Mem.Scale; in print() 206 return Mem.Scale; in getMemScale() 755 Res->Mem.Scale = 1; 770 MCRegister BaseReg, MCRegister IndexReg, unsigned Scale, 782 assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && 790 Res->Mem.Scale = Scale;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAsanInstrumentation.h | 41 uint64_t getRedzoneSizeForGlobal(int Scale, uint64_t SizeInBytes); 49 int Scale, int Offset);
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.h | 54 SDValue &Base, SDValue &Index, SDValue &Scale); 58 SDValue &Scale) { in SelectAddrRegRegScale() argument 59 return SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale); in SelectAddrRegRegScale() 64 SDValue &Scale) { in SelectAddrRegZextRegScale() argument 65 if (SelectAddrRegRegScale(Addr, MaxShift, Base, Index, Scale)) { in SelectAddrRegZextRegScale()
|
| /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 | 485 int64_t Scale = 0; member 627 assert((Scale == 0 || ScaledReg) && in isCanonical() 633 if (Scale != 1) in isCanonical() 636 if (Scale == 1 && BaseRegs.empty()) in isCanonical() 663 assert(Scale == 1 && "Expected 1*reg => reg"); in canonicalize() 665 Scale = 0; in canonicalize() 673 Scale = 1; in canonicalize() 694 if (Scale != 1) in unscale() 696 Scale = 0; in unscale() 782 if (Scale != 0) { in print() [all …]
|