Home
last modified time | relevance | path

Searched refs:getIntegerVT (Results 1 – 25 of 48) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLowLevelType.cpp47 return MVT::getIntegerVT(Ty.getSizeInBits()); in getMVTForLLT()
50 MVT::getIntegerVT(Ty.getElementType().getSizeInBits()), in getMVTForLLT()
61 return EVT::getIntegerVT(Ctx, Ty.getSizeInBits()); in getApproximateEVTForLLT()
H A DValueTypes.cpp21 return getIntegerVT(Context, getSizeInBits()); in changeExtendedTypeToInteger()
27 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits()); in changeExtendedVectorElementTypeToInteger()
571 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); in getVT()
600 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); in getEVT()
H A DTargetLoweringBase.cpp778 MVT IntVT = MVT::getIntegerVT(VT.getFixedSizeInBits()); in initActions()
916 return MVT::getIntegerVT(DL.getPointerSizeInBits(0)); in getScalarShiftAmountTy()
998 EVT::getIntegerVT(Context, VT.getSizeInBits() / 2)); in getTypeConversion()
1041 EltVT = EVT::getIntegerVT(Context, 1 + EltVT.getSizeInBits()) in getTypeConversion()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DValueTypes.h64 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() function
65 MVT M = MVT::getIntegerVT(BitWidth); in getIntegerVT()
391 return getIntegerVT(Context, llvm::bit_ceil(BitWidth)); in getRoundIntegerType()
406 return getIntegerVT(Context, (EVTSize + 1) / 2); in getHalfSizedIntegerVT()
413 EltVT = EVT::getIntegerVT(Context, 2 * EltVT.getSizeInBits()); in widenIntegerVectorElementType()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp72 MVT PtrVT = MVT::getIntegerVT(TM.createDataLayout().getPointerSizeInBits()); in computeSignatureVTs()
94 MVT PtrVT = MVT::getIntegerVT(TM.createDataLayout().getPointerSizeInBits()); in computeSignatureVTs()
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.h37 return MVT::getIntegerVT(32); in getVectorIdxTy()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp728 assert((VT == EVT::getIntegerVT(Ctx, 80) || in SetSoftenedFloat()
885 EVT::getIntegerVT(*DAG.getContext(), BitWidth), Op); in BitConvertToInteger()
892 EVT EltNVT = EVT::getIntegerVT(*DAG.getContext(), EltWidth); in BitConvertVectorToIntegerVector()
1005 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), in JoinIntegers()
1038 ShiftAmountTy = MVT::getIntegerVT(NextPowerOf2(ReqShiftAmountInBits)); in SplitInteger()
1049 EVT::getIntegerVT(*DAG.getContext(), Op.getValueSizeInBits() / 2); in SplitInteger()
H A DLegalizeTypesGeneric.cpp116 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits); in ExpandRes_BITCAST()
141 EVT::getIntegerVT(*DAG.getContext(), LHS.getValueSizeInBits() << 1), in ExpandRes_BITCAST()
H A DLegalizeIntegerTypes.cpp436 EVT::getIntegerVT(*DAG.getContext(), in PromoteIntRes_BITCAST()
1022 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VTSize * 2); in earlyExpandDIVFIX()
3224 DAG.getValueType(EVT::getIntegerVT(*DAG.getContext(), in ExpandIntRes_AssertSext()
3246 DAG.getValueType(EVT::getIntegerVT(*DAG.getContext(), in ExpandIntRes_AssertZext()
3639 EVT NEVT = EVT::getIntegerVT(*DAG.getContext(), ExcessBits); in ExpandIntRes_LOAD()
3662 EVT::getIntegerVT(*DAG.getContext(), in ExpandIntRes_LOAD()
3671 EVT::getIntegerVT(*DAG.getContext(), ExcessBits), in ExpandIntRes_LOAD()
4714 EVT::getIntegerVT(*DAG.getContext(), in ExpandIntRes_ZERO_EXTEND()
4789 EVT::getIntegerVT(*DAG.getContext(), N->getValueSizeInBits(0) / 2); in ExpandIntRes_VSCALE()
5189 EVT NEVT = EVT::getIntegerVT(*DAG.getContext(), ExcessBits); in ExpandIntOp_STORE()
[all …]
H A DSelectionDAGBuilder.cpp188 ValueVT : EVT::getIntegerVT(*DAG.getContext(), RoundBits); in getCopyFromParts()
191 EVT HalfVT = EVT::getIntegerVT(*DAG.getContext(), RoundBits/2); in getCopyFromParts()
529 ValueVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyToParts()
543 ValueVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyToParts()
584 ValueVT = EVT::getIntegerVT(*DAG.getContext(), NumParts * PartBits); in getCopyToParts()
591 EVT::getIntegerVT(*DAG.getContext(), in getCopyToParts()
598 EVT ThisVT = EVT::getIntegerVT(*DAG.getContext(), ThisBits); in getCopyToParts()
3945 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr()
5500 PromVT = EVT::getIntegerVT(Ctx, VT.getSizeInBits() + 1); in expandDivFix()
5503 PromVT = EVT::getIntegerVT(Ctx, PromVT.getSizeInBits() + 1); in expandDivFix()
[all …]
H A DLegalizeFloatTypes.cpp1090 EVT ILVT = EVT::getIntegerVT(*DAG.getContext(), LVT.getSizeInBits()); in SoftenFloatOp_FCOPYSIGN()
2137 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), OpVT.getSizeInBits()); in PromoteFloatOp_BITCAST()
2213 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatOp_STORE()
2329 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), in PromoteFloatRes_BITCAST()
2341 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_ConstantFP()
2479 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_FP_ROUND()
2492 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_LOAD()
H A DDAGCombiner.cpp5201 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), BW); in PerformMinMaxFpToSatCombine()
5237 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), BW); in PerformUMinFpToSatCombine()
5739 ExtVT = EVT::getIntegerVT(*DAG.getContext(), ActiveBits); in isAndLoadExtLoad()
8220 EVT WideVT = EVT::getIntegerVT(Context, WideNumBits); in mergeTruncStores()
13378 EVT MaskedVT = EVT::getIntegerVT(*DAG.getContext(), in reduceLoadWidth()
17697 return EVT::getIntegerVT(Ctxt, getLoadedSize() * 8); in getLoadedType()
18194 MVT VT = MVT::getIntegerVT(NumBytes * 8); in ShrinkLoadReplaceStoreWithStore()
18317 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
18325 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
19016 EVT StoreTy = EVT::getIntegerVT(Context, SizeInBits); in tryStoreMergeOfConstants()
[all …]
H A DTargetLowering.cpp582 EVT SmallVT = EVT::getIntegerVT(*DAG.getContext(), SmallVTBits); in ShrinkDemandedOp()
1043 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), PowerOf2Ceil(MinWidth)); in combineShiftToAVG()
3755 EVT NarrowVT = EVT::getIntegerVT(*DAG.getContext(), in foldSetCCWithAnd()
4342 EVT MinVT = EVT::getIntegerVT(*DAG.getContext(), MinBits); in SimplifySetCC()
4425 EVT newVT = EVT::getIntegerVT(*DAG.getContext(), bestWidth); in SimplifySetCC()
8054 EVT IntVT = EVT::getIntegerVT(*DAG.getContext(), BitSize); in expandIS_FPCLASS()
8893 EVT LoadVT = EVT::getIntegerVT(*DAG.getContext(), NumLoadBits); in scalarizeVectorLoad()
8896 EVT SrcIntVT = EVT::getIntegerVT(*DAG.getContext(), NumSrcBits); in scalarizeVectorLoad()
8987 EVT IntVT = EVT::getIntegerVT(*DAG.getContext(), NumBits); in scalarizeVectorStore()
9106 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), in expandUnalignedLoad()
[all …]
H A DLegalizeDAG.cpp555 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), StSize.getFixedValue()); in LegalizeStoreOps()
573 EVT RoundVT = EVT::getIntegerVT(*DAG.getContext(), RoundWidth); in LegalizeStoreOps()
574 EVT ExtraVT = EVT::getIntegerVT(*DAG.getContext(), ExtraWidth); in LegalizeStoreOps()
744 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
784 EVT RoundVT = EVT::getIntegerVT(*DAG.getContext(), RoundWidth); in LegalizeLoadOps()
785 EVT ExtraVT = EVT::getIntegerVT(*DAG.getContext(), ExtraWidth); in LegalizeLoadOps()
1538 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), NumBits); in getSignAsIntValue()
3600 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), EntrySize * 8); in ExpandNode()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DMachineValueType.h485 MVT IntTy = MVT::getIntegerVT(EltTy.getSizeInBits()); in changeVectorElementTypeToInteger()
507 return MVT::getIntegerVT(getSizeInBits()); in changeTypeToInteger()
1240 static MVT getIntegerVT(unsigned BitWidth) { in getIntegerVT() function
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1039 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerSETCC()
1097 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerVSELECT()
2766 MVT ScalarTy = MVT::getIntegerVT(VecWidth); in insertVector()
2770 ValV = DAG.getBitcast(MVT::getIntegerVT(VW), ValV); in insertVector()
2863 return DAG.getBitcast(Ty, DAG.getConstant(0, dl, MVT::getIntegerVT(W))); in getZero()
2904 MVT PairTy = MVT::getIntegerVT(2 * ElemTy.getSizeInBits()); in getCombine()
2910 MVT IntTy = MVT::getIntegerVT(Width); in getCombine()
2911 MVT PairTy = MVT::getIntegerVT(2 * Width); in getCombine()
3173 MVT PartTy = HaveAlign <= 8 ? MVT::getIntegerVT(8 * HaveAlign) in LowerUnalignedLoad()
H A DHexagonISelLoweringHVX.cpp526 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() * Factor); in typeExtElem()
533 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() / Factor); in typeTruncElem()
1522 MVT VecTy = MVT::getVectorVT(MVT::getIntegerVT(8*HwLen/PredLen), PredLen); in compressHvxPred()
2056 MVT VecTy = MVT::getVectorVT(MVT::getIntegerVT(ElemSize * 8), VecLen); in LowerHvxSelect()
2342 return MVT::getIntegerVT(Width); in typeExtendToWider()
2448 MVT ElemTy = MVT::getIntegerVT(ElemWidth); in emitHvxShiftRightRnd()
3293 MVT Ty = MVT::getVectorVT(MVT::getIntegerVT(NewWidth), NumElems); in ExpandHvxResizeIntoSteps()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h536 return MVT::getIntegerVT(64);
816 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp84 Chain, DL, DAG.getConstant(StoreVal, DL, MVT::getIntegerVT(Size * 8)), in memsetStore()
H A DSystemZISelLowering.cpp84 MVT PtrVT = MVT::getIntegerVT(TM.getPointerSizeInBits(0)); in SystemZTargetLowering()
745 VecVT = MVT::getVectorVT(MVT::getIntegerVT(8), 16); in isVectorConstantLegal()
758 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
771 VecVT = MVT::getVectorVT(MVT::getIntegerVT(SplatBitSize), in isVectorConstantLegal()
4768 MVT InVT = MVT::getVectorVT(MVT::getIntegerVT(InBytes * 8), in getPermuteNode()
5153 EVT InVT = MVT::getVectorVT(MVT::getIntegerVT(InBits), in insertUnpackIfPrepared()
5157 EVT OutVT = MVT::getVectorVT(MVT::getIntegerVT(OutBits), in insertUnpackIfPrepared()
5522 MVT IntVT = MVT::getIntegerVT(VT.getScalarSizeInBits()); in lowerINSERT_VECTOR_ELT()
5549 MVT IntVT = MVT::getIntegerVT(VT.getSizeInBits()); in lowerEXTRACT_VECTOR_ELT()
6105 EVT VT = MVT::getIntegerVT(Op.getValueSizeInBits()); in combineExtract()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.h1143 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
1550 return EVT::getIntegerVT(Context, 96); in getTypeToTransformTo()
H A DX86InterleavedAccess.cpp235 return MVT::getVectorVT(MVT::getIntegerVT(ScalarSize), in scaleVectorType()
H A DX86ISelLowering.cpp6127 MVT VT = MVT::getIntegerVT(NumBits); in hasFastEqualityCompare()
12458 DstVT = MVT::getIntegerVT(EltSizeInBits); in matchShuffleAsVTRUNC()
12562 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleWithVPMOV()
12645 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleAsVTRUNC()
12841 MVT SrcSVT = MVT::getIntegerVT(SrcEltBits); in lowerShuffleWithPACK()
19956 MVT NewCondSVT = MVT::getIntegerVT(EltSize); in LowerVSELECT()
20290 MVT IdxSVT = MVT::getIntegerVT(EltSizeInBits); in LowerINSERT_VECTOR_ELT()
31066 MVT WideSVT = MVT::getIntegerVT( in LowerFunnelShift()
40055 MaskSVT = MVT::getIntegerVT(MaskSizeInBits); in combineX86ShufflesConstants()
52182 MVT IntSVT = MVT::getIntegerVT(IntBits); in lowerX86FPLogicOp()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp2147 MVT::getIntegerVT(ValVT.getSizeInBits()), Val); in MoveToHPR()
2158 MVT::getIntegerVT(LocVT.getSizeInBits()), Val); in MoveFromHPR()
8879 MVT FromSVT = MVT::getIntegerVT(EltSize * 2); in LowerVECTOR_SHUFFLE()
9008 EVT IEltVT = MVT::getIntegerVT(EltVT.getScalarSizeInBits()); in LowerINSERT_VECTOR_ELT()
9506 MVT TruncVT = MVT::getIntegerVT(EltSize); in SkipExtensionForVMULL()
10069 EVT::getIntegerVT(*DAG.getContext(), MemVT.getSizeInBits()), in LowerPredicateLoad()
10136 EVT::getIntegerVT(*DAG.getContext(), MemVT.getSizeInBits()), in LowerPredicateStore()
15879 MVT EltTy = MVT::getIntegerVT(Alignment.value() * 8); in TryCombineBaseUpdate()
16668 EVT NewToVT = EVT::getIntegerVT(C, VT.getSizeInBits()); in PerformExtractFpToIntStores()
20923 Info.memVT = MVT::getVectorVT(MVT::getIntegerVT(MemSize), in getTgtMemIntrinsic()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1853 const TargetRegisterClass *RC = getRegClassFor(MVT::getIntegerVT(Size * 8)); in emitAtomicCmpSwap()
2375 EVT TyX = MVT::getIntegerVT(WidthX), TyY = MVT::getIntegerVT(WidthY); in lowerFCOPYSIGN64()
4389 MVT RegTy = MVT::getIntegerVT(GPRSizeInBytes * 8); in copyByValRegs()
4418 RegTy = MVT::getIntegerVT(RegSizeInBytes * 8); in passByValArg()
4458 MVT::getIntegerVT(LoadSizeInBytes * 8), Alignment); in passByValArg()
4508 MVT RegTy = MVT::getIntegerVT(RegSizeInBytes * 8); in writeVarArgRegs()

12