Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
99 constexpr Align(LogValue CA) : ShiftValue(CA.Log) {} in Align()
207 inline unsigned Log2(Align A) { return A.ShiftValue; } in Log2()
232 inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } in encode()
239 Out.ShiftValue = Value - 1; in decodeMaybeAlign()
283 return Lhs.ShiftValue == Rhs.ShiftValue;
286 return Lhs.ShiftValue != Rhs.ShiftValue;
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCAsmBackend.cpp105 unsigned ShiftValue = (Size * 8) - 8; in applyFixup() local
107 Data[Offset + I] |= uint8_t(Value >> ShiftValue); in applyFixup()
108 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp4933 uint64_t ShiftValue = ImmValue; in expandRotationImm() local
4935 ShiftValue = MaxShift - ImmValue; in expandRotationImm()
4936 TOut.emitRRI(Mips::ROTR, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandRotationImm()
5075 uint64_t ShiftValue = ImmValue % 32; in expandDRotationImm() local
5077 ShiftValue = (32 - ImmValue % 32) % 32; in expandDRotationImm()
5079 TOut.emitRRI(FinalOpcode, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandDRotationImm()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8578 SDValue ShiftValue; in visitSRA() local
8580 ShiftValue = DAG.getBuildVector(ShiftVT, DL, ShiftValues); in visitSRA()
8582 ShiftValue = ShiftValues[0]; in visitSRA()
8583 return DAG.getNode(ISD::SRA, DL, VT, N0.getOperand(0), ShiftValue); in visitSRA()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp27064 SDValue ShiftValue = in LowerSET_ROUNDING() local
27072 ShiftValue); in LowerSET_ROUNDING()