Searched refs:ShiftValue (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Alignment.h | 41 uint8_t ShiftValue = 0; /// The log2 of the required alignment. 79 ShiftValue = Log2_64(Value); in Align() 80 assert(ShiftValue < 64 && "Broken invariant"); in Align() 85 uint64_t value() const { return uint64_t(1) << ShiftValue; } in value() 89 assert(ShiftValue != 0 && "Undefined operation"); in previous() 91 Out.ShiftValue = ShiftValue - 1; in previous() 107 constexpr Align(LogValue CA) : ShiftValue(CA.Log) {} in Align() 208 inline unsigned Log2(Align A) { return A.ShiftValue; } in Log2() 217 inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } in encode() 224 Out.ShiftValue = Value - 1; in decodeMaybeAlign() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCAsmBackend.cpp | 188 unsigned ShiftValue = (Size * 8) - 8; in applyFixup() local 190 Data[Offset + I] |= uint8_t(Value >> ShiftValue); in applyFixup() 191 ShiftValue -= 8; in applyFixup()
|
H A D | SystemZMCCodeEmitter.cpp | 140 unsigned ShiftValue = (Size * 8) - 8; in encodeInstruction() local 142 CB.push_back(uint8_t(Bits >> ShiftValue)); in encodeInstruction() 143 ShiftValue -= 8; in encodeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaMCCodeEmitter.cpp | 134 unsigned ShiftValue = 0; in encodeInstruction() local 136 CB.push_back(char(Bits >> ShiftValue)); in encodeInstruction() 137 ShiftValue += 8; in encodeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 5003 uint64_t ShiftValue = ImmValue; in expandRotationImm() local 5005 ShiftValue = MaxShift - ImmValue; in expandRotationImm() 5006 TOut.emitRRI(Mips::ROTR, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandRotationImm() 5145 uint64_t ShiftValue = ImmValue % 32; in expandDRotationImm() local 5147 ShiftValue = (32 - ImmValue % 32) % 32; in expandDRotationImm() 5149 TOut.emitRRI(FinalOpcode, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandDRotationImm()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 14849 unsigned &ShiftValue, in canLowerSRLToRoundingShiftForVT() argument 14862 ShiftValue = ShiftOp1->getZExtValue(); in canLowerSRLToRoundingShiftForVT() 14863 if (ShiftValue < 1 || ShiftValue > ResVT.getScalarSizeInBits()) in canLowerSRLToRoundingShiftForVT() 14874 if (ShiftValue > ExtraBits && !Add->getFlags().hasNoUnsignedWrap()) in canLowerSRLToRoundingShiftForVT() 14882 if (AddValue != 1ULL << (ShiftValue - 1)) in canLowerSRLToRoundingShiftForVT() 14918 unsigned ShiftValue; in LowerVectorSRA_SRL_SHL() local 14919 if (canLowerSRLToRoundingShiftForVT(Op, VT, DAG, ShiftValue, RShOperand)) in LowerVectorSRA_SRL_SHL() 14922 DAG.getTargetConstant(ShiftValue, DL, MVT::i32)); in LowerVectorSRA_SRL_SHL() 22090 SDValue ShiftValue = Op0.getOperand(1); in tryCombineExtendRShTrunc() local 22091 if (RshOpc != Op1.getOpcode() || ShiftValue != Op1.getOperand(1)) in tryCombineExtendRShTrunc() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 10367 SDValue ShiftValue; in visitSRA() local 10369 ShiftValue = DAG.getBuildVector(ShiftVT, DL, ShiftValues); in visitSRA() 10374 ShiftValue = DAG.getSplatVector(ShiftVT, DL, ShiftValues[0]); in visitSRA() 10376 ShiftValue = ShiftValues[0]; in visitSRA() 10377 return DAG.getNode(ISD::SRA, DL, VT, N0.getOperand(0), ShiftValue); in visitSRA()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 12258 Value *Shiftee, *ShiftValue; in isImpliedCondOperandsViaShift() local 12262 m_LShr(m_Value(Shiftee), m_Value(ShiftValue)))) { in isImpliedCondOperandsViaShift()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 27740 SDValue ShiftValue = in LowerSET_ROUNDING() local 27748 ShiftValue); in LowerSET_ROUNDING()
|