Home
last modified time | relevance | path

Searched refs:getIntWidth (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h157 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType()
161 return APSIntType(Ctx.getIntWidth(T), T->isUnsignedFixedPointType()); in getAPSIntType()
228 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp259 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix()
263 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
301 case UnsignedInt: return getIntWidth(); in getTypeWidth()
315 if (getIntWidth() == BitWidth) in getIntTypeByWidth()
330 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp1100 TI.getIntWidth() == 32) { in InitializePredefinedMacros()
1106 TI.getIntWidth() == 32) { in InitializePredefinedMacros()
1125 Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth())); in InitializePredefinedMacros()
1154 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
1282 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
1285 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
1301 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
1307 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.cpp26 this->IntWidth = Ctx.getTargetInfo().getIntWidth(); in Context()
296 return integralTypeToPrimTypeS(Ctx.getIntWidth(T)); in classify()
298 return integralTypeToPrimTypeU(Ctx.getIntWidth(T)); in classify()
H A DContext.h76 uint32_t getBitWidth(QualType T) const { return Ctx.getIntWidth(T); } in getBitWidth()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBitwiseShiftChecker.cpp166 const unsigned LHSBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkOvershift()
238 const unsigned LeftBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkLeftShiftOverflow()
H A DBuiltinFunctionChecker.cpp40 unsigned BitWidth = ACtx.getIntWidth(T); in getSufficientTypeForOverflowOp()
152 unsigned BitWidth = C.getASTContext().getIntWidth(Res); in checkOverflow()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenOpenACC.cpp46 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCIntExpr()
H A DCIRGenStmtOpenACC.cpp195 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCWaitConstruct()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp115 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
H A DMips.cpp198 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
H A DSPIR.h123 IntWidth = HostTarget->getIntWidth(); in BaseSPIRTargetInfo()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp700 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitGotoLabel()
767 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitMemRegionVal()
944 const unsigned CastSize = Context.getIntWidth(CastTy); in VisitLocAsInteger()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp87 llvm::APInt Val(AST.getIntWidth(AST.IntTy), 4); in defineHLSLVectorAlias()
H A DSemaChecking.cpp349 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in BuiltinAlignment()
470 S.getASTContext().getIntWidth(Ty) > 128) in BuiltinOverflow()
663 llvm::APInt BitWidth(S.Context.getIntWidth(SizeT), in dumpRecordValue()
10473 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType()
10493 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
10519 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
10835 unsigned opWidth = C.getIntWidth(GetExprType(E)); in TryGetExprRange()
10876 unsigned opWidth = C.getIntWidth(T); in TryGetExprRange()
10964 return TryGetExprRange(C, E, C.getIntWidth(GetExprType(E)), InConstantContext, in TryGetExprRange()
11447 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
[all …]
H A DSemaTemplateVariadic.cpp1226 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr()
H A DSemaHLSL.cpp932 if (Ctx.getIntWidth(LElTy) != Ctx.getIntWidth(RElTy)) { in handleIntegerVectorBinOpConversion()
4053 llvm::APInt IDVal(Context.getIntWidth(Context.IntTy), ConstantID); in handleInitialization()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DMips.cpp378 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1792 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1793 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1902 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
H A DPPExpressions.cpp398 NumBits = TI.getIntWidth(); in EvaluateValue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp184 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2201 Width = Target->getIntWidth(); in getTypeInfoImpl()
5375 unsigned IntWidth = Target->getIntWidth(); in computeBestEnumTypes()
5453 unsigned BitWidth = getIntWidth(T); in isRepresentableIntegerValue()
8100 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
8105 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
8108 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
8111 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
8114 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
8117 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
8120 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
[all …]
H A DExprConstant.cpp2785 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
2870 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
3213 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp()
7650 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit()
9897 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument()
11404 APSInt EltResult{Ctx.getIntWidth(ResultTy), in handleVectorUnaryOperator()
11511 APSInt(APInt(Info.Ctx.getIntWidth(DestEltTy), Elt.popcount()), in VisitCallExpr()
12049 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
12061 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
12220 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h530 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h3247 unsigned getIntWidth(QualType T) const;
3290 unsigned Width = getIntWidth(Type); in MakeIntValue()

12