Lines Matching +full:0 +full:x0007ffff

3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
57 LLVM_DEBUG(dbgs() << "evaluateMIPS32Relocation, LocalAddress: 0x" in evaluateMIPS32Relocation()
59 << " FinalAddress: 0x" in evaluateMIPS32Relocation()
61 << " Value: 0x" << format("%llx", Value) << " Type: 0x" in evaluateMIPS32Relocation()
74 return (Value + 0x8000) >> 16; in evaluateMIPS32Relocation()
87 return (Value - (FinalAddress & ~0x3)) >> 2; in evaluateMIPS32Relocation()
99 return (Value - FinalAddress + 0x8000) >> 16; in evaluateMIPS32Relocation()
112 LLVM_DEBUG(dbgs() << "evaluateMIPS64Relocation, LocalAddress: 0x" in evaluateMIPS64Relocation()
114 << " FinalAddress: 0x" in evaluateMIPS64Relocation()
116 << " Value: 0x" << format("%llx", Value) << " Type: 0x" in evaluateMIPS64Relocation()
117 << format("%x", Type) << " Addend: 0x" in evaluateMIPS64Relocation()
134 return ((Value + Addend) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation()
137 return Value + Addend - (GOTAddr + 0x7ff0); in evaluateMIPS64Relocation()
143 return ((Value + Addend + 0x8000) >> 16) & 0xffff; in evaluateMIPS64Relocation()
145 return (Value + Addend) & 0xffff; in evaluateMIPS64Relocation()
147 return ((Value + Addend + 0x80008000) >> 32) & 0xffff; in evaluateMIPS64Relocation()
149 return ((Value + Addend + 0x800080008000) >> 48) & 0xffff; in evaluateMIPS64Relocation()
159 Value = (Value + 0x8000) & ~0xffff; in evaluateMIPS64Relocation()
167 return (SymOffset - 0x7ff0) & 0xffff; in evaluateMIPS64Relocation()
170 int64_t page = (Value + Addend + 0x8000) & ~0xffff; in evaluateMIPS64Relocation()
171 return (Value + Addend - page) & 0xffff; in evaluateMIPS64Relocation()
175 return Value + Addend - (GOTAddr + 0x7ff0); in evaluateMIPS64Relocation()
179 return ((Value + Addend - FinalAddress) >> 2) & 0xffff; in evaluateMIPS64Relocation()
187 return ((Value + Addend - (FinalAddress & ~0x7)) >> 3) & 0x3ffff; in evaluateMIPS64Relocation()
191 return ((Value + Addend - (FinalAddress & ~0x3)) >> 2) & 0x7ffff; in evaluateMIPS64Relocation()
195 return ((Value + Addend - FinalAddress) >> 2) & 0x1fffff; in evaluateMIPS64Relocation()
199 return ((Value + Addend - FinalAddress) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation()
203 return ((Value + Addend - FinalAddress + 0x8000) >> 16) & 0xffff; in evaluateMIPS64Relocation()
207 return (Value + Addend - FinalAddress) & 0xffff; in evaluateMIPS64Relocation()
210 return 0; in evaluateMIPS64Relocation()
233 Insn = (Insn & 0xffff0000) | (Value & 0x0000ffff); in applyMIPSRelocation()
237 Insn = (Insn & 0xfffc0000) | (Value & 0x0003ffff); in applyMIPSRelocation()
241 Insn = (Insn & 0xfff80000) | (Value & 0x0007ffff); in applyMIPSRelocation()
245 Insn = (Insn & 0xffe00000) | (Value & 0x001fffff); in applyMIPSRelocation()
250 Insn = (Insn & 0xfc000000) | (Value & 0x03ffffff); in applyMIPSRelocation()
256 writeBytesUnaligned(Value & 0xffffffff, TargetPtr, 4); in applyMIPSRelocation()
277 uint32_t r_type = Type & 0xff; in resolveMIPSN64Relocation()
278 uint32_t r_type2 = (Type >> 8) & 0xff; in resolveMIPSN64Relocation()
279 uint32_t r_type3 = (Type >> 16) & 0xff; in resolveMIPSN64Relocation()
289 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, in resolveMIPSN64Relocation()
295 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, in resolveMIPSN64Relocation()