HomeSort by relevance Sort by last modified time
    Searched refs:APSInt (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/clang/test/SemaCXX/
unused.cpp 6 class APSInt : public APInt {
9 APSInt &operator=(const APSInt &RHS);
12 APSInt& APSInt::operator=(const APSInt &RHS) {
  /external/llvm/include/llvm/ADT/
APSInt.h 1 //===-- llvm/ADT/APSInt.h - Arbitrary Precision Signed Int -----*- C++ -*--===//
10 // This file implements the APSInt class, which is a simple class that
22 class APSInt : public APInt {
26 explicit APSInt() {}
28 /// APSInt ctor - Create an APSInt with the specified width, default to
30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
33 explicit APSInt(const APInt &I, bool isUnsigned = true)
36 APSInt &operator=(const APSInt &RHS)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
SimpleConstraintManager.h 46 const llvm::APSInt& Int);
57 const llvm::APSInt& V,
58 const llvm::APSInt& Adjustment) = 0;
61 const llvm::APSInt& V,
62 const llvm::APSInt& Adjustment) = 0;
65 const llvm::APSInt& V,
66 const llvm::APSInt& Adjustment) = 0;
69 const llvm::APSInt& V,
70 const llvm::APSInt& Adjustment) = 0;
73 const llvm::APSInt& V
    [all...]
BasicConstraintManager.cpp 29 typedef llvm::ImmutableMap<SymbolRef,const llvm::APSInt*> ConstEqTy;
60 const llvm::APSInt& V,
61 const llvm::APSInt& Adjustment);
64 const llvm::APSInt& V,
65 const llvm::APSInt& Adjustment);
68 const llvm::APSInt& V,
69 const llvm::APSInt& Adjustment);
72 const llvm::APSInt& V,
73 const llvm::APSInt& Adjustment);
76 const llvm::APSInt& V
    [all...]
RangeConstraintManager.cpp 34 class Range : public std::pair<const llvm::APSInt*,
35 const llvm::APSInt*> {
37 Range(const llvm::APSInt &from, const llvm::APSInt &to)
38 : std::pair<const llvm::APSInt*, const llvm::APSInt*>(&from, &to) {
41 bool Includes(const llvm::APSInt &v) const {
44 const llvm::APSInt &From() const {
47 const llvm::APSInt &To() const {
50 const llvm::APSInt *getConcreteValue() const
    [all...]
BasicValueFactory.cpp 11 // of APSInt objects and symbolic constraints used by ExprEngine
62 // so we iterate over the set and invoke the dstor for each APSInt. This
65 I->getValue().~APSInt();
71 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APSInt& X) {
74 typedef llvm::FoldingSetNodeWrapper<llvm::APSInt> FoldNodeTy;
88 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APInt& X,
90 llvm::APSInt V(X, isUnsigned);
94 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth,
96 llvm::APSInt V(BitWidth, isUnsigned)
    [all...]
SimpleConstraintManager.cpp 93 const llvm::APSInt &zero = BasicVals.getZeroWithPtrWidth();
161 const llvm::APSInt &zero = BasicVals.getValue(0, T);
181 const llvm::APSInt &zero = BasicVals.getValue(0, T);
208 const llvm::APSInt& Int) {
219 llvm::APSInt Adjustment;
273 llvm::APSInt ConvertedInt(Int, isSymUnsigned);
SimpleSValBuilder.cpp 43 virtual const llvm::APSInt *getKnownValue(const GRState *state, SVal V);
46 const llvm::APSInt &RHS, QualType resultTy);
99 llvm::APSInt i = cast<nonloc::ConcreteInt>(val).getValue();
132 llvm::APSInt i = cast<loc::ConcreteInt>(val).getValue();
200 const llvm::APSInt &RHS,
253 const llvm::APSInt &Result = BasicVals.Convert(resultTy, RHS);
311 llvm::APSInt i = cast<nonloc::ConcreteInt>(rhs).getValue();
399 const llvm::APSInt &first =
401 const llvm::APSInt &second =
403 const llvm::APSInt *newRHS
    [all...]
SVals.cpp 23 using llvm::APSInt;
229 const llvm::APSInt* X =
259 const llvm::APSInt* X = BasicVals.evalAPSInt(Op, getValue(), R.getValue());
  /external/llvm/lib/Support/
APSInt.cpp 1 //===-- llvm/ADT/APSInt.cpp - Arbitrary Precision Signed Int ---*- C++ -*--===//
10 // This file implements the APSInt class, which is a simple class that
15 #include "llvm/ADT/APSInt.h"
20 void APSInt::Profile(FoldingSetNodeID& ID) const {
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
BasicValueFactory.h 11 // of APSInt objects and symbolic constraints used by ExprEngine
23 #include "llvm/ADT/APSInt.h"
68 typedef llvm::FoldingSet<llvm::FoldingSetNodeWrapper<llvm::APSInt> >
91 const llvm::APSInt& getValue(const llvm::APSInt& X);
92 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned);
93 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
94 const llvm::APSInt& getValue(uint64_t X, QualType T);
96 /// Convert - Create a new persistent APSInt with the same value as 'From'
98 const llvm::APSInt &Convert(const llvm::APSInt& To
    [all...]
ConstraintManager.h 21 class APSInt;
45 virtual const llvm::APSInt* getSymVal(const GRState *state,
49 const llvm::APSInt& V) const = 0;
SValBuilder.h 34 /// Manager of APSInt values.
86 virtual const llvm::APSInt *getKnownValue(const GRState *state, SVal val) = 0;
182 nonloc::ConcreteInt makeIntVal(const llvm::APSInt& integer) {
186 loc::ConcreteInt makeIntLocVal(const llvm::APSInt &integer) {
220 const llvm::APSInt& rhs, QualType type);
249 Loc makeLoc(const llvm::APSInt& integer) {
SVals.h 320 explicit ConcreteInt(const llvm::APSInt& V) : NonLoc(ConcreteIntKind, &V) {}
322 const llvm::APSInt& getValue() const {
323 return *static_cast<const llvm::APSInt*>(Data);
487 explicit ConcreteInt(const llvm::APSInt& V) : Loc(ConcreteIntKind, &V) {}
489 const llvm::APSInt& getValue() const {
490 return *static_cast<const llvm::APSInt*>(Data);
SymbolManager.h 276 const llvm::APSInt& RHS;
281 const llvm::APSInt& rhs, QualType t)
293 const llvm::APSInt &getRHS() const { return RHS; }
296 BinaryOperator::Opcode op, const llvm::APSInt& rhs,
395 const llvm::APSInt& rhs, QualType t);
398 const llvm::APSInt& rhs, QualType t) {
  /external/clang/unittests/AST/
APValueTest.cpp 59 EXPECT_EQ("5", GetDiagnosticOutput(APValue(APSInt(APInt(16, 5)))));
64 GetDiagnosticOutput(APValue(APSInt(APInt(16, 3)),
65 APSInt(APInt(16, 4)))));
71 APValue(APSInt(APInt(16, 3))),
72 APValue(APSInt(APInt(16, 4))),
73 APValue(APSInt(APInt(16, 5)))
  /external/clang/include/clang/AST/
APValue.h 1 //===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
17 #include "llvm/ADT/APSInt.h"
26 /// [APSInt] [APFloat], [Complex APSInt] [Complex APFloat], [Expr + Offset].
28 typedef llvm::APSInt APSInt;
44 APSInt Real, Imag;
71 explicit APValue(const APSInt &I) : Kind(Uninitialized) {
80 APValue(const APSInt &R, const APSInt &I) : Kind(Uninitialized)
    [all...]
TemplateBase.h 18 #include "llvm/ADT/APSInt.h"
52 /// The template argument is an integral value stored in an llvm::APSInt
76 char Value[sizeof(llvm::APSInt)];
109 TemplateArgument(const llvm::APSInt &Value, QualType Type) : Kind(Integral) {
112 new (Integer.Value) llvm::APSInt(Value);
174 new (Integer.Value) llvm::APSInt(*Other.getAsIntegral());
187 using llvm::APSInt;
198 getAsIntegral()->~APSInt();
203 new (Integer.Value) llvm::APSInt(*Other.getAsIntegral());
219 using llvm::APSInt;
    [all...]
  /external/clang/lib/AST/
TemplateBase.cpp 38 const llvm::APSInt *Val = TemplArg.getAsIntegral();
APValue.cpp 1 //===--- APValue.cpp - Union class for APFloat/APSInt/Complex -------------===//
66 ((APSInt*)(char*)Data)->~APSInt();
  /external/llvm/lib/AsmParser/
LLLexer.h 18 #include "llvm/ADT/APSInt.h"
43 APSInt APSIntVal;
61 const APSInt &getAPSIntVal() const { return APSIntVal; }
  /frameworks/compile/slang/
slang_rs_export_var.cpp 21 #include "llvm/ADT/APSInt.h"
50 mInit.Val = clang::APValue(llvm::APSInt(1));
  /external/clang/lib/Lex/
PPExpressions.cpp 25 #include "llvm/ADT/APSInt.h"
35 llvm::APSInt Val;
262 llvm::APSInt Val(NumBits);
493 llvm::APSInt Res(LHS.getBitWidth());
537 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false);
549 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false);
562 Res = llvm::APSInt(LHS.Val.sshl_ov(ShAmt, Overflow), false);
578 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false);
584 Res = llvm::APSInt(LHS.Val.ssub_ov(RHS.Val, Overflow), false);
  /external/clang/lib/StaticAnalyzer/Checkers/
CastSizeChecker.cpp 58 const llvm::APSInt *extentInt = svalBuilder.getKnownValue(state, extent);
  /external/clang/lib/Sema/
SemaStmt.cpp 322 void Sema::ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &Val,
338 llvm::APSInt ConvVal(Val);
356 llvm::APSInt OldVal(Val);
363 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
364 const llvm::APSInt &RHS) {
367 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
368 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
371 bool operator()(const llvm::APSInt &LHS,
372 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
380 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs
    [all...]

Completed in 122 milliseconds

1 2 3 4