reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/AsmParser/LLParser.cpp
 5164     ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits());
tools/clang/include/clang/AST/ASTContext.h
 2690       return Res.extOrTrunc(Width);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
   40     Value = Value.extOrTrunc(BitWidth);
tools/clang/lib/AST/ExprConstant.cpp
  446       uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue();
 1610       uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
 2373   APSInt Result = Value.extOrTrunc(DestWidth);
 8010       uint64_t N = Value.getInt().extOrTrunc(Size).getZExtValue();
 9914         Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType()));
10847         APSInt Char1InMem = Char1.getInt().extOrTrunc(CharTy1Width);
10848         APSInt Char2InMem = Char2.getInt().extOrTrunc(CharTy1Width);
11003       LHS = APSInt(LHS.extOrTrunc(MaxBits), !IsSigned);
11004       RHS = APSInt(RHS.extOrTrunc(MaxBits), !IsSigned);
11054       APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType));
11263   uint64_t Index64 = Index.extOrTrunc(64).getZExtValue();
tools/clang/lib/Basic/FixedPoint.cpp
   58   NewVal = NewVal.extOrTrunc(DstWidth);
   77   ThisVal = ThisVal.extOrTrunc(CommonWidth);
   78   OtherVal = OtherVal.extOrTrunc(CommonWidth);
  247   return Result.extOrTrunc(DstWidth);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1479           APFixedPoint::getMax(DstFPSema).getValue().extOrTrunc(ResultWidth));
 1489           APFixedPoint::getMin(DstFPSema).getValue().extOrTrunc(ResultWidth));
tools/clang/lib/Sema/SemaChecking.cpp
  426     ObjectSize = llvm::APSInt::getUnsigned(Result).extOrTrunc(SizeTypeWidth);
10534                         .extOrTrunc(BitWidth);
10538                         .extOrTrunc(BitWidth);
tools/clang/lib/Sema/SemaDecl.cpp
17062     EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy));
17539     InitVal = InitVal.extOrTrunc(NewWidth);
tools/clang/lib/Sema/SemaInit.cpp
 1871     elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
 2824       = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth());
 2827       = DesignatedEndIndex.extOrTrunc(MaxElements.getBitWidth());
 2842       DesignatedStartIndex.extOrTrunc(DesignatedIndexBitWidth);
 2844       DesignatedEndIndex.extOrTrunc(DesignatedIndexBitWidth);
tools/clang/lib/Sema/SemaStmt.cpp
  756   Val = Val.extOrTrunc(BitWidth);
tools/clang/lib/Sema/SemaTemplate.cpp
 6598       Value = Value.extOrTrunc(Context.getTypeSize(IntegerType));
 6685         Value = Value.extOrTrunc(AllowedBits);
 6694         Value = Value.extOrTrunc(AllowedBits);
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
 1145       rightI = rightI.extOrTrunc(leftI.getBitWidth());
tools/clang/unittests/Basic/FixedPointTest.cpp
  608   ASSERT_EQ(UFixed.getValue(), APSInt::getUnsigned(255 << 8).extOrTrunc(16));