Searched refs:NewWidth (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 635 unsigned NewWidth = std::max<unsigned>( in processUDivOrURem() local 639 if (NewWidth >= OrigWidth) in processUDivOrURem() 644 auto *TruncTy = Type::getIntNTy(Instr->getContext(), NewWidth); in processUDivOrURem()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2671 unsigned NewWidth = Known.getBitWidth() - std::max(LeadingKnownZeros, LeadingKnownOnes); in visitSwitchInst() local 2677 if (NewWidth > 0 && NewWidth < Known.getBitWidth() && in visitSwitchInst() 2678 shouldChangeType(Known.getBitWidth(), NewWidth)) { in visitSwitchInst() 2679 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth); in visitSwitchInst() 2685 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
D | InstCombineCompares.cpp | 1272 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD() local 1273 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) in processUGT_ADDCST_ADD() 1277 ++NewWidth; in processUGT_ADDCST_ADD() 1280 if (CI1->getBitWidth() == NewWidth || in processUGT_ADDCST_ADD() 1281 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 1287 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in processUGT_ADDCST_ADD() 1307 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in processUGT_ADDCST_ADD() 1314 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in processUGT_ADDCST_ADD()
|
D | InstCombineCalls.cpp | 3890 unsigned NewWidth = Width; in visitCallInst() local 3897 NewWidth = 16; in visitCallInst() 3899 NewWidth = 32; in visitCallInst() 3901 NewWidth = 64; in visitCallInst() 3905 if (Width != NewWidth) { in visitCallInst() 3906 IntegerType *CmpTy = Builder.getIntNTy(NewWidth); in visitCallInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 379 unsigned NewWidth = V->getType()->getPrimitiveSizeInBits(); in GetLinearExpression() local 388 unsigned ExtendedBy = NewWidth - SmallWidth; in GetLinearExpression() 397 Offset = Offset.trunc(SmallWidth).sext(NewWidth).zextOrSelf(OldWidth); in GetLinearExpression()
|
D | ScalarEvolution.cpp | 8524 unsigned NewWidth = BitWidth + 1; in GetQuadraticEquation() local 8529 N = N.sext(NewWidth); in GetQuadraticEquation() 8530 M = M.sext(NewWidth); in GetQuadraticEquation() 8531 L = L.sext(NewWidth); in GetQuadraticEquation() 8546 APInt T = APInt(NewWidth, 2); in GetQuadraticEquation() 8548 << "x + " << C << ", coeff bw: " << NewWidth in GetQuadraticEquation()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 6559 unsigned NewWidth, unsigned *pNewMask = nullptr) { in AdjustBlendMask() argument 6560 assert(((OldWidth % NewWidth) == 0 || (NewWidth % OldWidth) == 0) && in AdjustBlendMask() 6564 if ((OldWidth % NewWidth) == 0) { in AdjustBlendMask() 6565 unsigned Scale = OldWidth / NewWidth; in AdjustBlendMask() 6567 for (unsigned i = 0; i != NewWidth; ++i) { in AdjustBlendMask() 6575 unsigned Scale = NewWidth / OldWidth; in AdjustBlendMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 741 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local 742 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
|