Lines Matching full:incoming

195   // All incoming values should have same known stack slot, otherwise result
248 static bool willLowerDirectly(SDValue Incoming) {
251 if (isa<FrameIndexSDNode>(Incoming))
258 if (Incoming.getValueType().getSizeInBits() > 64)
261 return isIntOrFPConstant(Incoming) || Incoming.isUndef();
264 /// Try to find existing copies of the incoming values in stack slots used for
265 /// statepoint spilling. If we can find a spill slot for the incoming value,
271 SDValue Incoming = Builder.getValue(IncomingValue);
275 if (willLowerDirectly(Incoming))
278 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming);
313 Builder.StatepointLowering.setLocation(Incoming, Loc);
370 /// Spill a value incoming to the statepoint. It might be either part of
377 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain,
379 SDValue Loc = Builder.StatepointLowering.getLocation(Incoming);
384 Loc = Builder.StatepointLowering.allocateStackSlot(Incoming.getValueType(),
398 (int64_t)Incoming.getValueSizeInBits())) &&
409 Chain = Builder.DAG.getStore(Chain, Builder.getCurSDLoc(), Incoming, Loc,
414 Builder.StatepointLowering.setLocation(Incoming, Loc);
421 /// Lower a single value incoming to a statepoint node. This value can be
425 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot,
430 if (willLowerDirectly(Incoming)) {
431 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) {
435 assert(Incoming.getValueType() == Builder.getFrameIndexTy() &&
436 "Incoming value is a frame index!");
446 assert(Incoming.getValueType().getSizeInBits() <= 64);
448 if (Incoming.isUndef()) {
461 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Incoming)) {
464 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Incoming)) {
483 Ops.push_back(Incoming);
491 auto Res = spillIncomingStatepointValue(Incoming, Chain, Builder);
645 SDValue Incoming;
651 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy());
653 if (!Incoming.getNode())
654 Incoming = Builder.getValue(V);
657 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs,
677 SDValue Incoming = Builder.getValue(V);
678 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) {
680 assert(Incoming.getValueType() == Builder.getFrameIndexTy() &&
681 "Incoming value is a frame index!");
810 // Get number of arguments incoming directly into call node