/external/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()
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 271 unsigned NewWidth = V->getType()->getPrimitiveSizeInBits(); in GetLinearExpression() local 280 unsigned ExtendedBy = NewWidth - SmallWidth; in GetLinearExpression() 289 Offset = Offset.trunc(SmallWidth).sext(NewWidth).zextOrSelf(OldWidth); in GetLinearExpression()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2510 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD() local 2511 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) return nullptr; in ProcessUGT_ADDCST_ADD() 2514 ++NewWidth; in ProcessUGT_ADDCST_ADD() 2517 if (CI1->getBitWidth() == NewWidth || in ProcessUGT_ADDCST_ADD() 2518 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 2524 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in ProcessUGT_ADDCST_ADD() 2543 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in ProcessUGT_ADDCST_ADD() 2550 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()
|
D | InstructionCombining.cpp | 2187 unsigned NewWidth = BitWidth - std::max(LeadingKnownZeros, LeadingKnownOnes); in visitSwitchInst() local 2193 if (NewWidth > 0 && NewWidth < BitWidth) { in visitSwitchInst() 2195 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth); in visitSwitchInst() 2202 SI.getContext(), C.getCaseValue()->getValue().trunc(NewWidth))); in visitSwitchInst()
|
/external/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()
|
/external/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()
|
/external/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()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 697 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local 698 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 14944 unsigned NewWidth; in ActOnEnumBody() local 14950 NewWidth = IntWidth; in ActOnEnumBody() 14962 NewWidth = BestWidth; in ActOnEnumBody() 14967 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
|
/external/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()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9051 unsigned NewWidth, bool NewSign,
|