Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp521 unsigned DstScalarSizeInBits = ResTy->getScalarSizeInBits(); in simplifyX86pack() local
522 assert(ArgTy->getScalarSizeInBits() == (2 * DstScalarSizeInBits) && in simplifyX86pack()
554 if (Val.isSignedIntN(DstScalarSizeInBits)) in simplifyX86pack()
555 Val = Val.trunc(DstScalarSizeInBits); in simplifyX86pack()
557 Val = APInt::getSignedMinValue(DstScalarSizeInBits); in simplifyX86pack()
559 Val = APInt::getSignedMaxValue(DstScalarSizeInBits); in simplifyX86pack()
564 if (Val.isIntN(DstScalarSizeInBits)) in simplifyX86pack()
565 Val = Val.trunc(DstScalarSizeInBits); in simplifyX86pack()
567 Val = APInt::getNullValue(DstScalarSizeInBits); in simplifyX86pack()
569 Val = APInt::getAllOnesValue(DstScalarSizeInBits); in simplifyX86pack()