Lines Matching refs:Disp
61 int32_t Disp;
72 : BaseType(RegBase), Base_FrameIndex(0), Scale(1), IndexReg(), Disp(0),
115 dbgs() << " Disp " << Disp << '\n'
196 SDValue &Scale, SDValue &Index, SDValue &Disp,
200 SDValue &Scale, SDValue &Index, SDValue &Disp,
203 SDValue &Scale, SDValue &Index, SDValue &Disp,
206 SDValue &Scale, SDValue &Index, SDValue &Disp,
210 SDValue &Index, SDValue &Disp,
216 SDValue &Index, SDValue &Disp,
229 SDValue &Disp, SDValue &Segment) {
239 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(),
240 MVT::i32, AM.Disp,
243 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32,
244 AM.Align, AM.Disp, AM.SymbolFlags);
246 assert(!AM.Disp && "Non-zero displacement is ignored with ES.");
247 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags);
249 assert(!AM.Disp && "Non-zero displacement is ignored with JT.");
250 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags);
252 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, AM.Disp,
255 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i32);
581 // a 32-bit integer), a 31-bit disp should always be safe.
587 int64_t Val = AM.Disp + Offset;
594 // we do not try to use an unsafe Disp with a frame index.
599 AM.Disp = Val;
699 AM.Disp += G->getOffset();
704 AM.Disp += CP->getOffset();
714 AM.Disp += BA->getOffset();
1012 (!Subtarget->is64Bit() || isDispSafeForFrameIndex(AM.Disp))) {
1036 // constant into the disp field here.
1041 uint64_t Disp = (uint64_t)AddVal->getSExtValue() << Val;
1042 if (!FoldOffsetIntoAddress(Disp, AM))
1101 // constant into the disp field here.
1107 uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
1108 if (FoldOffsetIntoAddress(Disp, AM))
1166 ((AM.Disp != 0) && (Backup.Disp == 0)) +
1303 SDValue &Disp, SDValue &Segment) {
1335 getAddressOperands(AM, Base, Scale, Index, Disp, Segment);
1349 SDValue &Disp, SDValue &Segment,
1358 if (!SelectAddr(LD, LD->getBasePtr(), Base, Scale, Index, Disp, Segment))
1376 if (!SelectAddr(LD, LD->getBasePtr(), Base, Scale, Index, Disp, Segment))
1415 SDValue &Disp, SDValue &Segment) {
1416 if (!SelectLEAAddr(N, Base, Scale, Index, Disp, Segment))
1454 SDValue &Index, SDValue &Disp,
1502 if (AM.Disp && (AM.Base_Reg.getNode() || AM.IndexReg.getNode()))
1509 getAddressOperands(AM, Base, Scale, Index, Disp, Segment);
1516 SDValue &Disp, SDValue &Segment) {
1522 AM.Disp += GA->getOffset();
1533 getAddressOperands(AM, Base, Scale, Index, Disp, Segment);
1540 SDValue &Index, SDValue &Disp,
1548 N.getOperand(1), Base, Scale, Index, Disp, Segment);
2034 // Memory Operands: Base, Scale, Index, Disp, Segment
2035 SDValue Disp = CurDAG->getTargetConstant(0, MVT::i32);
2038 Disp, Segment, VMask, Chain};
2747 SDValue Base, Scale, Index, Disp, Segment;
2749 Base, Scale, Index, Disp, Segment))
2755 const SDValue Ops[] = { Base, Scale, Index, Disp, Segment, InputChain };