Home
last modified time | relevance | path

Searched refs:computeKnownBits (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp218 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
227 ::computeKnownBits(V, DemandedElts, Known, Depth, in computeKnownBits()
243 return ::computeKnownBits( in computeKnownBits()
253 return ::computeKnownBits( in computeKnownBits()
1110 computeKnownBits(RHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator()
1554 computeKnownBits(RV, Known2, Depth + 1, Q); in computeKnownBitsFromOperator()
1821 computeKnownBits(V, Known, Depth, Q); in computeKnownBits()
2042 computeKnownBits(X, LHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
2045 computeKnownBits(Y, RHSBits, Depth, Q); in isKnownToBeAPowerOfTwo()
2810 computeKnownBits(V, Known, Depth, Q); in MaskedValueIsZero()
[all …]
H A DDemandedBits.cpp106 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
110 computeKnownBits(V2, Known2, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
H A DLint.cpp528 computeKnownBits(V, DL, 0, AC, dyn_cast<Instruction>(V), DT); in isZero()
548 KnownBits Known = computeKnownBits(Elem, DL); in isZero()
H A DInstructionSimplify.cpp766 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifySubInst()
1297 KnownBits KnownAmt = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift()
1310 KnownBits KnownVal = computeKnownBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift()
2154 const KnownBits XKnown = computeKnownBits(X, Q.DL, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
2745 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2753 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2762 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2770 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero()
2846 KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOpOnLHS()
2869 KnownBits Known = computeKnownBits(RHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithBinOpOnLHS()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp122 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
138 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
159 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
584 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
609 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
671 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
694 computeKnownBits(I, Known, Depth, CxtI); in SimplifyDemandedUseBits()
844 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
876 computeKnownBits(I->getOperand(0), LHSKnown, Depth + 1, in SimplifyMultipleUseDemandedBits()
948 computeKnownBits(I, Known, Depth, CxtI); in SimplifyMultipleUseDemandedBits()
[all …]
H A DInstCombineInternal.h462 void computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() function
464 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
467 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function
469 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
H A DInstCombineCasts.cpp420 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated()
435 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated()
453 llvm::computeKnownBits(I->getOperand(1), IC.getDataLayout()); in canEvaluateTruncated()
1011 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext); in transformZExtICmp()
1073 KnownBits KnownLHS = computeKnownBits(LHS, 0, &Zext); in transformZExtICmp()
1074 KnownBits KnownRHS = computeKnownBits(RHS, 0, &Zext); in transformZExtICmp()
1398 KnownBits Known = computeKnownBits(Op0, 0, &CI); in transformSExtICmp()
1521 KnownBits Known = computeKnownBits(Src, 0, &CI); in visitSExt()
H A DInstCombineCalls.cpp496 KnownBits Known = IC.computeKnownBits(Op0, 0, &II); in foldCttzCtlz()
588 IC.computeKnownBits(Op0, Known, 0, &II); in foldCtpop()
747 KnownBits Known = computeKnownBits(Op, DL, 0, AC, CxtI, DT); in getKnownSign()
1630 uint64_t Bytes1 = computeKnownBits(Bytes, 0, Op0).One.getZExtValue(); in visitCallInst()
1631 uint64_t Mask1 = computeKnownBits(Mask, 0, II).One.getZExtValue(); in visitCallInst()
1850 computeKnownBits(IIOperand, Known, 0, II); in visitCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2745 return computeKnownBits(Op, DemandedElts, Depth); in computeKnownBits()
2793 Known2 = computeKnownBits(SrcOp, Depth + 1); in computeKnownBits()
2915 Known = computeKnownBits(N0, Depth + 1); in computeKnownBits()
3299 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits()
3389 Known = computeKnownBits(Op.getOperand(0), Depth+1); in computeKnownBits()
3447 Known2 = computeKnownBits(InVal, Depth + 1); in computeKnownBits()
3592 KnownBits N1Known = computeKnownBits(N1); in computeOverflowKind()
3594 KnownBits N0Known = computeKnownBits(N0); in computeOverflowKind()
3608 KnownBits N0Known = computeKnownBits(N0); in computeOverflowKind()
3654 KnownBits Known = computeKnownBits(Val); in isKnownToBeAPowerOfTwo()
[all …]
H A DTargetLowering.cpp710 LHSKnown = DAG.computeKnownBits(Op.getOperand(0), DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits()
940 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
979 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
984 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
1185 KnownBits LHSKnown = TLO.DAG.computeKnownBits(Op0, DemandedElts, Depth); in SimplifyDemandedBits()
1788 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
2192 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
2270 Known = TLO.DAG.computeKnownBits(Op, DemandedElts, Depth); in SimplifyDemandedBits()
3899 KnownBits XKnown = DAG.computeKnownBits(N0.getOperand(0)); in SimplifySetCC()
3900 KnownBits YKnown = DAG.computeKnownBits(N0.getOperand(1)); in SimplifySetCC()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h456 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth, in computeKnownBits() function
458 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
461 KnownBits computeKnownBits(const Value *V, unsigned Depth, in computeKnownBits() function
463 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueTracking.h58 void computeKnownBits(const Value *V, KnownBits &Known,
74 void computeKnownBits(const Value *V, const APInt &DemandedElts,
83 KnownBits computeKnownBits(const Value *V, const DataLayout &DL,
91 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp73 KnownBits Known = computeKnownBits(V, *DL, 0, AC); in isDWORDAligned()
H A DAMDGPUCodeGenPrepare.cpp446 KnownBits Known = computeKnownBits(Op, *DL, 0, AC); in numBitsUnsigned()
1032 KnownBits Known = computeKnownBits(V, *DL); in getSign32()
H A DAMDGPUISelLowering.cpp49 KnownBits Known = DAG.computeKnownBits(Op); in numBitsUnsigned()
3182 KnownBits Known = DAG.computeKnownBits(X); in performShlCombine()
3355 KnownBits Known = DAG.computeKnownBits(Amt); in performTruncateCombine()
4557 KnownBits LHSKnown = DAG.computeKnownBits(Op.getOperand(0), Depth + 1); in computeKnownBitsForTargetNode()
4558 KnownBits RHSKnown = DAG.computeKnownBits(Op.getOperand(1), Depth + 1); in computeKnownBitsForTargetNode()
4602 KnownBits LHSKnown = DAG.computeKnownBits(Op.getOperand(0), Depth + 1); in computeKnownBitsForTargetNode()
4603 KnownBits RHSKnown = DAG.computeKnownBits(Op.getOperand(1), Depth + 1); in computeKnownBitsForTargetNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrMemory.td34 KnownBits Known0 = CurDAG->computeKnownBits(N->getOperand(0), 0);
35 KnownBits Known1 = CurDAG->computeKnownBits(N->getOperand(1), 0);
H A DWebAssemblyInstrInfo.td221 return CurDAG->computeKnownBits(SDValue(N, 0)).countMinLeadingZeros() == 31;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp241 computeKnownBits(V, Known, DL); in getValueRange()
H A DLowerSwitch.cpp399 KnownBits Known = computeKnownBits(Val, DL, /*Depth=*/0, AC, SI); in ProcessSwitchInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp746 KnownBits Known = CurDAG->computeKnownBits(Op.getOperand(0)); in detectOrAndInsertion()
804 KnownBits Known = CurDAG->computeKnownBits(Input); in expandRxSBG()
827 KnownBits Known = CurDAG->computeKnownBits(Input); in expandRxSBG()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp406 KnownBits Known = DAG.computeKnownBits(Value); in isWordAligned()
1659 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine()
1681 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine()
1696 KnownBits Known = DAG.computeKnownBits(N2); in PerformDAGCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp214 llvm::computeKnownBits(Amt, II.getModule()->getDataLayout()); in simplifyX86immShift()
237 KnownBits KnownLowerBits = llvm::computeKnownBits( in simplifyX86immShift()
239 KnownBits KnownUpperBits = llvm::computeKnownBits( in simplifyX86immShift()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp637 KnownBits Known = computeKnownBits(OpLHS, DL); in parseRangeChecks()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1501 Known = DAG.computeKnownBits(Op->getOperand(0), Depth + 1); in computeKnownBitsForTargetNode()
1502 Known2 = DAG.computeKnownBits(Op->getOperand(1), Depth + 1); in computeKnownBitsForTargetNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1343 KnownBits Known0 = computeKnownBits(Idx0, DL, 0, &AC, Gep0, &DT); in calculatePointerDifference()
1344 KnownBits Known1 = computeKnownBits(Idx1, DL, 0, &AC, Gep1, &DT); in calculatePointerDifference()

123