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

1 2

  /external/clang/test/CodeGen/
pascal-wchar-string.c 38 // CHECK: store volatile i32 1, i32* %isUnsigned
40 volatile int isUnsigned = (wchar_t)-1 > (wchar_t)0;
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
APSIntType.h 22 bool IsUnsigned;
26 : BitWidth(Width), IsUnsigned(Unsigned) {}
29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
32 bool isUnsigned() const { return IsUnsigned; }
42 Value.setIsUnsigned(IsUnsigned);
50 llvm::APSInt Result(Value, Value.isUnsigned());
57 return llvm::APSInt(BitWidth, IsUnsigned);
62 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned);
    [all...]
BasicValueFactory.h 79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
91 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned);
120 const llvm::APSInt& getIntValue(uint64_t X, bool isUnsigned) {
121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy;
153 inline const llvm::APSInt& getZeroWithPtrWidth(bool isUnsigned = true) {
154 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
157 inline const llvm::APSInt &getIntWithPtrWidth(uint64_t X, bool isUnsigned) {
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
SValBuilder.h 252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) {
253 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned));
263 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) {
264 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned));
267 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) {
269 BasicVals.getIntWithPtrWidth(integer, isUnsigned));
  /external/llvm/unittests/ADT/
APSIntTest.cpp 19 EXPECT_TRUE(A.isUnsigned());
23 EXPECT_FALSE(A.isUnsigned());
26 EXPECT_FALSE(C.isUnsigned());
31 EXPECT_TRUE(D.isUnsigned());
35 EXPECT_TRUE(A.isUnsigned());
40 EXPECT_TRUE(A.isUnsigned());
56 EXPECT_TRUE(APSInt::getUnsigned(7).isUnsigned());
60 EXPECT_TRUE(APSInt::getUnsigned(-7).isUnsigned());
67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned());
69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned());
    [all...]
  /external/clang/unittests/ASTMatchers/Dynamic/
VariantValueTest.cpp 26 EXPECT_TRUE(Value.isUnsigned());
43 EXPECT_FALSE(Value.isUnsigned());
51 EXPECT_FALSE(Value.isUnsigned());
81 EXPECT_FALSE(Value.isUnsigned());
87 EXPECT_FALSE(Value.isUnsigned());
95 EXPECT_TRUE(Value.isUnsigned());
103 EXPECT_FALSE(Value.isUnsigned());
  /frameworks/compile/slang/
slang_rs_export_var.h 56 inline bool isUnsigned() const { return mIsUnsigned; }
  /external/clang/lib/Lex/
PPExpressions.cpp 43 bool isUnsigned() const { return Val.isUnsigned(); }
254 Result.Val.setIsUnsigned(Literal.isUnsigned);
260 if (!Literal.isUnsigned && Result.Val.isNegative()) {
377 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue();
553 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned());
556 if (ValueLive && Res.isUnsigned()) {
557 if (!LHS.isUnsigned() && LHS.Val.isNegative())
562 if (!RHS.isUnsigned() && RHS.Val.isNegative()
    [all...]
LiteralSupport.cpp 523 isUnsigned = false;
591 if (isUnsigned) break; // Cannot be repeated.
592 isUnsigned = true;
674 isUnsigned = false;
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
BasicValueFactory.cpp 90 bool isUnsigned) {
91 llvm::APSInt V(X, isUnsigned);
96 bool isUnsigned) {
97 llvm::APSInt V(BitWidth, isUnsigned);
SVals.cpp 262 if (C.getValue().isUnsigned())
266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
SimpleConstraintManager.cpp 238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
SymbolManager.cpp 36 if (getRHS().isUnsigned())
42 if (getLHS().isUnsigned())
SimpleSValBuilder.cpp     [all...]
  /external/llvm/include/llvm/ADT/
APSInt.h 23 bool IsUnsigned;
26 explicit APSInt() : IsUnsigned(false) {}
30 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
31 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {}
33 explicit APSInt(APInt I, bool isUnsigned = true)
34 : APInt(std::move(I)), IsUnsigned(isUnsigned) {}
49 bool isSigned() const { return !IsUnsigned; }
50 bool isUnsigned() const { return IsUnsigned;
    [all...]
  /external/clang/lib/ASTMatchers/Dynamic/
VariantValue.cpp 298 bool VariantValue::isUnsigned() const {
303 assert(isUnsigned());
346 if (!isUnsigned())
Marshallers.h 70 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
  /external/clang/include/clang/Basic/
TargetBuiltins.h 122 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) {
123 if (IsUnsigned)
134 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; }
  /external/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h 265 bool isUnsigned() const;
  /external/clang/include/clang/Lex/
LiteralSupport.h 61 bool isUnsigned : 1;
  /external/llvm/include/llvm/IR/
InstrTypes.h     [all...]
  /external/deqp/modules/gles31/functional/
es31fShaderIntegerFunctionTests.cpp 142 const bool isUnsigned = glu::isDataTypeUintOrUVec(dataType);
144 if (isUnsigned)
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 74 NumOfUnsigned += CI->isUnsigned();
  /external/llvm/lib/Analysis/
InstructionSimplify.cpp     [all...]
  /external/clang/lib/Sema/
SemaChecking.cpp 610 return Flags.isUnsigned() ? Context.UnsignedCharTy : Context.SignedCharTy;
612 return Flags.isUnsigned() ? Context.UnsignedShortTy : Context.ShortTy;
614 return Flags.isUnsigned() ? Context.UnsignedIntTy : Context.IntTy;
617 return Flags.isUnsigned() ? Context.UnsignedLongTy : Context.LongTy;
619 return Flags.isUnsigned() ? Context.UnsignedLongLongTy
    [all...]

Completed in 549 milliseconds

1 2