Lines Matching refs:Layout
398 const MCAsmLayout &Layout) const { in evaluateAsAbsolute()
399 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr); in evaluateAsAbsolute()
403 const MCAsmLayout &Layout, in evaluateAsAbsolute() argument
405 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); in evaluateAsAbsolute()
413 const MCAsmLayout &Layout) const { in evaluateKnownAbsolute()
414 return evaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, nullptr, in evaluateKnownAbsolute()
419 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
424 return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs); in evaluateAsAbsolute()
428 const MCAsmLayout *Layout, in evaluateAsAbsolute() argument
439 evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet); in evaluateAsAbsolute()
449 const MCAssembler *Asm, const MCAsmLayout *Layout, in AttemptToFoldSymbolOffsetDifference() argument
479 if (!Layout) in AttemptToFoldSymbolOffsetDifference()
489 Addend += Layout->getSymbolOffset(A->getSymbol()) - in AttemptToFoldSymbolOffsetDifference()
490 Layout->getSymbolOffset(B->getSymbol()); in AttemptToFoldSymbolOffsetDifference()
524 EvaluateSymbolicAdd(const MCAssembler *Asm, const MCAsmLayout *Layout, in EvaluateSymbolicAdd() argument
537 assert((!Layout || Asm) && in EvaluateSymbolicAdd()
552 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B, in EvaluateSymbolicAdd()
554 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B, in EvaluateSymbolicAdd()
556 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B, in EvaluateSymbolicAdd()
558 AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B, in EvaluateSymbolicAdd()
576 const MCAsmLayout *Layout, in evaluateAsRelocatable() argument
578 MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr; in evaluateAsRelocatable()
579 return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr, in evaluateAsRelocatable()
583 bool MCExpr::evaluateAsValue(MCValue &Res, const MCAsmLayout &Layout) const { in evaluateAsValue()
584 MCAssembler *Assembler = &Layout.getAssembler(); in evaluateAsValue()
585 return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr, in evaluateAsValue()
603 const MCAsmLayout *Layout, in evaluateAsRelocatableImpl() argument
611 return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout, in evaluateAsRelocatableImpl()
627 Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO)) { in evaluateAsRelocatableImpl()
652 if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
688 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
690 !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
703 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
708 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()