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

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1920 unsigned NewWidth = CI2->getValue().countTrailingZeros(); local
1921 if (NewWidth != 7 && NewWidth != 15 && NewWidth != 31) return nullptr;
1924 ++NewWidth;
1926 // Check to see that CI1 is an all-ones value with NewWidth bits.
1927 if (CI1->getBitWidth() == NewWidth ||
1928 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth))
1934 unsigned NeededSignBits = CI1->getBitWidth() - NewWidth + 1;
1953 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth)
[all...]
H A DInstCombineCalls.cpp703 unsigned NewStart, NewWidth; local
707 NewWidth = std::max(End, SourceEnd) - NewStart;
711 NewWidth = std::max(SourceEnd, End) - NewStart;
717 II->getArgOperand(2)->getType(), NewWidth, false);
/external/clang/lib/Sema/
H A DSemaStmt.cpp482 unsigned NewWidth, bool NewSign,
486 if (NewWidth > Val.getBitWidth()) {
488 Val = Val.extend(NewWidth);
495 } else if (NewWidth < Val.getBitWidth()) {
498 ConvVal = ConvVal.trunc(NewWidth);
507 Val = Val.trunc(NewWidth);
481 ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &Val, unsigned NewWidth, bool NewSign, SourceLocation Loc, unsigned DiagID) argument
H A DSemaDecl.cpp13264 unsigned NewWidth; local
13270 NewWidth = IntWidth;
13282 NewWidth = BestWidth;
13287 InitVal = InitVal.extOrTrunc(NewWidth);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp955 unsigned NewWidth = SrcVT.getStoreSizeInBits();
956 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), NewWidth);
/external/clang/include/clang/Sema/
H A DSema.h7971 unsigned NewWidth, bool NewSign,

Completed in 128 milliseconds