Lines Matching refs:Value

65                                                    uint64_t Value,  in fixupNeedsRelaxationAdvanced()  argument
76 int64_t Offset = int64_t(Value); in fixupNeedsRelaxationAdvanced()
170 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value, in adjustFixupValue() argument
180 return Value; in adjustFixupValue()
183 return Value & 0xfff; in adjustFixupValue()
186 return (((Value >> 5) & 0x7f) << 25) | ((Value & 0x1f) << 7); in adjustFixupValue()
190 return ((Value + 0x800) >> 12) & 0xfffff; in adjustFixupValue()
192 if (!isInt<21>(Value)) in adjustFixupValue()
194 if (Value & 0x1) in adjustFixupValue()
197 unsigned Sbit = (Value >> 20) & 0x1; in adjustFixupValue()
198 unsigned Hi8 = (Value >> 12) & 0xff; in adjustFixupValue()
199 unsigned Mid1 = (Value >> 11) & 0x1; in adjustFixupValue()
200 unsigned Lo10 = (Value >> 1) & 0x3ff; in adjustFixupValue()
205 Value = (Sbit << 19) | (Lo10 << 9) | (Mid1 << 8) | Hi8; in adjustFixupValue()
206 return Value; in adjustFixupValue()
209 if (!isInt<13>(Value)) in adjustFixupValue()
211 if (Value & 0x1) in adjustFixupValue()
215 unsigned Sbit = (Value >> 12) & 0x1; in adjustFixupValue()
216 unsigned Hi1 = (Value >> 11) & 0x1; in adjustFixupValue()
217 unsigned Mid6 = (Value >> 5) & 0x3f; in adjustFixupValue()
218 unsigned Lo4 = (Value >> 1) & 0xf; in adjustFixupValue()
223 Value = (Sbit << 31) | (Mid6 << 25) | (Lo4 << 8) | (Hi1 << 7); in adjustFixupValue()
224 return Value; in adjustFixupValue()
230 uint64_t UpperImm = (Value + 0x800ULL) & 0xfffff000ULL; in adjustFixupValue()
231 uint64_t LowerImm = Value & 0xfffULL; in adjustFixupValue()
236 unsigned Bit11 = (Value >> 11) & 0x1; in adjustFixupValue()
237 unsigned Bit4 = (Value >> 4) & 0x1; in adjustFixupValue()
238 unsigned Bit9_8 = (Value >> 8) & 0x3; in adjustFixupValue()
239 unsigned Bit10 = (Value >> 10) & 0x1; in adjustFixupValue()
240 unsigned Bit6 = (Value >> 6) & 0x1; in adjustFixupValue()
241 unsigned Bit7 = (Value >> 7) & 0x1; in adjustFixupValue()
242 unsigned Bit3_1 = (Value >> 1) & 0x7; in adjustFixupValue()
243 unsigned Bit5 = (Value >> 5) & 0x1; in adjustFixupValue()
244 Value = (Bit11 << 10) | (Bit4 << 9) | (Bit9_8 << 7) | (Bit10 << 6) | in adjustFixupValue()
246 return Value; in adjustFixupValue()
250 unsigned Bit8 = (Value >> 8) & 0x1; in adjustFixupValue()
251 unsigned Bit7_6 = (Value >> 6) & 0x3; in adjustFixupValue()
252 unsigned Bit5 = (Value >> 5) & 0x1; in adjustFixupValue()
253 unsigned Bit4_3 = (Value >> 3) & 0x3; in adjustFixupValue()
254 unsigned Bit2_1 = (Value >> 1) & 0x3; in adjustFixupValue()
255 Value = (Bit8 << 12) | (Bit4_3 << 10) | (Bit7_6 << 5) | (Bit2_1 << 3) | in adjustFixupValue()
257 return Value; in adjustFixupValue()
265 MutableArrayRef<char> Data, uint64_t Value, in applyFixup() argument
270 if (!Value) in applyFixup()
273 Value = adjustFixupValue(Fixup, Value, Ctx); in applyFixup()
276 Value <<= Info.TargetOffset; in applyFixup()
286 Data[Offset + i] |= uint8_t((Value >> (i * 8)) & 0xff); in applyFixup()