Lines Matching refs:Asm
432 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const { in evaluateAsAbsolute()
433 return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr); in evaluateAsAbsolute()
442 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in evaluateAsAbsolute() argument
448 return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs); in evaluateAsAbsolute()
451 bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm, in evaluateAsAbsolute() argument
463 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute()
473 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
485 if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet)) in AttemptToFoldSymbolOffsetDifference()
494 if (Asm->isThumbFunc(&SA)) in AttemptToFoldSymbolOffsetDifference()
520 if (Asm->isThumbFunc(&SA)) in AttemptToFoldSymbolOffsetDifference()
548 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, in EvaluateSymbolicAdd() argument
561 assert((!Layout || Asm) && in EvaluateSymbolicAdd()
565 if (Asm) { in EvaluateSymbolicAdd()
576 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B, in EvaluateSymbolicAdd()
578 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B, in EvaluateSymbolicAdd()
580 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B, in EvaluateSymbolicAdd()
582 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B, in EvaluateSymbolicAdd()
626 bool MCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl() argument
651 Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO)) { in evaluateAsRelocatableImpl()
676 if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
710 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
712 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
724 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
729 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()