Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp221 Known.Zero.setHighBits(Shift); in lshr()
234 Known.Zero.setHighBits(MinLeadingZeros); in lshr()
266 Known.Zero.setHighBits(MinLeadingZeros); in ashr()
267 Known.One.setHighBits(MinLeadingOnes); in ashr()
364 Res.Zero.setHighBits(LeadZ); in computeForMul()
384 Known.Zero.setHighBits(LeadZ); in udiv()
405 Known.Zero.setHighBits(Leaders); in urem()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp207 Known.Zero.setHighBits(KnownZeroHigh - 1); in computeKnownBitsImpl()
254 Known.Zero.setHighBits(std::min(LeadZ, BitWidth)); in computeKnownBitsImpl()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp2210 TEST(APIntTest, setHighBits) { in TEST() argument
2212 i64hi32.setHighBits(32); in TEST()
2221 i128hi64.setHighBits(64); in TEST()
2230 i128hi24.setHighBits(24); in TEST()
2239 i128hi104.setHighBits(104); in TEST()
2248 i128hi0.setHighBits(0); in TEST()
2257 i80hi1.setHighBits(1); in TEST()
2266 i32hi16.setHighBits(16); in TEST()
2326 i32.setHighBits(1); in TEST()
2329 i128.setHighBits(1); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp511 DemandedMaskIn.setHighBits(ShiftAmt+1); in SimplifyDemandedUseBits()
513 DemandedMaskIn.setHighBits(ShiftAmt); in SimplifyDemandedUseBits()
545 Known.Zero.setHighBits(ShiftAmt); // high bits known zero. in SimplifyDemandedUseBits()
625 Known.Zero.setHighBits(std::min( in SimplifyDemandedUseBits()
1743 UndefElts.setHighBits(VWidth / 2); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp531 DemandedMaskIn.setHighBits(ShiftAmt+1); in SimplifyDemandedUseBits()
533 DemandedMaskIn.setHighBits(ShiftAmt); in SimplifyDemandedUseBits()
581 Known.Zero.setHighBits(ShiftAmt); // high bits known zero. in SimplifyDemandedUseBits()
665 Known.Zero.setHighBits(std::min( in SimplifyDemandedUseBits()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h657 Res.setHighBits(hiBitsSet);
1476 setHighBits(BitWidth - loBit);
1510 void setHighBits(unsigned hiBits) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h654 Res.setHighBits(hiBitsSet); in getHighBitsSet()
1461 setHighBits(BitWidth - loBit); in setBitsWithWrap()
1495 void setHighBits(unsigned hiBits) { in setHighBits() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp425 Known.Zero.setHighBits(LeadZ); in computeKnownBitsMul()
902 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume()
923 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros() + 1); in computeKnownBitsFromAssume()
925 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume()
1122 Known.Zero.setHighBits(LeadZ); in computeKnownBitsFromOperator()
1181 Known.One.setHighBits(MaxHighOnes); in computeKnownBitsFromOperator()
1183 Known.Zero.setHighBits(MaxHighZeros); in computeKnownBitsFromOperator()
1265 KZResult.setHighBits(ShiftAmt); in computeKnownBitsFromOperator()
1355 Known.Zero.setHighBits(Leaders); in computeKnownBitsFromOperator()
1647 Known.One.setHighBits(LeadingKnown); in computeKnownBitsFromOperator()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp4491 Known.Zero.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4493 Known.One.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4500 Known.Zero.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4533 Known.Zero.setHighBits(24); in computeKnownBitsForTargetNode()
4537 Known.Zero.setHighBits(16); in computeKnownBitsForTargetNode()
4544 Known.Zero.setHighBits(16); in computeKnownBitsForTargetNode()
4558 Known.Zero.setHighBits(Size - ST.getWavefrontSizeLog2()); in computeKnownBitsForTargetNode()
DSIISelLowering.cpp10788 Known.Zero.setHighBits(getSubtarget()->getKnownHighZeroBitsForFrameIndex()); in computeKnownBitsForFrameIndex()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp4462 Known.Zero.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4464 Known.One.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4471 Known.Zero.setHighBits(32 - MaxValBits); in computeKnownBitsForTargetNode()
4504 Known.Zero.setHighBits(24); in computeKnownBitsForTargetNode()
4508 Known.Zero.setHighBits(16); in computeKnownBitsForTargetNode()
4515 Known.Zero.setHighBits(16); in computeKnownBitsForTargetNode()
4528 Known.Zero.setHighBits(Size - ST.getWavefrontSizeLog2()); in computeKnownBitsForTargetNode()
DSIISelLowering.cpp11592 Known.Zero.setHighBits(getSubtarget()->getKnownHighZeroBitsForFrameIndex()); in computeKnownBitsForFrameIndex()
11599 Known.Zero.setHighBits(countLeadingZeros(MaxValue)); in knownBitsForWorkitemID()
11622 Known.Zero.setHighBits(Size - getSubtarget()->getWavefrontSizeLog2()); in computeKnownBitsForTargetInstr()
11629 Known.Zero.setHighBits(countLeadingZeros(getSubtarget()->getLocalMemorySize())); in computeKnownBitsForTargetInstr()
11636 Known.Zero.setHighBits(24); in computeKnownBitsForTargetInstr()
11639 Known.Zero.setHighBits(16); in computeKnownBitsForTargetInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2804 Known.Zero.setHighBits(std::min(LeadZ, BitWidth)); in computeKnownBits()
2819 Known.Zero.setHighBits(LeadZ); in computeKnownBits()
2899 Known.Zero.setHighBits(Shift); in computeKnownBits()
2910 Known.Zero.setHighBits(ShMinAmt->getZExtValue()); in computeKnownBits()
3229 Known.Zero.setHighBits(Leaders); in computeKnownBits()
3347 Known.Zero.setHighBits(LeadZero); in computeKnownBits()
3361 Known.One.setHighBits(LeadOne); in computeKnownBits()
3385 Known.One.setHighBits(MinSignBits); in computeKnownBits()
3389 Known.Zero.setHighBits(MinSignBits); in computeKnownBits()
DTargetLowering.cpp1472 Known.Zero.setHighBits(ShAmt); // High bits known zero. in SimplifyDemandedBits()
1535 Known.One.setHighBits(ShAmt); in SimplifyDemandedBits()
2191 KnownUndef.setHighBits(NumElts - 1); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp932 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume()
953 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros() + 1); in computeKnownBitsFromAssume()
955 Known.Zero.setHighBits(RHSKnown.countMinLeadingZeros()); in computeKnownBitsFromAssume()
1611 Known.One.setHighBits(LeadingKnown); in computeKnownBitsFromOperator()
1614 Known.Zero.setHighBits(LeadingKnown); in computeKnownBitsFromOperator()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp2008 UndefElts.setHighBits(VWidth / 2); in simplifyDemandedVectorEltsIntrinsic()
DX86ISelLowering.cpp34104 Known.Zero.setHighBits(ShAmt); in computeKnownBitsForTargetNode()
37842 KnownZero.setHighBits(ShiftAmt); in SimplifyDemandedVectorEltsForTargetNode()
38302 Known.Zero.setHighBits(ShAmt); in SimplifyDemandedBitsForTargetNode()
38351 Known.One.setHighBits(ShAmt); in SimplifyDemandedBitsForTargetNode()
38478 Known.Zero.setHighBits(BitWidth - NumElts); in SimplifyDemandedBitsForTargetNode()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1592 Known.Zero.setHighBits(ShAmt); in SimplifyDemandedBits()
1659 Known.One.setHighBits(ShAmt); in SimplifyDemandedBits()
2406 KnownUndef.setHighBits(NumElts - 1); in SimplifyDemandedVectorElts()
DSelectionDAG.cpp2961 Known.Zero.setHighBits(ShMinAmt->getZExtValue()); in computeKnownBits()
3354 Known.One.setHighBits(MinSignBits); in computeKnownBits()
3358 Known.Zero.setHighBits(MinSignBits); in computeKnownBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp32596 Known.Zero.setHighBits(ShAmt); in computeKnownBitsForTargetNode()
35493 KnownZero.setHighBits(ShiftAmt); in SimplifyDemandedVectorEltsForTargetNode()
35919 Known.Zero.setHighBits(ShAmt); in SimplifyDemandedBitsForTargetNode()
35968 Known.One.setHighBits(ShAmt); in SimplifyDemandedBitsForTargetNode()
36085 Known.Zero.setHighBits(BitWidth - NumElts); in SimplifyDemandedBitsForTargetNode()