Lines Matching defs:Disp
73 int32_t Disp = 0;
129 dbgs() << " Disp " << Disp << '\n'
221 SDValue &Scale, SDValue &Index, SDValue &Disp,
225 SDValue &Index, SDValue &Disp, SDValue &Segment);
228 SDValue &Scale, SDValue &Index, SDValue &Disp,
231 SDValue &Scale, SDValue &Index, SDValue &Disp,
234 SDValue &Scale, SDValue &Index, SDValue &Disp,
240 SDValue &Index, SDValue &Disp,
246 SDValue &Index, SDValue &Disp,
248 return tryFoldLoad(P, P, N, Base, Scale, Index, Disp, Segment);
253 SDValue &Index, SDValue &Disp,
267 SDValue &Index, SDValue &Disp,
297 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(),
298 MVT::i32, AM.Disp,
301 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32, AM.Alignment,
302 AM.Disp, AM.SymbolFlags);
304 assert(!AM.Disp && "Non-zero displacement is ignored with ES.");
305 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags);
307 assert(!AM.Disp && "Non-zero displacement is ignored with MCSym.");
309 Disp = CurDAG->getMCSymbol(AM.MCSym, MVT::i32);
311 assert(!AM.Disp && "Non-zero displacement is ignored with JT.");
312 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags);
314 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, AM.Disp,
317 Disp = CurDAG->getTargetConstant(AM.Disp, DL, MVT::i32);
1787 int64_t Val = AM.Disp + Offset;
1800 // we do not try to use an unsafe Disp with a frame index.
1824 AM.Disp = Val;
2485 if (!AM.hasSymbolicDisplacement() && AM.Disp == 0)
2514 (!Subtarget->is64Bit() || isDispSafeForFrameIndex(AM.Disp))) {
2594 uint64_t Disp = AddVal->getSExtValue() * CN->getZExtValue();
2595 if (foldOffsetIntoAddress(Disp, AM))
2654 ((AM.Disp != 0) && (Backup.Disp == 0)) +
2907 SDValue &Index, SDValue &Disp,
2934 getAddressOperands(AM, DL, VT, Base, Scale, Index, Disp, Segment);
2947 SDValue &Disp, SDValue &Segment) {
2977 getAddressOperands(AM, DL, VT, Base, Scale, Index, Disp, Segment);
3017 SDValue &Disp, SDValue &Segment) {
3021 if (!selectLEAAddr(N, Base, Scale, Index, Disp, Segment))
3054 SDValue &Index, SDValue &Disp,
3129 if (AM.Disp)
3136 getAddressOperands(AM, DL, VT, Base, Scale, Index, Disp, Segment);
3143 SDValue &Disp, SDValue &Segment) {
3150 AM.Disp += GA->getOffset();
3164 getAddressOperands(AM, SDLoc(N), VT, Base, Scale, Index, Disp, Segment);
3207 SDValue &Index, SDValue &Disp,
3216 N.getOperand(1), Base, Scale, Index, Disp, Segment);
3221 SDValue &Index, SDValue &Disp,
3230 N.getOperand(1), Base, Scale, Index, Disp, Segment);
3604 SDValue Base, Scale, Index, Disp, Segment;
3605 if (!selectAddr(LoadNode, LoadNode->getBasePtr(), Base, Scale, Index, Disp,
3632 const SDValue Ops[] = {Base, Scale, Index, Disp, Segment, InputChain};
3649 const SDValue Ops[] = {Base, Scale, Index, Disp, Segment, InputChain};
3746 const SDValue Ops[] = {Base, Scale, Index, Disp,
3751 const SDValue Ops[] = {Base, Scale, Index, Disp,
4530 SDValue &Index, SDValue &Disp, SDValue &Segment) {
4531 if (tryFoldLoad(Root, P, L, Base, Scale, Index, Disp, Segment))
4549 return tryFoldBroadcast(Root, P, L, Base, Scale, Index, Disp, Segment);
4908 SDValue &Disp, SDValue &Segment) {
4911 if (tryFoldLoad(Root, P, L, Base, Scale, Index, Disp, Segment))
4932 return tryFoldBroadcast(Root, P, L, Base, Scale, Index, Disp, Segment);
5135 SDValue Disp = CurDAG->getTargetConstant(0, dl, MVT::i32);
5144 Disp,
5217 SDValue Disp = CurDAG->getTargetConstant(0, dl, MVT::i32);
5226 Disp,
5255 SDValue Disp = CurDAG->getTargetConstant(0, dl, MVT::i32);
5260 SDValue Ops[] = { Base, Scale, Index, Disp, Segment, TReg, Chain };
5263 SDValue Ops[] = { TReg, Base, Scale, Index, Disp, Segment, Chain };
6404 SDValue Base, Scale, Index, Disp, Segment;
6406 Base, Scale, Index, Disp, Segment))
6417 Index, Disp, Segment, Chain};
6421 Disp, Segment, Mask, Chain};
6477 SDValue Base, Scale, Index, Disp, Segment;
6479 Base, Scale, Index, Disp, Segment))
6486 SDValue Ops[] = {Base, Scale, Index, Disp, Segment, Mask, Value, Chain};
6555 SDValue Base, Scale, Index, Disp, Segment;
6556 if (!selectAddr(Node, Addr, Base, Scale, Index, Disp, Segment))
6578 {Base, Scale, Index, Disp, Segment, Chain, Chain.getValue(1)});