/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 525 unsigned NewWidth = std::max<unsigned>( in processUDivOrURem() local 529 if (NewWidth >= OrigWidth) in processUDivOrURem() 533 auto *TruncTy = Type::getIntNTy(Instr->getContext(), NewWidth); in processUDivOrURem()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1649 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD() local 1650 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) return 0; in ProcessUGT_ADDCST_ADD() 1653 ++NewWidth; in ProcessUGT_ADDCST_ADD() 1656 if (CI1->getBitWidth() == NewWidth || in ProcessUGT_ADDCST_ADD() 1657 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 1676 TI->getType()->getPrimitiveSizeInBits() > NewWidth) return 0; in ProcessUGT_ADDCST_ADD() 1684 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 331 unsigned NewWidth = V->getType()->getPrimitiveSizeInBits(); in GetLinearExpression() local 340 unsigned ExtendedBy = NewWidth - SmallWidth; in GetLinearExpression() 349 Offset = Offset.trunc(SmallWidth).sext(NewWidth).zextOrSelf(OldWidth); in GetLinearExpression()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1252 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in processUGT_ADDCST_ADD() local 1253 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) in processUGT_ADDCST_ADD() 1257 ++NewWidth; in processUGT_ADDCST_ADD() 1260 if (CI1->getBitWidth() == NewWidth || in processUGT_ADDCST_ADD() 1261 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 1267 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in processUGT_ADDCST_ADD() 1287 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in processUGT_ADDCST_ADD() 1294 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in processUGT_ADDCST_ADD()
|
D | InstructionCombining.cpp | 2379 unsigned NewWidth = Known.getBitWidth() - std::max(LeadingKnownZeros, LeadingKnownOnes); in visitSwitchInst() local 2384 if (NewWidth > 0 && NewWidth < Known.getBitWidth()) { in visitSwitchInst() 2385 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth); in visitSwitchInst() 2391 APInt TruncatedCase = Case.getCaseValue()->getValue().trunc(NewWidth); in visitSwitchInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 6405 unsigned NewWidth, unsigned *pNewMask = nullptr) { in AdjustBlendMask() argument 6406 assert(((OldWidth % NewWidth) == 0 || (NewWidth % OldWidth) == 0) && in AdjustBlendMask() 6410 if ((OldWidth % NewWidth) == 0) { in AdjustBlendMask() 6411 unsigned Scale = OldWidth / NewWidth; in AdjustBlendMask() 6413 for (unsigned i = 0; i != NewWidth; ++i) { in AdjustBlendMask() 6421 unsigned Scale = NewWidth / OldWidth; in AdjustBlendMask()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 1206 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeOp() local 1207 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeOp()
|
/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-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 728 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local 729 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 9051 unsigned NewWidth, bool NewSign,
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 5850 unsigned NewWidth = (NumElems == 4) ? 2 : 4; in RewriteAsNarrowerShuffle() local 5860 int Scale = NumElems / NewWidth; in RewriteAsNarrowerShuffle()
|