Lines Matching refs:Layout
422 const MCAsmLayout &Layout) const { in evaluateAsAbsolute()
423 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute()
427 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument
429 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute()
437 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute()
438 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
443 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
448 return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs); in evaluateAsAbsolute()
452 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
463 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute()
473 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
503 if (!Layout) in AttemptToFoldSymbolOffsetDifference()
513 Addend += Layout->getSymbolOffset(A->getSymbol()) - in AttemptToFoldSymbolOffsetDifference()
514 Layout->getSymbolOffset(B->getSymbol()); in AttemptToFoldSymbolOffsetDifference()
548 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, in EvaluateSymbolicAdd() argument
561 assert((!Layout || 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()
600 const MCAsmLayout *Layout, in evaluateAsRelocatable() argument
602 MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr; in evaluateAsRelocatable()
603 return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr, in evaluateAsRelocatable()
607 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue()
608 MCAssembler *Assembler = &Layout.getAssembler(); in evaluateAsValue()
609 return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr, in evaluateAsValue()
627 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl() argument
635 return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout, in evaluateAsRelocatableImpl()
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()