Lines Matching refs:DL

36 static void fail(const SDLoc &DL, SelectionDAG &DAG, const char *Msg) {  in fail()  argument
39 DiagnosticInfoUnsupported(*MF.getFunction(), Msg, DL.getDebugLoc())); in fail()
42 static void fail(const SDLoc &DL, SelectionDAG &DAG, const char *Msg, in fail() argument
51 DiagnosticInfoUnsupported(*MF.getFunction(), Str, DL.getDebugLoc())); in fail()
153 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerFormalArguments() argument
184 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT); in LowerFormalArguments()
190 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue, in LowerFormalArguments()
193 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue, in LowerFormalArguments()
197 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue); in LowerFormalArguments()
202 fail(DL, DAG, "defined with too many args"); in LowerFormalArguments()
203 InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT())); in LowerFormalArguments()
208 fail(DL, DAG, "functions with VarArgs or StructRet are not supported"); in LowerFormalArguments()
249 fail(CLI.DL, DAG, "too many args to ", Callee); in LowerCall()
256 fail(CLI.DL, DAG, "pass by value not supported ", Callee); in LowerCall()
261 Chain, DAG.getConstant(NumBytes, CLI.DL, PtrVT, true), CLI.DL); in LowerCall()
279 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
282 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
285 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
302 Chain = DAG.getCopyToReg(Chain, CLI.DL, Reg.first, Reg.second, InFlag); in LowerCall()
310 Callee = DAG.getTargetGlobalAddress(G->getGlobal(), CLI.DL, PtrVT, in LowerCall()
329 Chain = DAG.getNode(BPFISD::CALL, CLI.DL, NodeTys, Ops); in LowerCall()
334 Chain, DAG.getConstant(NumBytes, CLI.DL, PtrVT, true), in LowerCall()
335 DAG.getConstant(0, CLI.DL, PtrVT, true), InFlag, CLI.DL); in LowerCall()
340 return LowerCallResult(Chain, InFlag, CallConv, IsVarArg, Ins, CLI.DL, DAG, in LowerCall()
349 const SDLoc &DL, SelectionDAG &DAG) const { in LowerReturn() argument
360 fail(DL, DAG, "only integer returns supported"); in LowerReturn()
361 return DAG.getNode(Opc, DL, MVT::Other, Chain); in LowerReturn()
375 Chain = DAG.getCopyToReg(Chain, DL, VA.getLocReg(), OutVals[i], Flag); in LowerReturn()
389 return DAG.getNode(Opc, DL, MVT::Other, RetOps); in LowerReturn()
394 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerCallResult() argument
403 fail(DL, DAG, "only small returns supported"); in LowerCallResult()
405 InVals.push_back(DAG.getConstant(0, DL, Ins[i].VT)); in LowerCallResult()
406 return DAG.getCopyFromReg(Chain, DL, 1, Ins[0].VT, InFlag).getValue(1); in LowerCallResult()
413 Chain = DAG.getCopyFromReg(Chain, DL, Val.getLocReg(), in LowerCallResult()
442 SDLoc DL(Op); in LowerBR_CC() local
446 return DAG.getNode(BPFISD::BR_CC, DL, Op.getValueType(), Chain, LHS, RHS, in LowerBR_CC()
447 DAG.getConstant(CC, DL, MVT::i64), Dest); in LowerBR_CC()
456 SDLoc DL(Op); in LowerSELECT_CC() local
460 SDValue TargetCC = DAG.getConstant(CC, DL, MVT::i64); in LowerSELECT_CC()
465 return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops); in LowerSELECT_CC()
488 SDLoc DL(Op); in LowerGlobalAddress() local
490 SDValue GA = DAG.getTargetGlobalAddress(GV, DL, MVT::i64); in LowerGlobalAddress()
492 return DAG.getNode(BPFISD::Wrapper, DL, MVT::i64, GA); in LowerGlobalAddress()
499 DebugLoc DL = MI.getDebugLoc(); in EmitInstrWithCustomInserter() local
537 BuildMI(BB, DL, TII.get(BPF::JSGT_rr)) in EmitInstrWithCustomInserter()
543 BuildMI(BB, DL, TII.get(BPF::JUGT_rr)) in EmitInstrWithCustomInserter()
549 BuildMI(BB, DL, TII.get(BPF::JSGE_rr)) in EmitInstrWithCustomInserter()
555 BuildMI(BB, DL, TII.get(BPF::JUGE_rr)) in EmitInstrWithCustomInserter()
561 BuildMI(BB, DL, TII.get(BPF::JEQ_rr)) in EmitInstrWithCustomInserter()
567 BuildMI(BB, DL, TII.get(BPF::JNE_rr)) in EmitInstrWithCustomInserter()
588 BuildMI(*BB, BB->begin(), DL, TII.get(BPF::PHI), MI.getOperand(0).getReg()) in EmitInstrWithCustomInserter()