Lines Matching refs:Incoming
240 static bool willLowerDirectly(SDValue Incoming) { in willLowerDirectly() argument
243 if (isa<FrameIndexSDNode>(Incoming)) in willLowerDirectly()
250 if (Incoming.getValueType().getSizeInBits() > 64) in willLowerDirectly()
253 return (isa<ConstantSDNode>(Incoming) || isa<ConstantFPSDNode>(Incoming) || in willLowerDirectly()
254 Incoming.isUndef()); in willLowerDirectly()
264 SDValue Incoming = Builder.getValue(IncomingValue); in reservePreviousStackSlotForValue() local
268 if (willLowerDirectly(Incoming)) in reservePreviousStackSlotForValue()
271 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming); in reservePreviousStackSlotForValue()
306 Builder.StatepointLowering.setLocation(Incoming, Loc); in reservePreviousStackSlotForValue()
367 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain, in spillIncomingStatepointValue() argument
369 SDValue Loc = Builder.StatepointLowering.getLocation(Incoming); in spillIncomingStatepointValue()
374 Loc = Builder.StatepointLowering.allocateStackSlot(Incoming.getValueType(), in spillIncomingStatepointValue()
388 (int64_t)Incoming.getValueSizeInBits())) && in spillIncomingStatepointValue()
399 Chain = Builder.DAG.getStore(Chain, Builder.getCurSDLoc(), Incoming, Loc, in spillIncomingStatepointValue()
404 Builder.StatepointLowering.setLocation(Incoming, Loc); in spillIncomingStatepointValue()
415 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot, in lowerIncomingStatepointValue() argument
420 if (willLowerDirectly(Incoming)) { in lowerIncomingStatepointValue()
421 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerIncomingStatepointValue()
425 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerIncomingStatepointValue()
436 assert(Incoming.getValueType().getSizeInBits() <= 64); in lowerIncomingStatepointValue()
438 if (Incoming.isUndef()) { in lowerIncomingStatepointValue()
451 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Incoming)) { in lowerIncomingStatepointValue()
454 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Incoming)) { in lowerIncomingStatepointValue()
473 Ops.push_back(Incoming); in lowerIncomingStatepointValue()
481 auto Res = spillIncomingStatepointValue(Incoming, Chain, Builder); in lowerIncomingStatepointValue()
662 SDValue Incoming; in lowerStatepointMetaArgs() local
668 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy()); in lowerStatepointMetaArgs()
670 if (!Incoming.getNode()) in lowerStatepointMetaArgs()
671 Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
674 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs, in lowerStatepointMetaArgs()
694 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs() local
695 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerStatepointMetaArgs()
697 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerStatepointMetaArgs()