Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DFixedPoint.cpp46 NewVal = NewVal.extOrTrunc(DstWidth); in convert()
65 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
66 OtherVal = OtherVal.extOrTrunc(CommonWidth); in compare()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h41 Value = Value.extOrTrunc(BitWidth); in apply()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPSInt.h92 APSInt extOrTrunc(uint32_t width) const { in extOrTrunc() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp423 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); in adjustIndex()
1483 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in adjustOffsetAndIndex()
2107 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
5936 uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue(); in VisitCastExpr()
7601 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
8503 APSInt Char1InMem = Char1.getInt().extOrTrunc(CharTy1Width); in VisitBuiltinCallExpr()
8504 APSInt Char2InMem = Char2.getInt().extOrTrunc(CharTy1Width); in VisitBuiltinCallExpr()
8710 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType)); in VisitBuiltinCallExpr()
8919 uint64_t Index64 = Index.extOrTrunc(64).getZExtValue(); in addOrSubLValueAsInteger()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp1138 rightI = rightI.extOrTrunc(leftI.getBitWidth()); in evalBinOpLN()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp1732 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth()); in CheckArrayType()
2647 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2650 = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth()); in CheckDesignatedInitializer()
2665 DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
2667 DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth); in CheckDesignatedInitializer()
H A DSemaTemplate.cpp6402 Value = Value.extOrTrunc(Context.getTypeSize(IntegerType)); in CheckTemplateArgument()
6489 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
6498 Value = Value.extOrTrunc(AllowedBits); in CheckTemplateArgument()
H A DSemaStmt.cpp734 Val = Val.extOrTrunc(BitWidth); in AdjustAPSInt()
H A DSemaChecking.cpp9982 .extOrTrunc(BitWidth); in PromotedRange()
9986 .extOrTrunc(BitWidth); in PromotedRange()
H A DSemaDecl.cpp16377 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
16854 InitVal = InitVal.extOrTrunc(NewWidth); in ActOnEnumBody()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h2640 return Res.extOrTrunc(Width); in MakeIntValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp1480 APFixedPoint::getMax(DstFPSema).getValue().extOrTrunc(ResultWidth)); in EmitFixedPointConversion()
1490 APFixedPoint::getMin(DstFPSema).getValue().extOrTrunc(ResultWidth)); in EmitFixedPointConversion()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp5028 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); in ConvertValIDToValue()