Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1377 APInt DemandedLHS(DemandedElts), DemandedRHS(DemandedElts); in SimplifyDemandedVectorElts() local
1389 DemandedLHS.clearBit(i); in SimplifyDemandedVectorElts()
1395 simplifyAndSetOp(I, 1, DemandedLHS, UndefElts2); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp166 APInt &DemandedLHS, APInt &DemandedRHS) { in getShuffleDemandedElts() argument
175 DemandedLHS = DemandedRHS = APInt::getNullValue(NumElts); in getShuffleDemandedElts()
180 DemandedLHS.setBit(0); in getShuffleDemandedElts()
194 DemandedLHS.setBit(M % NumElts); in getShuffleDemandedElts()
1654 APInt DemandedLHS, DemandedRHS; in computeKnownBitsFromOperator() local
1655 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) { in computeKnownBitsFromOperator()
1661 if (!!DemandedLHS) { in computeKnownBitsFromOperator()
1663 computeKnownBits(LHS, DemandedLHS, Known, Depth + 1, Q); in computeKnownBitsFromOperator()
2932 APInt DemandedLHS, DemandedRHS; in ComputeNumSignBitsImpl() local
2935 if (!getShuffleDemandedElts(Shuf, DemandedElts, DemandedLHS, DemandedRHS)) in ComputeNumSignBitsImpl()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1426 APInt DemandedLHS(DemandedElts), DemandedRHS(DemandedElts); in SimplifyDemandedVectorElts() local
1438 DemandedLHS.clearBit(i); in SimplifyDemandedVectorElts()
1444 simplifyAndSetOp(I, 1, DemandedLHS, UndefElts2); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1122 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedBits() local
1131 DemandedLHS.clearAllBits(); in SimplifyDemandedBits()
1137 DemandedLHS.setBit(M); in SimplifyDemandedBits()
1142 if (!!DemandedLHS || !!DemandedRHS) { in SimplifyDemandedBits()
1148 if (!!DemandedLHS) { in SimplifyDemandedBits()
1149 if (SimplifyDemandedBits(Op0, DemandedBits, DemandedLHS, Known2, TLO, in SimplifyDemandedBits()
1165 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1); in SimplifyDemandedBits()
2658 APInt DemandedLHS(DemandedElts); in SimplifyDemandedVectorElts() local
2662 if (SimplifyDemandedVectorElts(Op.getOperand(1), DemandedLHS, UndefLHS, in SimplifyDemandedVectorElts()
2677 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedVectorElts() local
[all …]
DSelectionDAG.cpp2690 APInt DemandedLHS(NumElts, 0), DemandedRHS(NumElts, 0); in computeKnownBits() local
2703 DemandedLHS.clearAllBits(); in computeKnownBits()
2709 DemandedLHS.setBit((unsigned)M % NumElts); in computeKnownBits()
2714 if (!!DemandedLHS) { in computeKnownBits()
2716 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits()
3533 APInt DemandedLHS(NumElts, 0), DemandedRHS(NumElts, 0); in ComputeNumSignBits() local
3545 DemandedLHS.setBit((unsigned)M % NumElts); in ComputeNumSignBits()
3550 if (!!DemandedLHS) in ComputeNumSignBits()
3551 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1); in ComputeNumSignBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp999 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedBits() local
1008 DemandedLHS.clearAllBits(); in SimplifyDemandedBits()
1014 DemandedLHS.setBit(M); in SimplifyDemandedBits()
1019 if (!!DemandedLHS || !!DemandedRHS) { in SimplifyDemandedBits()
1025 if (!!DemandedLHS) { in SimplifyDemandedBits()
1026 if (SimplifyDemandedBits(Op0, DemandedBits, DemandedLHS, Known2, TLO, in SimplifyDemandedBits()
1042 Op0, DemandedBits, DemandedLHS, TLO.DAG, Depth + 1); in SimplifyDemandedBits()
2424 APInt DemandedLHS(DemandedElts); in SimplifyDemandedVectorElts() local
2428 if (SimplifyDemandedVectorElts(Op.getOperand(1), DemandedLHS, UndefLHS, in SimplifyDemandedVectorElts()
2443 APInt DemandedLHS(NumElts, 0); in SimplifyDemandedVectorElts() local
[all …]
DSelectionDAG.cpp2565 APInt DemandedLHS(NumElts, 0), DemandedRHS(NumElts, 0); in computeKnownBits() local
2578 DemandedLHS.clearAllBits(); in computeKnownBits()
2584 DemandedLHS.setBit((unsigned)M % NumElts); in computeKnownBits()
2589 if (!!DemandedLHS) { in computeKnownBits()
2591 Known2 = computeKnownBits(LHS, DemandedLHS, Depth + 1); in computeKnownBits()
3557 APInt DemandedLHS(NumElts, 0), DemandedRHS(NumElts, 0); in ComputeNumSignBits() local
3569 DemandedLHS.setBit((unsigned)M % NumElts); in ComputeNumSignBits()
3574 if (!!DemandedLHS) in ComputeNumSignBits()
3575 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1); in ComputeNumSignBits()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2812 SDValue DemandedLHS = DAG.GetDemandedBits(LHS, Demanded); in simplifyI24() local
2814 if (DemandedLHS || DemandedRHS) in simplifyI24()
2816 DemandedLHS ? DemandedLHS : LHS, in simplifyI24()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2807 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyI24() local
2809 if (DemandedLHS || DemandedRHS) in simplifyI24()
2811 DemandedLHS ? DemandedLHS : LHS, in simplifyI24()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp2714 APInt DemandedLHS(NumElts, 0), DemandedRHS(NumElts, 0); in ComputeNumSignBitsImpl() local
2723 DemandedLHS.setBit(M % NumElts); in ComputeNumSignBitsImpl()
2728 if (!!DemandedLHS) in ComputeNumSignBitsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp6535 APInt &DemandedLHS, APInt &DemandedRHS) { in getPackDemandedElts() argument
6542 DemandedLHS = APInt::getNullValue(NumInnerElts); in getPackDemandedElts()
6551 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts()
6560 APInt &DemandedLHS, APInt &DemandedRHS) { in getHorizDemandedElts() argument
6566 DemandedLHS = APInt::getNullValue(NumElts); in getHorizDemandedElts()
6576 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 0); in getHorizDemandedElts()
6577 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 1); in getHorizDemandedElts()
32605 APInt DemandedLHS, DemandedRHS; in computeKnownBitsForTargetNode() local
32606 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in computeKnownBitsForTargetNode()
32612 if (!!DemandedLHS) { in computeKnownBitsForTargetNode()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp6820 APInt &DemandedLHS, APInt &DemandedRHS) { in getPackDemandedElts() argument
6827 DemandedLHS = APInt::getNullValue(NumInnerElts); in getPackDemandedElts()
6836 DemandedLHS.setBit(InnerIdx); in getPackDemandedElts()
6845 APInt &DemandedLHS, APInt &DemandedRHS) { in getHorizDemandedElts() argument
6851 DemandedLHS = APInt::getNullValue(NumElts); in getHorizDemandedElts()
6861 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 0); in getHorizDemandedElts()
6862 DemandedLHS.setBit(LaneIdx + 2 * LocalIdx + 1); in getHorizDemandedElts()
34113 APInt DemandedLHS, DemandedRHS; in computeKnownBitsForTargetNode() local
34114 getPackDemandedElts(VT, DemandedElts, DemandedLHS, DemandedRHS); in computeKnownBitsForTargetNode()
34120 if (!!DemandedLHS) { in computeKnownBitsForTargetNode()
[all …]