| /freebsd-12.1/contrib/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-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 54 unsigned Scale; member 61 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode() 67 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); in getFullAddress() 77 MO.push_back(MachineOperand::CreateImm(Scale)); in getFullAddress() 106 AM.Scale = Op1.getImm(); in getAddressFromInstr() 175 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 184 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
| H A D | X86ISelDAGToDAG.cpp | 65 unsigned Scale; member 263 Scale = getI8Imm(AM.Scale, DL); in getAddressOperands() 1213 if (AM.Scale == 2 && in matchAddress() 1217 AM.Scale = 1; in matchAddress() 1225 AM.Scale == 1 && in matchAddress() 1263 AM.Scale = 1; in matchAdd() 1371 AM.Scale = 1 << ShiftAmt; in foldMaskedShiftToScaledMask() 1768 AM.Scale = 1; in matchAddressRecursively() 1844 AM.Scale = 1; in matchAddressBase() 2154 if (AM.Scale > 1) in selectLEAAddr() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/esan/ |
| H A D | esan_shadow.h | 165 uptr Scale; 192 Scale = ShadowScale; in initialize() 195 if (Scale <= 2) in initialize() 196 Offset = OffsetArray40[Scale]; in initialize() 198 Offset = OffsetArray40[0] << Scale; in initialize() 202 if (Scale <= 2) in initialize() 203 Offset = OffsetArray47[Scale]; in initialize() 205 Offset = OffsetArray47[0] << Scale; in initialize() 236 return (((App & Params::Mask) + Mapping.Offset) >> Mapping.Scale); in appToShadowImpl()
|
| H A D | esan.cpp | 104 for (int Scale = 0; Scale < 8; ++Scale) { in verifyShadowScheme() local 105 Mapping.initialize(Scale); in verifyShadowScheme() 107 VPrintf(3, "\nChecking scale %d\n", Scale); in verifyShadowScheme() 159 VPrintf(1, "Shadow scale=%d offset=%p\n", Mapping.Scale, Mapping.Offset); in initializeShadow()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | FixedPoint.h | 34 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, in FixedPointSemantics() argument 36 : Width(Width), Scale(Scale), IsSigned(IsSigned), in FixedPointSemantics() 38 assert(Width >= Scale && "Not enough room for the scale"); in FixedPointSemantics() 42 unsigned getScale() const { return Scale; } in getScale() 51 return Width - Scale - 1; in getIntegralBits() 53 return Width - Scale; in getIntegralBits() 58 unsigned Scale; variable
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 247 Scale = 1; in GetLinearExpression() 274 Scale = 1; in GetLinearExpression() 387 Scale = 1; in GetLinearExpression() 578 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression() 586 Scale = adjustToPointerSize(Scale, PointerSize); in DecomposeGEPExpression() 1457 APInt Scale = DecompGEP1.VarIndices[i].Scale; in aliasGEP() local 1885 APInt Scale = Src[i].Scale; in GetIndexDifference() local 1896 if (Dest[j].Scale != Scale) in GetIndexDifference() 1897 Dest[j].Scale -= Scale; in GetIndexDifference() 1900 Scale = 0; in GetIndexDifference() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsConstantIslandPass.cpp | 140 Scale = 2; in branchMaxOffsets() 144 Scale = 2; in branchMaxOffsets() 148 Scale = 2; in branchMaxOffsets() 152 Scale = 2; in branchMaxOffsets() 156 Scale = 2; in branchMaxOffsets() 160 Scale = 2; in branchMaxOffsets() 164 Scale = 2; in branchMaxOffsets() 168 Scale = 2; in branchMaxOffsets() 172 Scale = 2; in branchMaxOffsets() 176 Scale = 2; in branchMaxOffsets() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 63 unsigned Scale; member 139 if (Mem.Scale) in print() 140 OS << ",Scale=" << Mem.Scale; in print() 192 return Mem.Scale; in getMemScale() 575 Res->Mem.Scale = 1; 588 unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, 596 assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && 603 Res->Mem.Scale = Scale;
|
| H A D | X86AsmParser.cpp | 44 if (Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) { in checkScale() 464 Scale = 0; in onPlus() 517 Scale = 0; in onMinus() 650 Scale = TmpInt; in onInteger() 746 Scale = 0; in onRBrac() 1902 if (Scale == 0 && in ParseIntelOperand() 1911 if (Scale != 0 && in ParseIntelOperand() 1916 if (Scale == 0) in ParseIntelOperand() 1917 Scale = 1; in ParseIntelOperand() 2231 Scale = 1; in ParseMemOperand() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 67 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 69 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 71 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/MCParser/ |
| H A D | MCTargetAsmParser.h | 67 unsigned Scale; member 71 Scale(1) {} in NeedBracs() 83 Scale = scale; in IntelExpr() 101 return (Scale == 1) || in isValid() 102 (hasIndexReg() && (Scale == 2 || Scale == 4 || Scale == 8)); in isValid()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 461 if (Scale != 1) in isCanonical() 499 Scale = 1; in canonicalize() 522 if (Scale != 1) in unscale() 524 Scale = 0; in unscale() 1627 if (Scale != 0 && Scale != -1) in isAMCompletelyFolded() 1738 if (!F.Scale) in getScalingFactorCost() 1786 Scale = 0; in isAlwaysFoldable() 2432 Scale = -Scale; in OptimizeLoopTermCond() 2607 F.Scale == OrigF.Scale && in FindUseWithSimilarFormula() 4416 if (F.BaseOffset == 0 || (F.Scale != 0 && F.Scale != 1)) in NarrowSearchSpaceByCollapsingUnrolledCode() [all …]
|
| /freebsd-12.1/contrib/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-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstrInfo.cpp | 1957 Scale = 4; in getMemOpInfo() 1964 Scale = 1; in getMemOpInfo() 1973 Scale = 1; in getMemOpInfo() 1983 Scale = 1; in getMemOpInfo() 1994 Scale = 1; in getMemOpInfo() 2005 Scale = 1; in getMemOpInfo() 2032 Scale = 8; in getMemOpInfo() 2053 Scale = 4; in getMemOpInfo() 3176 Scale = 8; in isAArch64FrameOffsetLegal() 3180 Scale = 8; in isAArch64FrameOffsetLegal() [all …]
|
| H A D | AArch64FrameLowering.cpp | 606 int Scale = 1; in convertCalleeSaveRestoreToSPPrePostIncDec() local 612 Scale = 8; in convertCalleeSaveRestoreToSPPrePostIncDec() 616 Scale = 8; in convertCalleeSaveRestoreToSPPrePostIncDec() 620 Scale = 16; in convertCalleeSaveRestoreToSPPrePostIncDec() 633 Scale = 8; in convertCalleeSaveRestoreToSPPrePostIncDec() 637 Scale = 8; in convertCalleeSaveRestoreToSPPrePostIncDec() 641 Scale = 16; in convertCalleeSaveRestoreToSPPrePostIncDec() 707 unsigned Scale; in fixupCalleeSaveRestoreStackOffset() local 717 Scale = 8; in fixupCalleeSaveRestoreStackOffset() 723 Scale = 16; in fixupCalleeSaveRestoreStackOffset() [all …]
|
| H A D | AArch64RegisterInfo.td | 1038 let Name = "ZPRExtend" # ShiftExtend # RegWidth # Scale 1044 # Scale # ", " 1047 let DiagnosticType = "InvalidZPR" # RegWidth # ShiftExtend # Scale; 1059 # Scale # ", " 1103 let Name = AsmOperandName # Scale; 1105 let DiagnosticType = "Invalid" # AsmOperandName # Scale; 1115 foreach Scale = [8, 16, 32, 64] in { 1116 def GPR64shiftedAsmOpnd # Scale : GPR64ShiftExtendAsmOperand<"GPR64shifted", Scale, "GPR64">; 1117 …def GPR64shifted # Scale : GPR64ExtendRegisterOperand<"GPR64shiftedAsmOpnd" # Scale, Scale, GPR64>; 1119 …def GPR64NoXZRshiftedAsmOpnd # Scale : GPR64ShiftExtendAsmOperand<"GPR64NoXZRshifted", Scale, "GPR… [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.cpp | 484 int Scale = 1; in getFrameIndexInstrOffset() local 491 Scale = 1; in getFrameIndexInstrOffset() 499 Scale = 4; in getFrameIndexInstrOffset() 517 Scale = 4; in getFrameIndexInstrOffset() 523 return InstrOffs * Scale; in getFrameIndexInstrOffset() 678 unsigned Scale = 1; in isFrameOffsetLegal() local 685 Scale = 1; in isFrameOffsetLegal() 696 Scale = 4; in isFrameOffsetLegal() 707 Scale = 4; in isFrameOffsetLegal() 717 if ((Offset & (Scale-1)) != 0) in isFrameOffsetLegal() [all …]
|
| H A D | Thumb2InstrInfo.cpp | 571 unsigned Scale = 1; in rewriteT2FrameIndex() local 593 Scale = 4; in rewriteT2FrameIndex() 595 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 607 Scale = 2; in rewriteT2FrameIndex() 609 assert((Offset & (Scale-1)) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex() 618 Scale = 1; in rewriteT2FrameIndex() 623 Scale = 4; in rewriteT2FrameIndex() 636 int ImmedOffset = Offset / Scale; in rewriteT2FrameIndex() 638 if ((unsigned)Offset <= Mask * Scale) { in rewriteT2FrameIndex() 667 Offset &= ~(Mask*Scale); in rewriteT2FrameIndex()
|
| H A D | ARMConstantIslandPass.cpp | 726 Scale = 4; in initializeFunctionInfo() 732 Scale = 2; in initializeFunctionInfo() 736 Scale = 2; in initializeFunctionInfo() 742 Scale = 2; in initializeFunctionInfo() 746 Scale = 2; in initializeFunctionInfo() 787 Scale = 4; in initializeFunctionInfo() 799 Scale = 4; in initializeFunctionInfo() 1802 Scale = 4; in optimizeThumb2Instructions() 1809 Scale = 4; in optimizeThumb2Instructions() 1858 Scale = 2; in optimizeThumb2Branches() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/InstPrinter/ |
| H A D | AArch64InstPrinter.h | 103 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 105 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 108 template <int Scale> 111 printUImm12Offset(MI, OpNum, Scale, O); in printUImm12Offset() 123 template <int Scale>
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 239 bool HasBaseReg, int64_t Scale, 243 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); 272 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { in getScalingFactorCost() argument 275 Scale, AddrSpace)) in getScalingFactorCost() 727 int64_t Scale = 0; in getGEPCost() local 757 if (Scale != 0) in getGEPCost() 760 Scale = ElementSize; in getGEPCost() 771 BaseOffset.sextOrTrunc(64).getSExtValue(), HasBaseReg, Scale, AS)) in getGEPCost()
|
| H A D | BasicAliasAnalysis.h | 118 APInt Scale; member 122 SExtBits == Other.SExtBits && Scale == Other.Scale; 169 GetLinearExpression(const Value *V, APInt &Scale, APInt &Offset,
|
| /freebsd-12.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-12.1/contrib/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 220 static inline uint32_t scaleBranchCount(uint64_t Count, uint64_t Scale) { in scaleBranchCount() argument 221 uint64_t Scaled = Count / Scale; in scaleBranchCount()
|