Lines Matching defs:DL
39 static void fail(const SDLoc &DL, SelectionDAG &DAG, const Twine &Msg,
49 MF.getFunction(), Twine(Str).concat(Msg), DL.getDebugLoc()));
295 SDLoc DL(N);
298 fail(DL, DAG, Msg);
326 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL,
366 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT);
371 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue,
374 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue,
378 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue);
389 InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
393 fail(DL, DAG, "stack arguments are not supported");
395 fail(DL, DAG, "variadic functions are not supported");
397 fail(DL, DAG, "aggregate returns are not supported");
452 fail(CLI.DL, DAG, "too many arguments", Callee);
458 fail(CLI.DL, DAG, "pass by value not supported", Callee);
463 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, CLI.DL);
479 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg);
482 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg);
485 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg);
502 Chain = DAG.getCopyToReg(Chain, CLI.DL, Reg.first, Reg.second, InGlue);
510 Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT,
514 fail(CLI.DL, DAG,
549 Chain = DAG.getNode(BPFISD::CALL, CLI.DL, NodeTys, Ops);
555 Chain = DAG.getCALLSEQ_END(Chain, NumBytes, 0, InGlue, CLI.DL);
560 return LowerCallResult(Chain, InGlue, CallConv, IsVarArg, Ins, CLI.DL, DAG,
569 const SDLoc &DL, SelectionDAG &DAG) const {
580 fail(DL, DAG, "aggregate returns are not supported");
581 return DAG.getNode(Opc, DL, MVT::Other, Chain);
596 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue);
610 return DAG.getNode(Opc, DL, MVT::Other, RetOps);
615 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL,
624 fail(DL, DAG, "only small returns supported");
626 InVals.push_back(DAG.getConstant(0, DL, In.VT));
627 return DAG.getCopyFromReg(Chain, DL, 1, Ins[0].VT, InGlue).getValue(1);
634 Chain = DAG.getCopyFromReg(Chain, DL, Val.getLocReg(),
658 SDLoc DL(Op);
659 fail(DL, DAG,
666 SDLoc DL(Op);
667 fail(DL, DAG, "unsupported dynamic stack allocation");
678 SDLoc DL(Op);
683 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS,
684 DAG.getConstant(CC, DL, LHS.getValueType()), Dest);
693 SDLoc DL(Op);
698 SDValue TargetCC = DAG.getConstant(CC, DL, LHS.getValueType());
701 return DAG.getNode(BPFISD::SELECT_CC, DL, Op.getValueType(), Ops);
724 static SDValue getTargetNode(GlobalAddressSDNode *N, const SDLoc &DL, EVT Ty,
726 return DAG.getTargetGlobalAddress(N->getGlobal(), DL, Ty, 0, Flags);
729 static SDValue getTargetNode(ConstantPoolSDNode *N, const SDLoc &DL, EVT Ty,
738 SDLoc DL(N);
740 SDValue GA = getTargetNode(N, DL, MVT::i64, DAG, Flags);
742 return DAG.getNode(BPFISD::Wrapper, DL, MVT::i64, GA);
768 DebugLoc DL = MI.getDebugLoc();
774 BuildMI(BB, DL, TII.get(BPF::MOV_32_64), PromotedReg0).addReg(Reg);
781 BuildMI(BB, DL, TII.get(BPF::MOVSX_rr_32), PromotedReg0).addReg(Reg);
783 BuildMI(BB, DL, TII.get(BPF::MOV_32_64), PromotedReg0).addReg(Reg);
784 BuildMI(BB, DL, TII.get(BPF::SLL_ri), PromotedReg1)
786 BuildMI(BB, DL, TII.get(RShiftOp), PromotedReg2)
828 DebugLoc DL = MI.getDebugLoc();
930 BuildMI(BB, DL, TII.get(NewCC)).addReg(LHS).addReg(RHS).addMBB(Copy1MBB);
936 BuildMI(BB, DL, TII.get(NewCC))
952 BuildMI(*BB, BB->begin(), DL, TII.get(BPF::PHI), MI.getOperand(0).getReg())
967 MVT BPFTargetLowering::getScalarShiftAmountTy(const DataLayout &DL,
972 bool BPFTargetLowering::isLegalAddressingMode(const DataLayout &DL,