Lines Matching refs:getDataLayout

166       if (DAG.getDataLayout().isBigEndian())  in getCopyFromParts()
180 if (DAG.getDataLayout().isBigEndian()) in getCopyFromParts()
187 TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
198 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout())) in getCopyFromParts()
249 DAG.getTargetConstant(1, DL, TLI.getPointerTy(DAG.getDataLayout()))); in getCopyFromParts()
341 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyFromPartsVector()
471 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
506 if (DAG.getDataLayout().isBigEndian()) in getCopyToParts()
537 DAG.getConstant(i, DL, TLI.getVectorIdxTy(DAG.getDataLayout())))); in getCopyToPartsVector()
562 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyToPartsVector()
591 TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyToPartsVector()
595 DAG.getConstant(i, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); in getCopyToPartsVector()
848 DL = &DAG.getDataLayout(); in init()
961 auto &DL = SDB.DAG.getDataLayout(); in copySwiftErrorsToFinalVRegs()
1043 DAG.getDataLayout(), InReg, Ty); in getCopyFromRegs()
1107 EVT VT = TLI.getValueType(DAG.getDataLayout(), V->getType(), true); in getValueImpl()
1118 TLI.getPointerTy(DAG.getDataLayout(), AS)); in getValueImpl()
1172 ComputeValueVTs(TLI, DAG.getDataLayout(), C->getType(), ValueVTs); in getValueImpl()
1205 TLI.getValueType(DAG.getDataLayout(), VecTy->getElementType()); in getValueImpl()
1226 TLI.getPointerTy(DAG.getDataLayout())); in getValueImpl()
1232 RegsForValue RFV(*DAG.getContext(), TLI, DAG.getDataLayout(), InReg, in getValueImpl()
1377 auto &DL = DAG.getDataLayout(); in visitRet()
1944 EVT PTy = DAG.getTargetLoweringInfo().getPointerTy(DAG.getDataLayout()); in visitJumpTable()
1975 SwitchOp = DAG.getZExtOrTrunc(Sub, dl, TLI.getPointerTy(DAG.getDataLayout())); in visitJumpTableHeader()
1978 FuncInfo.CreateReg(TLI.getPointerTy(DAG.getDataLayout())); in visitJumpTableHeader()
1987 dl, TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), in visitJumpTableHeader()
2008 EVT PtrTy = TLI.getPointerTy(DAG.getDataLayout()); in getLoadStackGuard()
2035 EVT PtrTy = TLI.getPointerTy(DAG.getDataLayout()); in visitSPDescriptorParent()
2098 SDValue Cmp = DAG.getSetCC(dl, TLI.getSetCCResultType(DAG.getDataLayout(), in visitSPDescriptorParent()
2148 dl, TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), in visitBitTestHeader()
2166 VT = TLI.getPointerTy(DAG.getDataLayout()); in visitBitTestHeader()
2209 dl, TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT), in visitBitTestCase()
2215 dl, TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT), in visitBitTestCase()
2227 dl, TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT), in visitBitTestCase()
2353 ComputeValueVTs(TLI, DAG.getDataLayout(), LP.getType(), ValueVTs); in visitLandingPad()
2363 TLI.getPointerTy(DAG.getDataLayout())), in visitLandingPad()
2366 Ops[0] = DAG.getConstant(0, dl, TLI.getPointerTy(DAG.getDataLayout())); in visitLandingPad()
2371 TLI.getPointerTy(DAG.getDataLayout())), in visitLandingPad()
2638 Op2.getValueType(), DAG.getDataLayout()); in visitShift()
2707 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitICmp()
2727 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitFCmp()
2742 ComputeValueVTs(DAG.getTargetLoweringInfo(), DAG.getDataLayout(), I.getType(), in visitSelect()
2849 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitTrunc()
2858 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitZExt()
2867 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitSExt()
2877 EVT DestVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitFPTrunc()
2880 0, dl, TLI.getPointerTy(DAG.getDataLayout())))); in visitFPTrunc()
2886 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitFPExt()
2894 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitFPToUI()
2902 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitFPToSI()
2910 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitUIToFP()
2918 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitSIToFP()
2927 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitPtrToInt()
2936 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitIntToPtr()
2944 EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitBitCast()
2967 EVT DestVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitAddrSpaceCast()
2983 TLI.getVectorIdxTy(DAG.getDataLayout())); in visitInsertElement()
2985 TLI.getValueType(DAG.getDataLayout(), I.getType()), in visitInsertElement()
2993 TLI.getVectorIdxTy(DAG.getDataLayout())); in visitExtractElement()
2995 TLI.getValueType(DAG.getDataLayout(), I.getType()), in visitExtractElement()
3008 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitShuffleVector()
3149 TLI.getVectorIdxTy(DAG.getDataLayout()))); in visitShuffleVector()
3176 EVT IdxVT = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitShuffleVector()
3211 ComputeValueVTs(TLI, DAG.getDataLayout(), AggTy, AggValueVTs); in visitInsertValue()
3213 ComputeValueVTs(TLI, DAG.getDataLayout(), ValTy, ValValueVTs); in visitInsertValue()
3257 ComputeValueVTs(TLI, DAG.getDataLayout(), ValTy, ValValueVTs); in visitExtractValue()
3320 DAG.getTargetLoweringInfo().getPointerTy(DAG.getDataLayout(), AS); in visitGetElementPtr()
3393 auto &DL = DAG.getDataLayout(); in visitAlloca()
3400 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in visitAlloca()
3476 isDereferenceablePointer(SV, DAG.getDataLayout()); in visitLoad()
3485 ComputeValueVTs(TLI, DAG.getDataLayout(), Ty, ValueVTs, &Offsets); in visitLoad()
3496 SV, DAG.getDataLayout().getTypeStoreSize(Ty), AAInfo))) { in visitLoad()
3567 ComputeValueVTs(DAG.getTargetLoweringInfo(), DAG.getDataLayout(), in visitStoreToSwiftError()
3574 auto &DL = DAG.getDataLayout(); in visitStoreToSwiftError()
3599 SV, DAG.getDataLayout().getTypeStoreSize(Ty), AAInfo)) && in visitLoadFromSwiftError()
3604 ComputeValueVTs(DAG.getTargetLoweringInfo(), DAG.getDataLayout(), Ty, in visitLoadFromSwiftError()
3641 ComputeValueVTs(DAG.getTargetLoweringInfo(), DAG.getDataLayout(), in visitStore()
3805 Base = DAG.getTargetConstant(0, sdl, TLI.getPointerTy(DAG.getDataLayout())); in visitMaskedScatter()
3825 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitMaskedLoad()
3836 PtrOperand, DAG.getDataLayout().getTypeStoreSize(I.getType()), AAInfo)); in visitMaskedLoad()
3863 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitMaskedGather()
3880 BasePtr, DAG.getDataLayout().getTypeStoreSize(I.getType()), in visitMaskedGather()
3894 Base = DAG.getTargetConstant(0, sdl, TLI.getPointerTy(DAG.getDataLayout())); in visitMaskedGather()
3972 TLI.getPointerTy(DAG.getDataLayout())); in visitFence()
3974 TLI.getPointerTy(DAG.getDataLayout())); in visitFence()
3986 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitAtomicLoad()
4022 TLI.getValueType(DAG.getDataLayout(), I.getValueOperand()->getType()); in visitAtomicStore()
4065 TLI.getPointerTy(DAG.getDataLayout()))); in visitTargetIntrinsic()
4074 ComputeValueVTs(TLI, DAG.getDataLayout(), I.getType(), ValueVTs); in visitTargetIntrinsic()
4108 EVT VT = TLI.getValueType(DAG.getDataLayout(), PTy); in visitTargetIntrinsic()
4142 DAG.getConstant(23, dl, TLI.getPointerTy(DAG.getDataLayout()))); in GetExponent()
4170 DAG.getDataLayout()))); in getLimitedPrecisionExp2()
4766 TLI.getPointerTy(DAG.getDataLayout()), in visitIntrinsicCall()
4771 TLI.getPointerTy(DAG.getDataLayout()), in visitIntrinsicCall()
4779 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall()
4995 TLI.getPointerTy(DAG.getDataLayout())); in visitIntrinsicCall()
5002 ISD::FRAMEADDR, sdl, TLI.getPointerTy(DAG.getDataLayout()), in visitIntrinsicCall()
5003 DAG.getConstant(0, sdl, TLI.getPointerTy(DAG.getDataLayout()))); in visitIntrinsicCall()
5110 EVT DestVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall()
5140 EVT DestVT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall()
5242 EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall()
5273 TLI.getValueType(DAG.getDataLayout(), I.getType()), in visitIntrinsicCall()
5326 DAG.getVTList(TLI.getPointerTy(DAG.getDataLayout()), MVT::Other), Op); in visitIntrinsicCall()
5338 EVT PtrTy = TLI.getPointerTy(DAG.getDataLayout()); in visitIntrinsicCall()
5339 EVT ResTy = TLI.getValueType(DAG.getDataLayout(), I.getType()); in visitIntrinsicCall()
5352 EVT PtrTy = TLI.getPointerTy(DAG.getDataLayout()); in visitIntrinsicCall()
5373 EVT PtrTy = TLI.getPointerTy(DAG.getDataLayout()); in visitIntrinsicCall()
5441 TLI.getPointerTy(DAG.getDataLayout()), in visitIntrinsicCall()
5490 TLI.getPointerTy(DAG.getDataLayout())), in visitIntrinsicCall()
5568 DAG.getFrameIndex(FI, TLI.getPointerTy(DAG.getDataLayout()), true); in visitIntrinsicCall()
5578 setValue(&I, DAG.getUNDEF(TLI.getPointerTy(DAG.getDataLayout()))); in visitIntrinsicCall()
5642 MVT PtrVT = TLI.getPointerTy(DAG.getDataLayout(), 0); in visitIntrinsicCall()
5671 MVT PtrVT = TLI.getPointerTy(DAG.getDataLayout()); in visitIntrinsicCall()
5760 auto &DL = DAG.getDataLayout(); in LowerCallTo()
5898 EVT VT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in processIntegerCallValue()
5924 EVT CallVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(), in visitMemCmpCall()
6365 DAG.getTargetLoweringInfo().getPointerTy(DAG.getDataLayout())); in visitCall()
6571 DAG.getDataLayout(), DAG.getSubtarget().getRegisterInfo(), CS); in visitInlineAsm()
6596 OpVT = TLI.getSimpleValueType(DAG.getDataLayout(), in visitInlineAsm()
6600 OpVT = TLI.getSimpleValueType(DAG.getDataLayout(), CS.getType()); in visitInlineAsm()
6622 DAG.getDataLayout()).getSimpleVT(); in visitInlineAsm()
6711 cast<Constant>(OpVal), TLI.getPointerTy(DAG.getDataLayout())); in visitInlineAsm()
6716 auto &DL = DAG.getDataLayout(); in visitInlineAsm()
6722 DAG.getFrameIndex(SSFI, TLI.getPointerTy(DAG.getDataLayout())); in visitInlineAsm()
6758 IA->getAsmString().c_str(), TLI.getPointerTy(DAG.getDataLayout()))); in visitInlineAsm()
6801 ExtraInfo, getCurSDLoc(), TLI.getPointerTy(DAG.getDataLayout()))); in visitInlineAsm()
6935 OpFlag, getCurSDLoc(), TLI.getPointerTy(DAG.getDataLayout()))); in visitInlineAsm()
6959 ResOpType, getCurSDLoc(), TLI.getPointerTy(DAG.getDataLayout()))); in visitInlineAsm()
6967 TLI.getPointerTy(DAG.getDataLayout()) && in visitInlineAsm()
7042 EVT ResultType = TLI.getValueType(DAG.getDataLayout(), CS.getType()); in visitInlineAsm()
7106 auto VT = TLI.getValueType(DAG.getDataLayout(), CS.getType()); in emitInlineAsmError()
7119 const DataLayout &DL = DAG.getDataLayout(); in visitVAArg()
7120 SDValue V = DAG.getVAArg(TLI.getValueType(DAG.getDataLayout(), I.getType()), in visitVAArg()
7242 FI->getIndex(), TLI.getPointerTy(Builder.DAG.getDataLayout()))); in addStackMapLiveVars()
7424 ComputeValueVTs(TLI, DAG.getDataLayout(), CS->getType(), ValueVTs); in visitPatchpoint()
7488 auto &DL = CLI.DAG.getDataLayout(); in LowerCallTo()
7799 RegsForValue RFV(V->getContext(), TLI, DAG.getDataLayout(), Reg, in CopyValueToVirtualRegister()
7833 const DataLayout &DL = DAG.getDataLayout(); in LowerArguments()
7839 ComputeValueVTs(*TLI, DAG.getDataLayout(), in LowerArguments()
7857 ComputeValueVTs(*TLI, DAG.getDataLayout(), I->getType(), ValueVTs); in LowerArguments()
7969 ComputeValueVTs(*TLI, DAG.getDataLayout(), in LowerArguments()
7994 ComputeValueVTs(*TLI, DAG.getDataLayout(), I->getType(), ValueVTs); in LowerArguments()
8149 ComputeValueVTs(TLI, DAG.getDataLayout(), PN->getType(), ValueVTs); in HandlePHINodesInSuccessorBlocks()
8436 uint64_t BW = DAG.getDataLayout().getPointerSizeInBits(); in rangeFitsInWord()
8492 .getPointerTy(DAG.getDataLayout()) in buildBitTests()
8584 EVT PTy = TLI.getPointerTy(DAG.getDataLayout()); in findBitTestClusters()