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