Lines Matching refs:loc
27 const uint8_t *loc) const override;
30 void relocate(uint8_t *loc, const Relocation &rel,
51 const uint8_t *loc) const { in getRelExpr()
83 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) + in getRelExpr()
89 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel, in relocate() argument
95 checkUInt(loc, val, 32, rel); in relocate()
96 write32be(loc, val); in relocate()
100 checkInt(loc, val, 32, rel); in relocate()
101 write32be(loc, val); in relocate()
106 checkInt(loc, val, 32, rel); in relocate()
107 write32be(loc, (read32be(loc) & ~0x3fffffff) | ((val >> 2) & 0x3fffffff)); in relocate()
111 checkUInt(loc, val, 22, rel); in relocate()
112 write32be(loc, (read32be(loc) & ~0x003fffff) | (val & 0x003fffff)); in relocate()
118 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
122 checkUInt(loc, val >> 10, 22, rel); in relocate()
123 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
127 checkInt(loc, val, 21, rel); in relocate()
128 write32be(loc, (read32be(loc) & ~0x0007ffff) | ((val >> 2) & 0x0007ffff)); in relocate()
133 write32be(loc, (read32be(loc) & ~0x000003ff) | (val & 0x000003ff)); in relocate()
137 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff)); in relocate()
142 write64be(loc, val); in relocate()
146 checkUInt(loc, val >> 42, 22, rel); in relocate()
147 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 42) & 0x003fffff)); in relocate()
151 write32be(loc, (read32be(loc) & ~0x00001fff) | ((val >> 32) & 0x000003ff)); in relocate()
155 checkUInt(loc, val >> 22, 22, rel); in relocate()
156 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 22) & 0x003fffff)); in relocate()
160 write32be(loc, (read32be(loc) & ~0x000003ff) | ((val >> 12) & 0x000003ff)); in relocate()
164 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x00000fff)); in relocate()
168 write32be(loc, (read32be(loc) & ~0x003fffff) | ((~val >> 10) & 0x003fffff)); in relocate()
172 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff) | 0x1C00); in relocate()