Lines Matching defs:Asm
145 void LoongArchAsmBackend::applyFixup(const MCAssembler &Asm,
158 MCContext &Ctx = Asm.getContext();
208 bool LoongArchAsmBackend::shouldInsertFixupForCodeAlign(MCAssembler &Asm,
221 MCContext &Ctx = Asm.getContext();
234 Asm.registerSymbol(*Sym);
246 Asm.getWriter().recordRelocation(Asm, &AF, Fixup, Value, FixedValue);
251 bool LoongArchAsmBackend::shouldForceRelocation(const MCAssembler &Asm,
302 std::pair<bool, bool> LoongArchAsmBackend::relaxLEB128(const MCAssembler &Asm,
306 if (LF.isSigned() || !Expr.evaluateKnownAbsolute(Value, Asm))
313 bool LoongArchAsmBackend::relaxDwarfLineAddr(const MCAssembler &Asm,
316 MCContext &C = Asm.getContext();
325 if (AddrDelta.evaluateAsAbsolute(Value, Asm))
327 bool IsAbsolute = AddrDelta.evaluateKnownAbsolute(Value, Asm);
381 bool LoongArchAsmBackend::relaxDwarfCFA(const MCAssembler &Asm,
390 if (AddrDelta.evaluateAsAbsolute(Value, Asm))
392 bool IsAbsolute = AddrDelta.evaluateKnownAbsolute(Value, Asm);
400 assert(Asm.getContext().getAsmInfo()->getMinInstAlignment() == 1 &&
452 bool LoongArchAsmBackend::handleAddSubRelocations(const MCAssembler &Asm,
504 auto &Assembler = const_cast<MCAssembler &>(Asm);
505 Asm.getWriter().recordRelocation(Assembler, &F, FA, A, FixedValueA);
506 Asm.getWriter().recordRelocation(Assembler, &F, FB, B, FixedValueB);