Lines Matching refs:Value
32 // Prepare value for the target space for it
33 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
63 // address range. Forcing a signed division because Value can be negative.
64 Value = (int64_t)Value / 4;
65 // We now check if Value can be encoded as a 16-bit signed immediate.
66 if (!isInt<16>(Value) && Ctx) {
72 // Forcing a signed division because Value can be negative.
73 Value = (int64_t)Value / 4;
74 // We now check if Value can be encoded as a 19-bit signed immediate.
75 if (!isInt<19>(Value) && Ctx) {
84 Value >>= 2;
93 Value = ((Value + 0x8000) >> 16) & 0xffff;
97 Value = ((Value + 0x80008000LL) >> 32) & 0xffff;
101 Value = ((Value + 0x800080008000LL) >> 48) & 0xffff;
104 Value >>= 1;
107 Value -= 4;
108 // Forcing a signed division because Value can be negative.
109 Value = (int64_t) Value / 2;
110 // We now check if Value can be encoded as a 7-bit signed immediate.
111 if (!isInt<7>(Value) && Ctx) {
117 Value -= 2;
118 // Forcing a signed division because Value can be negative.
119 Value = (int64_t) Value / 2;
120 // We now check if Value can be encoded as a 10-bit signed immediate.
121 if (!isInt<10>(Value) && Ctx) {
127 Value -= 4;
128 // Forcing a signed division because Value can be negative.
129 Value = (int64_t)Value / 2;
130 // We now check if Value can be encoded as a 16-bit signed immediate.
131 if (!isInt<16>(Value) && Ctx) {
137 // Forcing a signed division because Value can be negative.
138 Value = (int64_t)Value / 8;
139 // We now check if Value can be encoded as a 18-bit signed immediate.
140 if (!isInt<18>(Value) && Ctx) {
146 // Forcing a signed division because Value can be negative.
147 Value = (int64_t) Value / 4;
148 // We now check if Value can be encoded as a 21-bit signed immediate.
149 if (!isInt<21>(Value) && Ctx) {
155 // Forcing a signed division because Value can be negative.
156 Value = (int64_t) Value / 4;
157 // We now check if Value can be encoded as a 26-bit signed immediate.
158 if (!isInt<26>(Value) && Ctx) {
165 return Value;
191 /// ApplyFixup - Apply the \p Value for given \p Fixup into the provided
195 unsigned DataSize, uint64_t Value,
198 Value = adjustFixupValue(Fixup, Value);
200 if (!Value)
226 // Grab current value, if any, from bits.
240 CurVal |= Value & Mask;
425 /// processFixupValue - Target hook to process the literal value of a fixup
432 uint64_t &Value,
434 // At this point we'll ignore the value returned by adjustFixupValue as
438 (void)adjustFixupValue(Fixup, Value, &Asm.getContext());