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,
301 std::pair<bool, bool> LoongArchAsmBackend::relaxLEB128(const MCAssembler &Asm,
305 if (LF.isSigned() || !Expr.evaluateKnownAbsolute(Value, Asm))
312 bool LoongArchAsmBackend::relaxDwarfLineAddr(const MCAssembler &Asm,
315 MCContext &C = Asm.getContext();
324 if (AddrDelta.evaluateAsAbsolute(Value, Asm))
326 bool IsAbsolute = AddrDelta.evaluateKnownAbsolute(Value, Asm);
380 bool LoongArchAsmBackend::relaxDwarfCFA(const MCAssembler &Asm,
389 if (AddrDelta.evaluateAsAbsolute(Value, Asm))
391 bool IsAbsolute = AddrDelta.evaluateKnownAbsolute(Value, Asm);
399 assert(Asm.getContext().getAsmInfo()->getMinInstAlignment() == 1 &&
451 bool LoongArchAsmBackend::handleAddSubRelocations(const MCAssembler &Asm,
503 auto &Assembler = const_cast<MCAssembler &>(Asm);
504 Asm.getWriter().recordRelocation(Assembler, &F, FA, A, FixedValueA);
505 Asm.getWriter().recordRelocation(Assembler, &F, FB, B, FixedValueB);