Lines Matching refs:DL
218 bool WebAssemblyTargetLowering::isLegalAddressingMode(const DataLayout &DL, in isLegalAddressingMode() argument
260 static void fail(const SDLoc &DL, SelectionDAG &DAG, const char *msg) { in fail() argument
263 DiagnosticInfoUnsupported(*MF.getFunction(), msg, DL.getDebugLoc())); in fail()
282 SDLoc DL = CLI.DL; in LowerCall() local
290 fail(DL, DAG, in LowerCall()
294 fail(DL, DAG, "WebAssembly doesn't support patch point yet"); in LowerCall()
301 fail(DL, DAG, "WebAssembly doesn't support tail call yet"); in LowerCall()
306 fail(DL, DAG, "WebAssembly doesn't support more than 1 returned value yet"); in LowerCall()
314 fail(DL, DAG, "WebAssembly hasn't implemented nest arguments"); in LowerCall()
316 fail(DL, DAG, "WebAssembly hasn't implemented inalloca arguments"); in LowerCall()
318 fail(DL, DAG, "WebAssembly hasn't implemented cons regs arguments"); in LowerCall()
320 fail(DL, DAG, "WebAssembly hasn't implemented cons regs last arguments"); in LowerCall()
327 DAG.getConstant(Out.Flags.getByValSize(), DL, MVT::i32); in LowerCall()
330 Chain, DL, FINode, OutVal, SizeNode, Out.Flags.getByValAlign(), in LowerCall()
379 SDValue Add = DAG.getNode(ISD::ADD, DL, PtrVT, FINode, in LowerCall()
380 DAG.getConstant(Offset, DL, PtrVT)); in LowerCall()
382 Chain, DL, Arg, Add, in LowerCall()
386 Chain = DAG.getNode(ISD::TokenFactor, DL, MVT::Other, Chains); in LowerCall()
388 FINode = DAG.getIntPtrConstant(0, DL); in LowerCall()
408 fail(DL, DAG, "WebAssembly hasn't implemented inalloca return values"); in LowerCall()
410 fail(DL, DAG, "WebAssembly hasn't implemented cons regs return values"); in LowerCall()
412 fail(DL, DAG, in LowerCall()
422 DL, InTyList, Ops); in LowerCall()
444 const SmallVectorImpl<SDValue> &OutVals, const SDLoc &DL, in LowerReturn() argument
448 fail(DL, DAG, "WebAssembly doesn't support non-C calling conventions"); in LowerReturn()
452 Chain = DAG.getNode(WebAssemblyISD::RETURN, DL, MVT::Other, RetOps); in LowerReturn()
460 fail(DL, DAG, "WebAssembly hasn't implemented inalloca results"); in LowerReturn()
462 fail(DL, DAG, "WebAssembly hasn't implemented cons regs results"); in LowerReturn()
464 fail(DL, DAG, "WebAssembly hasn't implemented cons regs last results"); in LowerReturn()
472 const SmallVectorImpl<ISD::InputArg> &Ins, const SDLoc &DL, in LowerFormalArguments() argument
478 fail(DL, DAG, "WebAssembly doesn't support non-C calling conventions"); in LowerFormalArguments()
486 fail(DL, DAG, "WebAssembly hasn't implemented inalloca arguments"); in LowerFormalArguments()
488 fail(DL, DAG, "WebAssembly hasn't implemented nest arguments"); in LowerFormalArguments()
490 fail(DL, DAG, "WebAssembly hasn't implemented cons regs arguments"); in LowerFormalArguments()
492 fail(DL, DAG, "WebAssembly hasn't implemented cons regs last arguments"); in LowerFormalArguments()
497 ? DAG.getNode(WebAssemblyISD::ARGUMENT, DL, In.VT, in LowerFormalArguments()
498 DAG.getTargetConstant(InVals.size(), DL, MVT::i32)) in LowerFormalArguments()
513 Chain, DL, VarargVreg, in LowerFormalArguments()
514 DAG.getNode(WebAssemblyISD::ARGUMENT, DL, PtrVT, in LowerFormalArguments()
515 DAG.getTargetConstant(Ins.size(), DL, MVT::i32))); in LowerFormalArguments()
528 SDLoc DL(Op); in LowerOperation() local
547 fail(DL, DAG, "WebAssembly hasn't implemented computed gotos"); in LowerOperation()
550 fail(DL, DAG, "WebAssembly hasn't implemented __builtin_return_address"); in LowerOperation()
569 SDLoc DL(Op); in LowerCopyToReg() local
575 DL, VT, Src), in LowerCopyToReg()
578 ? DAG.getCopyToReg(Chain, DL, Reg, Copy) in LowerCopyToReg()
579 : DAG.getCopyToReg(Chain, DL, Reg, Copy, Op.getNumOperands() == 4 in LowerCopyToReg()
609 SDLoc DL(Op); in LowerGlobalAddress() local
615 fail(DL, DAG, "WebAssembly only expects the 0 address space"); in LowerGlobalAddress()
617 WebAssemblyISD::Wrapper, DL, VT, in LowerGlobalAddress()
618 DAG.getTargetGlobalAddress(GA->getGlobal(), DL, VT, GA->getOffset())); in LowerGlobalAddress()
623 SDLoc DL(Op); in LowerExternalSymbol() local
633 return DAG.getNode(WebAssemblyISD::Wrapper, DL, VT, in LowerExternalSymbol()
650 SDLoc DL(Op); in LowerBR_JT() local
671 return DAG.getNode(WebAssemblyISD::BR_TABLE, DL, MVT::Other, Ops); in LowerBR_JT()
676 SDLoc DL(Op); in LowerVASTART() local
682 SDValue ArgN = DAG.getCopyFromReg(DAG.getEntryNode(), DL, in LowerVASTART()
684 return DAG.getStore(Op.getOperand(0), DL, ArgN, Op.getOperand(1), in LowerVASTART()