Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Support/
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()
109 constexpr Align(LogValue CA) : ShiftValue(CA.Log) {} in Align()
217 inline unsigned Log2(Align A) { return A.ShiftValue; } in Log2()
242 inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } in encode()
249 Out.ShiftValue = Value - 1; in decodeMaybeAlign()
293 return Lhs.ShiftValue == Rhs.ShiftValue;
296 return Lhs.ShiftValue != Rhs.ShiftValue;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAlignment.h42 uint8_t ShiftValue = 0; /// The log2 of the required alignment.
80 ShiftValue = Log2_64(Value); in Align()
81 assert(ShiftValue < 64 && "Broken invariant"); in Align()
86 uint64_t value() const { return uint64_t(1) << ShiftValue; } in value()
107 constexpr Align(LogValue CA) : ShiftValue(CA.Log) {} in Align()
204 inline unsigned Log2(Align A) { return A.ShiftValue; } in Log2()
236 inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } in encode()
243 Out.ShiftValue = Value - 1; in decodeMaybeAlign()
307 return Lhs.ShiftValue == Rhs.ShiftValue;
310 return Lhs.ShiftValue != Rhs.ShiftValue;
[all …]
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp99 unsigned ShiftValue = (Size * 8) - 8; in applyFixup() local
101 Data[Offset + I] |= uint8_t(Value >> ShiftValue); in applyFixup()
102 ShiftValue -= 8; in applyFixup()
DSystemZMCCodeEmitter.cpp129 unsigned ShiftValue = (Size * 8) - 8; in encodeInstruction() local
131 OS << uint8_t(Bits >> ShiftValue); in encodeInstruction()
132 ShiftValue -= 8; in encodeInstruction()
/external/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
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()
DSystemZMCCodeEmitter.cpp164 unsigned ShiftValue = (Size * 8) - 8; in encodeInstruction() local
166 OS << uint8_t(Bits >> ShiftValue); in encodeInstruction()
167 ShiftValue -= 8; in encodeInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp113 unsigned ShiftValue = (Size * 8) - 8; in applyFixup() local
115 Data[Offset + I] |= uint8_t(Value >> ShiftValue); in applyFixup()
116 ShiftValue -= 8; in applyFixup()
DSystemZMCCodeEmitter.cpp164 unsigned ShiftValue = (Size * 8) - 8; in encodeInstruction() local
166 OS << uint8_t(Bits >> ShiftValue); in encodeInstruction()
167 ShiftValue -= 8; in encodeInstruction()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3462 uint64_t ShiftValue = ImmValue; in expandRotationImm() local
3464 ShiftValue = MaxShift - ImmValue; in expandRotationImm()
3465 TOut.emitRRI(Mips::ROTR, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandRotationImm()
3608 uint64_t ShiftValue = ImmValue % 32; in expandDRotationImm() local
3610 ShiftValue = (32 - ImmValue % 32) % 32; in expandDRotationImm()
3612 TOut.emitRRI(FinalOpcode, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandDRotationImm()
/external/llvm-project/llvm/lib/Target/Mips/AsmParser/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp4823 uint64_t ShiftValue = ImmValue; in expandRotationImm() local
4825 ShiftValue = MaxShift - ImmValue; in expandRotationImm()
4826 TOut.emitRRI(Mips::ROTR, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandRotationImm()
4965 uint64_t ShiftValue = ImmValue % 32; in expandDRotationImm() local
4967 ShiftValue = (32 - ImmValue % 32) % 32; in expandDRotationImm()
4969 TOut.emitRRI(FinalOpcode, DReg, SReg, ShiftValue, Inst.getLoc(), STI); in expandDRotationImm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7762 SDValue ShiftValue; in visitSRA() local
7764 ShiftValue = DAG.getBuildVector(ShiftVT, DL, ShiftValues); in visitSRA()
7766 ShiftValue = ShiftValues[0]; in visitSRA()
7767 return DAG.getNode(ISD::SRA, DL, VT, N0.getOperand(0), ShiftValue); in visitSRA()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8406 SDValue ShiftValue; in visitSRA() local
8408 ShiftValue = DAG.getBuildVector(ShiftVT, DL, ShiftValues); in visitSRA()
8410 ShiftValue = ShiftValues[0]; in visitSRA()
8411 return DAG.getNode(ISD::SRA, DL, VT, N0.getOperand(0), ShiftValue); in visitSRA()