Home
last modified time | relevance | path

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

/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h196 unsigned NumSignBits : 31; member
200 LiveOutInfo() : NumSignBits(0), IsValid(true) {} in LiveOutInfo()
273 void AddLiveOutRegInfo(unsigned Reg, unsigned NumSignBits, in AddLiveOutRegInfo() argument
276 if (NumSignBits == 1 && Known.isUnknown()) in AddLiveOutRegInfo()
281 LOI.NumSignBits = NumSignBits; in AddLiveOutRegInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp402 LOI->NumSignBits = 1; in GetLiveOutRegInfo()
435 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
442 DestLOI.NumSignBits = Val.getNumSignBits(); in ComputePHILiveOutRegInfo()
468 DestLOI.NumSignBits = 1; in ComputePHILiveOutRegInfo()
475 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, Val.getNumSignBits()); in ComputePHILiveOutRegInfo()
493 DestLOI.NumSignBits = std::min(DestLOI.NumSignBits, SrcLOI->NumSignBits); in ComputePHILiveOutRegInfo()
DSelectionDAGISel.cpp704 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo() local
706 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, Known); in ComputeLiveOutVRegInfo()
DSelectionDAGBuilder.cpp822 unsigned NumSignBits = LOI->NumSignBits; in getCopyFromRegs() local
840 } else if (NumSignBits > 1) { in getCopyFromRegs()
842 EVT::getIntegerVT(*DAG.getContext(), RegSize - NumSignBits + 1); in getCopyFromRegs()
DDAGCombiner.cpp2246 unsigned NumSignBits = DAG.ComputeNumSignBits(AndOp0); in visitADDLike() local
2251 if (NumSignBits == DestBits && in visitADDLike()
8390 unsigned NumSignBits = DAG.ComputeNumSignBits(Op); in visitSIGN_EXTEND() local
8395 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
8400 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
8405 if (NumSignBits > OpBits-MidBits) in visitSIGN_EXTEND()
/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-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp135 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType() local
137 MaxBitWidth = NumTypeBits - NumSignBits; in computeRecurrenceType()
/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-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1372 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst() local
1373 if (NumSignBits == Op0->getType()->getScalarSizeInBits()) in SimplifyAShrInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp4474 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, nullptr, DT); in computeMinimumValueSizes() local
4476 MaxBitWidth = std::max<unsigned>(NumTypeBits - NumSignBits, MaxBitWidth); in computeMinimumValueSizes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp34310 unsigned NumSignBits = DAG.ComputeNumSignBits(N00); in combineVectorShiftImm() local
34311 if (ShiftVal.ult(NumSignBits)) in combineVectorShiftImm()
36712 unsigned NumSignBits = DAG.ComputeNumSignBits(In); in combineVectorSignBitsTruncation() local
36713 if (NumSignBits > (InSVT.getSizeInBits() - NumPackedSignBits)) in combineVectorSignBitsTruncation()
38449 unsigned NumSignBits = DAG.ComputeNumSignBits(Op0); in combineSIntToFP() local
38450 if (NumSignBits >= (BitWidth - 31)) { in combineSIntToFP()