Home
last modified time | relevance | path

Searched refs:NumSignBits (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h173 unsigned NumSignBits : 31; member
176 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0), in LiveOutInfo()
250 void AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits, in AddLiveOutRegInfo() argument
253 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0) in AddLiveOutRegInfo()
258 LOI.NumSignBits = NumSignBits; in AddLiveOutRegInfo()
/external/llvm-project/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h156 unsigned NumSignBits : 31; member
160 LiveOutInfo() : NumSignBits(0), IsValid(true) {} in LiveOutInfo()
236 void AddLiveOutRegInfo(Register Reg, unsigned NumSignBits, in AddLiveOutRegInfo() argument
239 if (NumSignBits == 1 && Known.isUnknown()) in AddLiveOutRegInfo()
244 LOI.NumSignBits = NumSignBits; in AddLiveOutRegInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h159 unsigned NumSignBits : 31; member
163 LiveOutInfo() : NumSignBits(0), IsValid(true) {} in LiveOutInfo()
239 void AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits, in AddLiveOutRegInfo() argument
242 if (NumSignBits == 1 && Known.isUnknown()) in AddLiveOutRegInfo()
247 LOI.NumSignBits = NumSignBits; in AddLiveOutRegInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp409 LOI->NumSignBits = 1; in GetLiveOutRegInfo()
442 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
449 DestLOI.NumSignBits = Val.getNumSignBits(); in ComputePHILiveOutRegInfo()
475 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
482 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); in ComputePHILiveOutRegInfo()
500 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits); in ComputePHILiveOutRegInfo()
DSelectionDAGISel.cpp770 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local
772 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, Known); in ComputeLiveOutVRegInfo()
DSelectionDAGBuilder.cpp850 unsigned NumSignBits = LOI->NumSignBits; in getCopyFromRegs() local
868 } else if (NumSignBits > 1) { in getCopyFromRegs()
870 EVT::getIntegerVT(*DAG.getContext(), RegSize - NumSignBits + 1); in getCopyFromRegs()
DTargetLowering.cpp1605 unsigned NumSignBits = TLO.DAG.ComputeNumSignBits(Op0); in SimplifyDemandedBits() local
1606 bool AlreadySignExtended = NumSignBits >= BitWidth - ExVTBits + 1; in SimplifyDemandedBits()
DDAGCombiner.cpp9634 unsigned NumSignBits = DAG.ComputeNumSignBits(Op); in visitSIGN_EXTEND() local
9639 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
9644 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
9649 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp420 LOI->NumSignBits = 1; in GetLiveOutRegInfo()
453 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
460 DestLOI.NumSignBits = Val.getNumSignBits(); in ComputePHILiveOutRegInfo()
486 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
493 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); in ComputePHILiveOutRegInfo()
511 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits); in ComputePHILiveOutRegInfo()
DTargetLowering.cpp746 unsigned NumSignBits = in SimplifyMultipleUseDemandedBits() local
749 if (NumSignBits > ShAmt && (NumSignBits - ShAmt) >= (UpperDemandedBits)) in SimplifyMultipleUseDemandedBits()
783 unsigned NumSignBits = DAG.ComputeNumSignBits(Op0, DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBits() local
784 if (NumSignBits >= (BitWidth - ExBits + 1)) in SimplifyMultipleUseDemandedBits()
1536 unsigned NumSignBits = in SimplifyDemandedBits() local
1539 if (NumSignBits > ShAmt && (NumSignBits - ShAmt) >= (UpperDemandedBits)) in SimplifyDemandedBits()
1776 unsigned NumSignBits = in SimplifyDemandedBits() local
1778 bool AlreadySignExtended = NumSignBits >= BitWidth - ExVTBits + 1; in SimplifyDemandedBits()
DSelectionDAGISel.cpp744 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local
746 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, Known); in ComputeLiveOutVRegInfo()
DSelectionDAGBuilder.cpp835 unsigned NumSignBits = LOI->NumSignBits; in getCopyFromRegs() local
853 } else if (NumSignBits > 1) { in getCopyFromRegs()
855 EVT::getIntegerVT(*DAG.getContext(), RegSize - NumSignBits + 1); in getCopyFromRegs()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp411 LOI->NumSignBits = 1; in GetLiveOutRegInfo()
445 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
454 DestLOI.NumSignBits = Val.getNumSignBits(); in ComputePHILiveOutRegInfo()
480 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
489 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); in ComputePHILiveOutRegInfo()
507 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits); in ComputePHILiveOutRegInfo()
DSelectionDAGISel.cpp717 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local
719 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne); in ComputeLiveOutVRegInfo()
DSelectionDAGBuilder.cpp684 unsigned NumSignBits = LOI->NumSignBits; in getCopyFromRegs() local
699 if (NumSignBits == RegSize) { in getCopyFromRegs()
705 } else if (NumSignBits > RegSize - 8) { in getCopyFromRegs()
711 } else if (NumSignBits > RegSize - 16) { in getCopyFromRegs()
717 } else if (NumSignBits > RegSize - 32) { in getCopyFromRegs()
DDAGCombiner.cpp1746 unsigned NumSignBits = DAG.ComputeNumSignBits(AndOp0); in visitADD() local
1751 if (NumSignBits == DestBits && isOneConstant(N1->getOperand(1))) { in visitADD()
6047 unsigned NumSignBits = DAG.ComputeNumSignBits(Op); in visitSIGN_EXTEND() local
6052 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
6057 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
6062 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType() local
135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
DInstructionSimplify.cpp1400 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst() local
1401 if (NumSignBits == Op0->getType()->getScalarSizeInBits()) in SimplifyAShrInst()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType() local
135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
DInstructionSimplify.cpp1395 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst() local
1396 if (NumSignBits == Op0->getType()->getScalarSizeInBits()) in SimplifyAShrInst()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp3403 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, 0, DT); in computeMinimumValueSizes() local
3405 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1443 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst() local
1444 if (NumSignBits == Op0->getType()->getScalarSizeInBits()) in SimplifyAShrInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5489 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, nullptr, DT); in computeMinimumValueSizes() local
5491 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp5772 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, nullptr, DT); in computeMinimumValueSizes() local
5774 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp38267 unsigned NumSignBits = in SimplifyDemandedBitsForTargetNode() local
38271 if (NumSignBits > ShAmt && (NumSignBits - ShAmt) >= UpperDemandedBits) in SimplifyDemandedBitsForTargetNode()
38323 unsigned NumSignBits = in SimplifyDemandedBitsForTargetNode() local
38325 if (ShAmt < NumSignBits) in SimplifyDemandedBitsForTargetNode()
38607 unsigned NumSignBits = DAG.ComputeNumSignBits(Op0, DemandedElts, Depth + 1); in SimplifyMultipleUseDemandedBitsForTargetNode() local
38609 if (NumSignBits > ShAmt && (NumSignBits - ShAmt) >= UpperDemandedBits) in SimplifyMultipleUseDemandedBitsForTargetNode()
45558 unsigned NumSignBits = DAG.ComputeNumSignBits(In); in combineVectorSignBitsTruncation() local
45563 if (SVT == MVT::i32 && NumSignBits != InSVT.getSizeInBits()) in combineVectorSignBitsTruncation()
45566 if (NumSignBits > (InSVT.getSizeInBits() - NumPackedSignBits)) in combineVectorSignBitsTruncation()
47718 unsigned NumSignBits = DAG.ComputeNumSignBits(Op0); in combineSIntToFP() local
[all …]

12