| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 227 ::computeKnownBits(V, Known, Depth, in computeKnownBits() 236 ::computeKnownBits(V, DemandedElts, Known, Depth, in computeKnownBits() 252 return ::computeKnownBits( in computeKnownBits() 262 return ::computeKnownBits( in computeKnownBits() 1155 computeKnownBits(RHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator() 1599 computeKnownBits(RV, Known2, Depth + 1, Q); in computeKnownBitsFromOperator() 1894 computeKnownBits(V, Known, Depth, Q); in computeKnownBits() 2172 computeKnownBits(X, LHSBits, Depth, Q); in isKnownToBeAPowerOfTwo() 2175 computeKnownBits(Y, RHSBits, Depth, Q); in isKnownToBeAPowerOfTwo() 2966 computeKnownBits(V, Known, Depth, Q); in MaskedValueIsZero() [all …]
|
| H A D | DemandedBits.cpp | 100 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits() 104 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
|
| H A D | InstructionSimplify.cpp | 775 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifySubInst() 1092 computeKnownBits(X, Q.DL, 0, Q.AC, Q.CxtI, Q.DT).getMaxValue().ult(*C)) in isDivZero() 1315 KnownBits KnownAmt = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyShift() 1328 KnownBits KnownVal = computeKnownBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyShift() 1364 computeKnownBits(Op0, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in simplifyRightShift() 2928 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 2936 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 2945 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 3031 KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOpOnLHS() 3054 KnownBits Known = computeKnownBits(RHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOpOnLHS() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 106 auto Known = computeKnownBits(A, M->getDataLayout()); in expectKnownBits() 1543 KnownBits Known = computeKnownBits( in TEST_F() 1562 KnownBits Known = computeKnownBits( in TEST_F() 1580 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F() 1596 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F() 1601 Known = computeKnownBits(&APlus512, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F() 1620 KnownBits Known = computeKnownBits(CI, M.getDataLayout(), /* Depth */ 0); in TEST_F() 1628 Known = computeKnownBits(CI, M.getDataLayout(), /* Depth */ 0); in TEST_F() 1651 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F() 1656 Known = computeKnownBits(&APlus512, M->getDataLayout(), /* Depth */ 0, &AC, in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 122 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 138 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 182 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 550 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 626 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 679 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 742 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 765 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits() 935 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits() 1039 computeKnownBits(I, Known, Depth, CxtI); in SimplifyMultipleUseDemandedBits() [all …]
|
| H A D | InstCombineInternal.h | 470 void computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function 472 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits() 475 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function 477 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
|
| H A D | InstCombineCasts.cpp | 422 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 437 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 455 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated() 1027 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp() 1084 KnownBits KnownLHS = computeKnownBits(LHS, 0, &Zext); in transformZExtICmp() 1085 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp() 1392 KnownBits Known = computeKnownBits(Op0, 0, &CI); in transformSExtICmp() 1760 KnownBits SrcKnown = IC.computeKnownBits(Src, 0, &I); in isKnownExactCastIntToFP()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombineInternal.h | 111 KnownBits computeKnownBits(const Value *V) const { in computeKnownBits() function 112 return llvm::computeKnownBits(V, DL, /*Depth=*/0, &AC, in computeKnownBits()
|
| H A D | TruncInstCombine.cpp | 310 KnownBits KnownRHS = computeKnownBits(I->getOperand(1)); in getBestTruncatedType() 317 KnownBits KnownLHS = computeKnownBits(I->getOperand(0)); in getBestTruncatedType() 333 KnownBits Known = computeKnownBits(Op); in getBestTruncatedType()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2903 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits() 2954 Known2 = computeKnownBits(SrcOp, Depth + 1); in computeKnownBits() 3076 Known = computeKnownBits(N0, Depth + 1); in computeKnownBits() 3509 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits() 3614 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits() 3672 Known2 = computeKnownBits(InVal, Depth + 1); in computeKnownBits() 3836 KnownBits N1Known = computeKnownBits(N1); in computeOverflowKind() 3838 KnownBits N0Known = computeKnownBits(N0); in computeOverflowKind() 3852 KnownBits N0Known = computeKnownBits(N0); in computeOverflowKind() 3910 KnownBits Known = computeKnownBits(Val); in isKnownToBeAPowerOfTwo() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 457 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function 459 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits() 462 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function 464 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 57 void computeKnownBits(const Value *V, KnownBits &Known, 73 void computeKnownBits(const Value *V, const APInt &DemandedElts, 82 KnownBits computeKnownBits(const Value *V, const DataLayout &DL, 90 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | urem-i8-constant.ll | 4 ; computeKnownBits determines that we don't need a mask op that is required in the general case.
|
| H A D | live-out-reg-info.ll | 5 ; to an off-by-one bug with computeKnownBits information.
|
| H A D | and-encoding.ll | 101 ; The transform is not limited to shifts - computeKnownBits() knows the top 4 bits
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | AArch64SelectionDAGTest.cpp | 96 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F() 109 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F() 126 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); in TEST_F() 248 KnownBits Known = DAG->computeKnownBits(Op); in TEST_F() 267 KnownBits Known = DAG->computeKnownBits(Op); in TEST_F()
|
| /llvm-project-15.0.7/llvm/test/Analysis/ValueTracking/ |
| H A D | signbits-extract-elt.ll | 4 ; If computeKnownBits can do a simple look-through for extractelement
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | zextload_demandedbits.ll | 9 ; Make sure that the sext op does not get lost due to computeKnownBits.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | extract-subvector-equal-length.ll | 4 ; Test for ICE in SelectionDAG::computeKnownBits when visiting EXTRACT_SUBVECTOR
|
| H A D | knownbits-recursion.ll | 4 ; DAG.computeKnownBits() due to missing (Depth + 1) argument in
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | all-bits-shift.ll | 10 ; Check that both InstCombine and InstSimplify can use computeKnownBits to
|
| H A D | bswap-known-bits.ll | 2 ; Note: This is testing functionality in computeKnownBits. I'd have rather
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULateCodeGenPrepare.cpp | 73 KnownBits Known = computeKnownBits(V, *DL, 0, AC); in isDWORDAligned()
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelDAGToDAG.cpp | 111 KnownBits Known = CurDAG->computeKnownBits(N->getOperand(0)); in selectShiftMask()
|
| /llvm-project-15.0.7/llvm/docs/GlobalISel/ |
| H A D | IRTranslator.rst | 74 representation with additional metadata (in effect, caching computeKnownBits
|