Lines Matching refs:Incoming
238 static bool willLowerDirectly(SDValue Incoming) { in willLowerDirectly() argument
241 if (isa<FrameIndexSDNode>(Incoming)) in willLowerDirectly()
248 if (Incoming.getValueType().getSizeInBits() > 64) in willLowerDirectly()
251 return (isa<ConstantSDNode>(Incoming) || isa<ConstantFPSDNode>(Incoming) || in willLowerDirectly()
252 Incoming.isUndef()); in willLowerDirectly()
262 SDValue Incoming = Builder.getValue(IncomingValue); in reservePreviousStackSlotForValue() local
266 if (willLowerDirectly(Incoming)) in reservePreviousStackSlotForValue()
269 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming); in reservePreviousStackSlotForValue()
304 Builder.StatepointLowering.setLocation(Incoming, Loc); in reservePreviousStackSlotForValue()
365 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain, in spillIncomingStatepointValue() argument
367 SDValue Loc = Builder.StatepointLowering.getLocation(Incoming); in spillIncomingStatepointValue()
372 Loc = Builder.StatepointLowering.allocateStackSlot(Incoming.getValueType(), in spillIncomingStatepointValue()
385 (int64_t)Incoming.getValueSizeInBits() && in spillIncomingStatepointValue()
396 Chain = Builder.DAG.getStore(Chain, Builder.getCurSDLoc(), Incoming, Loc, in spillIncomingStatepointValue()
401 Builder.StatepointLowering.setLocation(Incoming, Loc); in spillIncomingStatepointValue()
412 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot, in lowerIncomingStatepointValue() argument
417 if (willLowerDirectly(Incoming)) { in lowerIncomingStatepointValue()
418 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerIncomingStatepointValue()
422 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerIncomingStatepointValue()
433 assert(Incoming.getValueType().getSizeInBits() <= 64); in lowerIncomingStatepointValue()
435 if (Incoming.isUndef()) { in lowerIncomingStatepointValue()
448 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Incoming)) { in lowerIncomingStatepointValue()
451 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Incoming)) { in lowerIncomingStatepointValue()
470 Ops.push_back(Incoming); in lowerIncomingStatepointValue()
478 auto Res = spillIncomingStatepointValue(Incoming, Chain, Builder); in lowerIncomingStatepointValue()
631 SDValue Incoming; in lowerStatepointMetaArgs() local
637 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy()); in lowerStatepointMetaArgs()
639 if (!Incoming.getNode()) in lowerStatepointMetaArgs()
640 Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
643 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs, in lowerStatepointMetaArgs()
663 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs() local
664 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerStatepointMetaArgs()
666 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerStatepointMetaArgs()