Lines Matching defs:DL

40 static void fail(const SDLoc &DL, SelectionDAG &DAG, const Twine &Msg,
50 MF.getFunction(), Twine(Str).concat(Msg), DL.getDebugLoc()));
296 SDLoc DL(N);
299 fail(DL, DAG, Msg);
327 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL,
367 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT);
372 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue,
375 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue,
379 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue);
390 InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
394 fail(DL, DAG, "stack arguments are not supported");
396 fail(DL, DAG, "variadic functions are not supported");
398 fail(DL, DAG, "aggregate returns are not supported");
438 fail(CLI.DL, DAG, "too many arguments", Callee);
444 fail(CLI.DL, DAG, "pass by value not supported", Callee);
449 Chain = DAG.getCALLSEQ_START(Chain, NumBytes, 0, CLI.DL);
465 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg);
468 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg);
471 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg);
488 Chain = DAG.getCopyToReg(Chain, CLI.DL, Reg.first, Reg.second, InGlue);
496 Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT,
500 fail(CLI.DL, DAG,
519 Chain = DAG.getNode(BPFISD::CALL, CLI.DL, NodeTys, Ops);
525 Chain = DAG.getCALLSEQ_END(Chain, NumBytes, 0, InGlue, CLI.DL);
530 return LowerCallResult(Chain, InGlue, CallConv, IsVarArg, Ins, CLI.DL, DAG,
539 const SDLoc &DL, SelectionDAG &DAG) const {
550 fail(DL, DAG, "aggregate returns are not supported");
551 return DAG.getNode(Opc, DL, MVT::Other, Chain);
566 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Glue);
580 return DAG.getNode(Opc, DL, MVT::Other, RetOps);
585 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL,
594 fail(DL, DAG, "only small returns supported");
596 InVals.push_back(DAG.getConstant(0, DL, In.VT));
597 return DAG.getCopyFromReg(Chain, DL, 1, Ins[0].VT, InGlue).getValue(1);
604 Chain = DAG.getCopyFromReg(Chain, DL, Val.getLocReg(),
628 SDLoc DL(Op);
629 fail(DL, DAG,
636 SDLoc DL(Op);
637 fail(DL, DAG, "unsupported dynamic stack allocation");
648 SDLoc DL(Op);
653 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS,
654 DAG.getConstant(CC, DL, LHS.getValueType()), Dest);
663 SDLoc DL(Op);
668 SDValue TargetCC = DAG.getConstant(CC, DL, LHS.getValueType());
672 return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
695 static SDValue getTargetNode(GlobalAddressSDNode *N, const SDLoc &DL, EVT Ty,
697 return DAG.getTargetGlobalAddress(N->getGlobal(), DL, Ty, 0, Flags);
700 static SDValue getTargetNode(ConstantPoolSDNode *N, const SDLoc &DL, EVT Ty,
709 SDLoc DL(N);
711 SDValue GA = getTargetNode(N, DL, MVT::i64, DAG, Flags);
713 return DAG.getNode(BPFISD::Wrapper, DL, MVT::i64, GA);
739 DebugLoc DL = MI.getDebugLoc();
745 BuildMI(BB, DL, TII.get(BPF::MOV_32_64), PromotedReg0).addReg(Reg);
752 BuildMI(BB, DL, TII.get(BPF::MOVSX_rr_32), PromotedReg0).addReg(Reg);
754 BuildMI(BB, DL, TII.get(BPF::MOV_32_64), PromotedReg0).addReg(Reg);
755 BuildMI(BB, DL, TII.get(BPF::SLL_ri), PromotedReg1)
757 BuildMI(BB, DL, TII.get(RShiftOp), PromotedReg2)
799 DebugLoc DL = MI.getDebugLoc();
901 BuildMI(BB, DL, TII.get(NewCC)).addReg(LHS).addReg(RHS).addMBB(Copy1MBB);
907 BuildMI(BB, DL, TII.get(NewCC))
923 BuildMI(*BB, BB->begin(), DL, TII.get(BPF::PHI), MI.getOperand(0).getReg())
938 MVT BPFTargetLowering::getScalarShiftAmountTy(const DataLayout &DL,
943 bool BPFTargetLowering::isLegalAddressingMode(const DataLayout &DL,