reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/XCore/XCoreISelLowering.cpp
  371     return DAG.getLoad(PtrVT, DL, Chain, Base, MachinePointerInfo());
  379     LowAddr = DAG.getGlobalAddress(GASD->getGlobal(), DL, Base.getValueType(),
  381     HighAddr = DAG.getGlobalAddress(GASD->getGlobal(), DL, Base.getValueType(),
  384     LowAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, Base,
  385                           DAG.getConstant(LowOffset, DL, MVT::i32));
  386     HighAddr = DAG.getNode(ISD::ADD, DL, MVT::i32, Base,
  387                            DAG.getConstant(HighOffset, DL, MVT::i32));
  389   SDValue LowShift = DAG.getConstant((Offset - LowOffset) * 8, DL, MVT::i32);
  390   SDValue HighShift = DAG.getConstant((HighOffset - Offset) * 8, DL, MVT::i32);
  392   SDValue Low = DAG.getLoad(PtrVT, DL, Chain, LowAddr, MachinePointerInfo());
  393   SDValue High = DAG.getLoad(PtrVT, DL, Chain, HighAddr, MachinePointerInfo());
  394   SDValue LowShifted = DAG.getNode(ISD::SRL, DL, MVT::i32, Low, LowShift);
  395   SDValue HighShifted = DAG.getNode(ISD::SHL, DL, MVT::i32, High, HighShift);
  396   SDValue Result = DAG.getNode(ISD::OR, DL, MVT::i32, LowShifted, HighShifted);
  397   Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, Low.getValue(1),
  400   return DAG.getMergeValues(Ops, DL);