Home
last modified time | relevance | path

Searched refs:NewBitWidth (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h659 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() local
660 LHS = (*doCast)(Solver, LHS, NewTy, NewBitWidth, LTy, LBitWidth); in doIntTypeConversion()
662 LBitWidth = NewBitWidth; in doIntTypeConversion()
666 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() local
667 RHS = (*doCast)(Solver, RHS, NewTy, NewBitWidth, RTy, RBitWidth); in doIntTypeConversion()
669 RBitWidth = NewBitWidth; in doIntTypeConversion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h625 Type *Type::getWithNewBitWidth(unsigned NewBitWidth) const { in getWithNewBitWidth() argument
629 Type *NewType = getIntNTy(getContext(), NewBitWidth); in getWithNewBitWidth()
DType.h388 inline Type *getWithNewBitWidth(unsigned NewBitWidth) const;
/external/llvm-project/llvm/include/llvm/IR/
DDerivedTypes.h707 Type *Type::getWithNewBitWidth(unsigned NewBitWidth) const { in getWithNewBitWidth() argument
711 Type *NewType = getIntNTy(getContext(), NewBitWidth); in getWithNewBitWidth()
DType.h377 inline Type *getWithNewBitWidth(unsigned NewBitWidth) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2175 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat() local
2178 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
2187 Type *NewTy = Ty->getWithNewBitWidth(NewBitWidth); in matchSAddSubSat()
2195 if (A->getType()->getScalarSizeInBits() > NewBitWidth || in matchSAddSubSat()
2196 B->getType()->getScalarSizeInBits() > NewBitWidth) in matchSAddSubSat()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2220 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat() local
2223 if (!shouldChangeType(Ty->getScalarType()->getIntegerBitWidth(), NewBitWidth)) in matchSAddSubSat()
2232 Type *NewTy = Ty->getWithNewBitWidth(NewBitWidth); in matchSAddSubSat()
2240 if (A->getType()->getScalarSizeInBits() > NewBitWidth || in matchSAddSubSat()
2241 B->getType()->getScalarSizeInBits() > NewBitWidth) in matchSAddSubSat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp124 void APInt::reallocate(unsigned NewBitWidth) { in reallocate() argument
126 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
127 BitWidth = NewBitWidth; in reallocate()
136 BitWidth = NewBitWidth; in reallocate()
/external/llvm-project/llvm/lib/Support/
DAPInt.cpp124 void APInt::reallocate(unsigned NewBitWidth) { in reallocate() argument
126 if (getNumWords() == getNumWords(NewBitWidth)) { in reallocate()
127 BitWidth = NewBitWidth; in reallocate()
136 BitWidth = NewBitWidth; in reallocate()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h170 void reallocate(unsigned NewBitWidth);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h169 void reallocate(unsigned NewBitWidth);
/external/clang/lib/AST/
DExprConstant.cpp1722 unsigned NewBitWidth = FD->getBitWidthValue(Info.Ctx); in truncateBitfieldValue() local
1723 if (NewBitWidth < OldBitWidth) in truncateBitfieldValue()
1724 Int = Int.trunc(NewBitWidth).extend(OldBitWidth); in truncateBitfieldValue()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp2645 unsigned NewBitWidth = FD->getBitWidthValue(Info.Ctx); in truncateBitfieldValue() local
2646 if (NewBitWidth < OldBitWidth) in truncateBitfieldValue()
2647 Int = Int.trunc(NewBitWidth).extend(OldBitWidth); in truncateBitfieldValue()