Lines Matching refs:Incoming
250 static bool willLowerDirectly(SDValue Incoming) { in willLowerDirectly() argument
253 if (isa<FrameIndexSDNode>(Incoming)) in willLowerDirectly()
260 if (Incoming.getValueType().getSizeInBits() > 64) in willLowerDirectly()
263 return (isa<ConstantSDNode>(Incoming) || isa<ConstantFPSDNode>(Incoming) || in willLowerDirectly()
264 Incoming.isUndef()); in willLowerDirectly()
274 SDValue Incoming = Builder.getValue(IncomingValue); in reservePreviousStackSlotForValue() local
278 if (willLowerDirectly(Incoming)) in reservePreviousStackSlotForValue()
281 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming); in reservePreviousStackSlotForValue()
316 Builder.StatepointLowering.setLocation(Incoming, Loc); in reservePreviousStackSlotForValue()
377 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain, in spillIncomingStatepointValue() argument
379 SDValue Loc = Builder.StatepointLowering.getLocation(Incoming); in spillIncomingStatepointValue()
384 Loc = Builder.StatepointLowering.allocateStackSlot(Incoming.getValueType(), in spillIncomingStatepointValue()
398 (int64_t)Incoming.getValueSizeInBits())) && in spillIncomingStatepointValue()
409 Chain = Builder.DAG.getStore(Chain, Builder.getCurSDLoc(), Incoming, Loc, in spillIncomingStatepointValue()
414 Builder.StatepointLowering.setLocation(Incoming, Loc); in spillIncomingStatepointValue()
425 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot, in lowerIncomingStatepointValue() argument
430 if (willLowerDirectly(Incoming)) { in lowerIncomingStatepointValue()
431 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerIncomingStatepointValue()
435 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerIncomingStatepointValue()
446 assert(Incoming.getValueType().getSizeInBits() <= 64); in lowerIncomingStatepointValue()
448 if (Incoming.isUndef()) { in lowerIncomingStatepointValue()
461 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Incoming)) { in lowerIncomingStatepointValue()
464 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Incoming)) { in lowerIncomingStatepointValue()
483 Ops.push_back(Incoming); in lowerIncomingStatepointValue()
491 auto Res = spillIncomingStatepointValue(Incoming, Chain, Builder); in lowerIncomingStatepointValue()
673 SDValue Incoming; in lowerStatepointMetaArgs() local
679 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy()); in lowerStatepointMetaArgs()
681 if (!Incoming.getNode()) in lowerStatepointMetaArgs()
682 Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
685 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs, in lowerStatepointMetaArgs()
705 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs() local
706 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerStatepointMetaArgs()
708 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerStatepointMetaArgs()