Lines Matching defs:Incoming

247 static bool willLowerDirectly(SDValue Incoming) {
250 if (isa<FrameIndexSDNode>(Incoming))
257 if (Incoming.getValueType().getSizeInBits() > 64)
260 return isIntOrFPConstant(Incoming) || Incoming.isUndef();
270 SDValue Incoming = Builder.getValue(IncomingValue);
274 if (willLowerDirectly(Incoming))
277 SDValue OldLocation = Builder.StatepointLowering.getLocation(Incoming);
312 Builder.StatepointLowering.setLocation(Incoming, Loc);
376 spillIncomingStatepointValue(SDValue Incoming, SDValue Chain,
378 SDValue Loc = Builder.StatepointLowering.getLocation(Incoming);
383 Loc = Builder.StatepointLowering.allocateStackSlot(Incoming.getValueType(),
397 (int64_t)Incoming.getValueSizeInBits())) &&
408 Chain = Builder.DAG.getStore(Chain, Builder.getCurSDLoc(), Incoming, Loc,
413 Builder.StatepointLowering.setLocation(Incoming, Loc);
424 lowerIncomingStatepointValue(SDValue Incoming, bool RequireSpillSlot,
429 if (willLowerDirectly(Incoming)) {
430 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) {
434 assert(Incoming.getValueType() == Builder.getFrameIndexTy() &&
435 "Incoming value is a frame index!");
445 assert(Incoming.getValueType().getSizeInBits() <= 64);
447 if (Incoming.isUndef()) {
460 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Incoming)) {
463 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Incoming)) {
482 Ops.push_back(Incoming);
490 auto Res = spillIncomingStatepointValue(Incoming, Chain, Builder);
644 SDValue Incoming;
650 Incoming = Builder.DAG.getFrameIndex(FI, Builder.getFrameIndexTy());
652 if (!Incoming.getNode())
653 Incoming = Builder.getValue(V);
656 lowerIncomingStatepointValue(Incoming, requireSpillSlot(V), Ops, MemRefs,
676 SDValue Incoming = Builder.getValue(V);
677 if (FrameIndexSDNode *FI = dyn_cast<FrameIndexSDNode>(Incoming)) {
679 assert(Incoming.getValueType() == Builder.getFrameIndexTy() &&
680 "Incoming value is a frame index!");