Lines Matching refs:OffsetVal
737 MCValue OffsetVal; in getOffsetAndDataFragment() local
738 if(!SymbolExpr->evaluateAsRelocatable(OffsetVal, nullptr, nullptr)) in getOffsetAndDataFragment()
742 if (OffsetVal.isAbsolute()) { in getOffsetAndDataFragment()
743 RelocOffset = OffsetVal.getConstant(); in getOffsetAndDataFragment()
755 if (OffsetVal.getSymB()) in getOffsetAndDataFragment()
760 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*OffsetVal.getSymA()); in getOffsetAndDataFragment()
778 RelocOffset = SRE.getSymbol().getOffset() + OffsetVal.getConstant(); in getOffsetAndDataFragment()
811 MCValue OffsetVal; in emitRelocDirective() local
812 if (!Offset.evaluateAsRelocatable(OffsetVal, nullptr, nullptr)) in emitRelocDirective()
815 if (OffsetVal.isAbsolute()) { in emitRelocDirective()
816 if (OffsetVal.getConstant() < 0) in emitRelocDirective()
819 MCFixup::create(OffsetVal.getConstant(), Expr, Kind, Loc)); in emitRelocDirective()
822 if (OffsetVal.getSymB()) in emitRelocDirective()
826 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*OffsetVal.getSymA()); in emitRelocDirective()
837 MCFixup::create(SymbolOffset + OffsetVal.getConstant(), in emitRelocDirective()
844 MCFixup::create(OffsetVal.getConstant(), Expr, Kind, Loc)); in emitRelocDirective()