Home
last modified time | relevance | path

Searched refs:NewWidth (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp525 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/
DInstCombineCompares.cpp1649 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/
DInstCombineCompares.cpp2510 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()
DInstructionCombining.cpp2187 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/
DBasicAliasAnalysis.cpp271 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/
DBasicAliasAnalysis.cpp331 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/
DInstCombineCompares.cpp1252 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()
DInstructionCombining.cpp2379 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/
DX86InstrInfo.cpp6405 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/
DLegalizeDAG.cpp1206 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeOp() local
1207 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeOp()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp697 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local
698 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
/external/clang/lib/Sema/
DSemaDecl.cpp14944 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/
DLegalizeDAG.cpp728 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local
729 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
/external/clang/include/clang/Sema/
DSema.h9051 unsigned NewWidth, bool NewSign,
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp5850 unsigned NewWidth = (NumElems == 4) ? 2 : 4; in RewriteAsNarrowerShuffle() local
5860 int Scale = NumElems / NewWidth; in RewriteAsNarrowerShuffle()