Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp911 if (C->isSignMask()) { in foldAddWithConstant()
1268 if (XorRHS->getValue().isSignMask()) in visitAdd()
DInstCombineCompares.cpp1595 if (!Cmp.isEquality() && XorC->isSignMask()) { in foldICmpXorConstant()
1740 if (C2->isSignMask()) { in foldICmpAndConstConst()
2591 if (Lower.isSignMask()) in foldICmpAddConstant()
2593 if (Upper.isSignMask()) in foldICmpAddConstant()
3975 if (C->isSignMask()) { in foldICmpBinOp()
DInstCombineSimplifyDemanded.cpp563 if (DemandedMask.isSignMask()) in SimplifyDemandedUseBits()
DInstCombineAndOrXor.cpp3102 if (RHSC->isSignMask() && match(Op0, m_Sub(m_APInt(C), m_Value(X)))) { in visitXor()
3107 if (RHSC->isSignMask() && match(Op0, m_Add(m_Value(X), m_APInt(C)))) { in visitXor()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h478 bool isSignMask() const { return isMinSignedValue(); }
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h477 bool isSignMask() const { return isMinSignedValue(); } in isSignMask() function
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp908 if (C->isSignMask()) { in foldAddWithConstant()
928 if (C2->isSignMask()) in foldAddWithConstant()
DInstCombineCompares.cpp1616 if (!Cmp.isEquality() && XorC->isSignMask()) { in foldICmpXorConstant()
1762 if (C2->isSignMask()) { in foldICmpAndConstConst()
2634 if (Lower.isSignMask()) in foldICmpAddConstant()
2636 if (Upper.isSignMask()) in foldICmpAddConstant()
4053 if (C->isSignMask()) { in foldICmpBinOp()
DInstCombineSimplifyDemanded.cpp601 if (DemandedMask.isSignMask()) in SimplifyDemandedUseBits()
DInstCombineAndOrXor.cpp3233 if (RHSC->isSignMask() && match(Op0, m_Sub(m_APInt(C), m_Value(X)))) in visitXor()
3237 if (RHSC->isSignMask() && match(Op0, m_Add(m_Value(X), m_APInt(C)))) in visitXor()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h467 bool isValue(const APInt &C) { return C.isSignMask(); } in isValue()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h522 bool isValue(const APInt &C) { return C.isSignMask(); } in isValue()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp761 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBits()
1415 if (DemandedBits.isSignMask() && in SimplifyDemandedBits()
1775 if (DemandedBits.isSignMask()) { in SimplifyDemandedBits()
DSelectionDAG.cpp3446 if (C && C->getAPIntValue().isSignMask()) in isKnownToBeAPowerOfTwo()
DDAGCombiner.cpp9840 OpRHSConst->getAPIntValue().isSignMask()) { in visitVSELECT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp729 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBits()
1299 if (DemandedBits.isSignMask() && in SimplifyDemandedBits()
1604 if (DemandedBits.isSignMask()) { in SimplifyDemandedBits()
DSelectionDAG.cpp3475 if (C && C->getAPIntValue().isSignMask()) in isKnownToBeAPowerOfTwo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp4530 if (RHSC->getValue().isSignMask()) in MatchBinaryOp()
6397 Trunc.isSignMask()) in createSCEV()
DInstructionSimplify.cpp2962 if (CIVal->isSignMask() && CI2Val->isOneValue()) { in simplifyICmpWithBinOp()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp4595 if (RHSC->getValue().isSignMask()) in MatchBinaryOp()
6557 Trunc.isSignMask()) in createSCEV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp35933 if (OriginalDemandedBits.isSignMask()) in SimplifyDemandedBitsForTargetNode()
36045 if (OriginalDemandedBits.isSignMask()) { in SimplifyDemandedBitsForTargetNode()
36063 if (OriginalDemandedBits.isSignMask() && in SimplifyDemandedBitsForTargetNode()
36127 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBitsForTargetNode()
38235 OpRHSConst->getAPIntValue().isSignMask()) { in combineSelect()
42501 if (!UndefElts[I] && !EltBits[I].isSignMask()) in isFNEG()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp38316 if (OriginalDemandedBits.isSignMask()) in SimplifyDemandedBitsForTargetNode()
38427 if (OriginalDemandedBits.isSignMask()) { in SimplifyDemandedBitsForTargetNode()
38456 if (OriginalDemandedBits.isSignMask() && in SimplifyDemandedBitsForTargetNode()
38616 if (DemandedBits.isSignMask()) in SimplifyMultipleUseDemandedBitsForTargetNode()
38622 if (DemandedBits.isSignMask() && in SimplifyMultipleUseDemandedBitsForTargetNode()
45897 if (!UndefElts[I] && !EltBits[I].isSignMask()) in isFNEG()