/external/llvm/include/llvm/CodeGen/ |
D | FunctionLoweringInfo.h | 173 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/ |
D | FunctionLoweringInfo.h | 156 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/ |
D | FunctionLoweringInfo.h | 159 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/ |
D | FunctionLoweringInfo.cpp | 409 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()
|
D | SelectionDAGISel.cpp | 770 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local 772 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, Known); in ComputeLiveOutVRegInfo()
|
D | SelectionDAGBuilder.cpp | 850 unsigned NumSignBits = LOI->NumSignBits; in getCopyFromRegs() local 868 } else if (NumSignBits > 1) { in getCopyFromRegs() 870 EVT::getIntegerVT(*DAG.getContext(), RegSize - NumSignBits + 1); in getCopyFromRegs()
|
D | TargetLowering.cpp | 1605 unsigned NumSignBits = TLO.DAG.ComputeNumSignBits(Op0); in SimplifyDemandedBits() local 1606 bool AlreadySignExtended = NumSignBits >= BitWidth - ExVTBits + 1; in SimplifyDemandedBits()
|
D | DAGCombiner.cpp | 9634 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/ |
D | FunctionLoweringInfo.cpp | 420 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()
|
D | TargetLowering.cpp | 746 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()
|
D | SelectionDAGISel.cpp | 744 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local 746 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, Known); in ComputeLiveOutVRegInfo()
|
D | SelectionDAGBuilder.cpp | 835 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/ |
D | FunctionLoweringInfo.cpp | 411 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()
|
D | SelectionDAGISel.cpp | 717 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local 719 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne); in ComputeLiveOutVRegInfo()
|
D | SelectionDAGBuilder.cpp | 684 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()
|
D | DAGCombiner.cpp | 1746 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/ |
D | IVDescriptors.cpp | 133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType() local 135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
|
D | InstructionSimplify.cpp | 1400 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/ |
D | IVDescriptors.cpp | 133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType() local 135 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
|
D | InstructionSimplify.cpp | 1395 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/ |
D | SLPVectorizer.cpp | 3403 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/ |
D | InstructionSimplify.cpp | 1443 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/ |
D | SLPVectorizer.cpp | 5489 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/ |
D | SLPVectorizer.cpp | 5772 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/ |
D | X86ISelLowering.cpp | 38267 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 …]
|