Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1920 unsigned NewWidth = CI2->getValue().countTrailingZeros(); in ProcessUGT_ADDCST_ADD() local
1921 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) return nullptr; in ProcessUGT_ADDCST_ADD()
1924 ++NewWidth; in ProcessUGT_ADDCST_ADD()
1927 if (CI1->getBitWidth() == NewWidth || in ProcessUGT_ADDCST_ADD()
1928 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD()
1934 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1; in ProcessUGT_ADDCST_ADD()
1953 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in ProcessUGT_ADDCST_ADD()
1962 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth); in ProcessUGT_ADDCST_ADD()
DInstCombineCalls.cpp703 unsigned NewStart, NewWidth; in visitCallInst() local
707 NewWidth = std::max(End, SourceEnd) - NewStart; in visitCallInst()
711 NewWidth = std::max(SourceEnd, End) - NewStart; in visitCallInst()
717 II->getArgOperand(2)->getType(), NewWidth, false); in visitCallInst()
/external/clang/lib/Sema/
DSemaStmt.cpp482 unsigned NewWidth, bool NewSign, in ConvertIntegerToTypeWarnOnOverflow() argument
486 if (NewWidth > Val.getBitWidth()) { in ConvertIntegerToTypeWarnOnOverflow()
488 Val = Val.extend(NewWidth); in ConvertIntegerToTypeWarnOnOverflow()
495 } else if (NewWidth < Val.getBitWidth()) { in ConvertIntegerToTypeWarnOnOverflow()
498 ConvVal = ConvVal.trunc(NewWidth); in ConvertIntegerToTypeWarnOnOverflow()
507 Val = Val.trunc(NewWidth); in ConvertIntegerToTypeWarnOnOverflow()
DSemaDecl.cpp13264 unsigned NewWidth; in ActOnEnumBody() local
13270 NewWidth = IntWidth; in ActOnEnumBody()
13282 NewWidth = BestWidth; in ActOnEnumBody()
13287 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp955 unsigned NewWidth = SrcVT.getStoreSizeInBits(); in LegalizeLoadOps() local
956 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth); in LegalizeLoadOps()
/external/clang/include/clang/Sema/
DSema.h7971 unsigned NewWidth, bool NewSign,