Home
last modified time | relevance | path

Searched refs:ShiftValue (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DAlignment.h41 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp181 unsigned ShiftValue = (Size * 8) - 8; in applyFixup() local
183 Data[Offset + I] |= uint8_t(Value >> ShiftValue); in applyFixup()
184 ShiftValue -= 8; in applyFixup()
H A DSystemZMCCodeEmitter.cpp164 unsigned ShiftValue = (Size * 8) - 8; in encodeInstruction() local
166 OS << uint8_t(Bits >> ShiftValue); in encodeInstruction()
167 ShiftValue -= 8; in encodeInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaMCCodeEmitter.cpp133 unsigned ShiftValue = 0; in encodeInstruction() local
135 OS << uint8_t(Bits >> ShiftValue); in encodeInstruction()
136 ShiftValue += 8; in encodeInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp4975 uint64_t ShiftValue = ImmValue; in expandRotationImm() local
4977 ShiftValue = MaxShift - ImmValue; in expandRotationImm()
4978 TOut.emitRRI(Mips::ROTR, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandRotationImm()
5117 uint64_t ShiftValue = ImmValue % 32; in expandDRotationImm() local
5119 ShiftValue = (32 - ImmValue % 32) % 32; in expandDRotationImm()
5121 TOut.emitRRI(FinalOpcode, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandDRotationImm()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9578 SDValue ShiftValue; in visitSRA() local
9580 ShiftValue = DAG.getBuildVector(ShiftVT, DL, ShiftValues); in visitSRA()
9585 ShiftValue = DAG.getSplatVector(ShiftVT, DL, ShiftValues[0]); in visitSRA()
9587 ShiftValue = ShiftValues[0]; in visitSRA()
9588 return DAG.getNode(ISD::SRA, DL, VT, N0.getOperand(0), ShiftValue); in visitSRA()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp12217 Value *Shiftee, *ShiftValue; in isImpliedCondOperandsViaShift() local
12221 m_LShr(m_Value(Shiftee), m_Value(ShiftValue)))) { in isImpliedCondOperandsViaShift()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp29172 SDValue ShiftValue = in LowerSET_ROUNDING() local
29180 ShiftValue); in LowerSET_ROUNDING()