Home
last modified time | relevance | path

Searched refs:SrcEltBits (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp569 unsigned SrcEltBits = SrcEltVT.getSizeInBits(); in ExpandLoad() local
570 SDValue SrcEltBitMask = DAG.getConstant((1U << SrcEltBits) - 1, dl, WideVT); in ExpandLoad()
586 BitOffset += SrcEltBits; in ExpandLoad()
592 SrcEltBits - BitOffset, dl, in ExpandLoad()
612 DAG.getConstant(WideBits - SrcEltBits, dl, in ExpandLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp779 unsigned SrcEltBits = SrcEltVT.getSizeInBits(); in ExpandLoad() local
781 APInt::getLowBitsSet(WideBits, SrcEltBits), dl, WideVT); in ExpandLoad()
790 BitOffset += SrcEltBits; in ExpandLoad()
796 SrcEltBits - BitOffset, dl, in ExpandLoad()
816 DAG.getConstant(WideBits - SrcEltBits, dl, in ExpandLoad()
DTargetLowering.cpp6047 unsigned SrcEltBits = SrcVT.getScalarSizeInBits(); in expandFP_TO_SINT() local
6054 SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT); in expandFP_TO_SINT()
6055 SDValue SignLowBit = DAG.getConstant(SrcEltBits - 1, dl, IntVT); in expandFP_TO_SINT()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp6454 auto CastBitData = [&](APInt &UndefSrcElts, ArrayRef<APInt> SrcEltBits) { in getTargetConstantBitsFromNode() argument
6456 unsigned SrcEltSizeInBits = SrcEltBits[0].getBitWidth(); in getTargetConstantBitsFromNode()
6468 EltBits.assign(SrcEltBits.begin(), SrcEltBits.end()); in getTargetConstantBitsFromNode()
6480 MaskBits.insertBits(SrcEltBits[i], BitOffset); in getTargetConstantBitsFromNode()
6532 SmallVector<APInt, 64> SrcEltBits(NumElts, APInt(EltSizeInBits, 0)); in getTargetConstantBitsFromNode() local
6533 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
6539 SmallVector<APInt, 64> SrcEltBits(1, Cst->getAPIntValue()); in getTargetConstantBitsFromNode() local
6540 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
6545 SmallVector<APInt, 64> SrcEltBits(1, RawBits); in getTargetConstantBitsFromNode() local
6546 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6148 auto CastBitData = [&](APInt &UndefSrcElts, ArrayRef<APInt> SrcEltBits) { in getTargetConstantBitsFromNode() argument
6150 unsigned SrcEltSizeInBits = SrcEltBits[0].getBitWidth(); in getTargetConstantBitsFromNode()
6162 EltBits.assign(SrcEltBits.begin(), SrcEltBits.end()); in getTargetConstantBitsFromNode()
6174 MaskBits.insertBits(SrcEltBits[i], BitOffset); in getTargetConstantBitsFromNode()
6226 SmallVector<APInt, 64> SrcEltBits(NumElts, APInt(EltSizeInBits, 0)); in getTargetConstantBitsFromNode() local
6227 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
6233 SmallVector<APInt, 64> SrcEltBits(1, Cst->getAPIntValue()); in getTargetConstantBitsFromNode() local
6234 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
6239 SmallVector<APInt, 64> SrcEltBits(1, RawBits); in getTargetConstantBitsFromNode() local
6240 return CastBitData(UndefSrcElts, SrcEltBits); in getTargetConstantBitsFromNode()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp6393 unsigned SrcEltBits = SrcVT.getScalarSizeInBits(); in expandFP_TO_SINT() local
6400 SDValue SignMask = DAG.getConstant(APInt::getSignMask(SrcEltBits), dl, IntVT); in expandFP_TO_SINT()
6401 SDValue SignLowBit = DAG.getConstant(SrcEltBits - 1, dl, IntVT); in expandFP_TO_SINT()
6905 unsigned SrcEltBits = SrcEltVT.getSizeInBits(); in scalarizeVectorLoad() local
6907 APInt::getLowBitsSet(NumLoadBits, SrcEltBits), SL, LoadVT); in scalarizeVectorLoad()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5185 unsigned SrcEltBits = SrcTy.getScalarSizeInBits(); in lowerFPTOSI() local
5194 APInt::getSignMask(SrcEltBits)); in lowerFPTOSI()
5196 auto SignLowBit = MIRBuilder.buildConstant(SrcTy, SrcEltBits - 1); in lowerFPTOSI()