Lines Matching refs:Asm
51 virtual void sortRelocs(const MCAssembler &Asm,
233 static unsigned getMatchingLoType(const MCAssembler &Asm,
258 static bool areMatchingHiAndLo(const MCAssembler &Asm,
261 return getMatchingLoType(Asm, First) != ELF::R_MIPS_NONE &&
262 getMatchingLoType(Asm, First) == Second.Type &&
268 isPrecededByMatchingHi(const MCAssembler &Asm, uint32_t Index,
271 areMatchingHiAndLo(Asm, MipsRelocs[Index + 1].R, MipsRelocs[Index].R);
276 static bool isFreeLo(const MCAssembler &Asm, uint32_t Index,
279 !isPrecededByMatchingHi(Asm, Index, MipsRelocs);
341 void MipsELFObjectWriter::sortRelocs(const MCAssembler &Asm,
356 if (getMatchingLoType(Asm, MipsRelocs[I].R) == ELF::R_MIPS_NONE ||
357 (I > 0 && isPrecededByMatchingHi(Asm, I - 1, MipsRelocs)))
365 if (areMatchingHiAndLo(Asm, MipsRelocs[I].R, MipsRelocs[J].R) &&
369 (MatchedLoIndex > J && isFreeLo(Asm, J, MipsRelocs))))