Lines Matching refs:Incoming
248 static bool willLowerDirectly(SDValue Incoming) { in willLowerDirectly() argument
251 if (isa<FrameIndexSDNode>(Incoming)) in willLowerDirectly()
258 if (Incoming.getValueType().getSizeInBits() > 64) in willLowerDirectly()
261 return isIntOrFPConstant(Incoming) || Incoming.isUndef(); in willLowerDirectly()
271 SDValue Incoming = Builder.getValue(IncomingValue); in reservePreviousStackSlotForValue() local
275 if (willLowerDirectly(Incoming)) in reservePreviousStackSlotForValue()
278 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming); in reservePreviousStackSlotForValue()
313 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()
645 SDValue Incoming; in lowerStatepointMetaArgs() local
651 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy()); in lowerStatepointMetaArgs()
653 if (!Incoming.getNode()) in lowerStatepointMetaArgs()
654 Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
657 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs, in lowerStatepointMetaArgs()
677 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs() local
678 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) { in lowerStatepointMetaArgs()
680 assert(Incoming.getValueType() == Builder.getFrameIndexTy() && in lowerStatepointMetaArgs()