Searched refs:isUnsigned (Results 1 - 25 of 43) sorted by relevance

12

/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp19 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());
/external/clang/test/CodeGen/
H A Dpascal-wchar-string.c38 // CHECK: store volatile i32 1, i32* %isUnsigned
40 volatile int isUnsigned = (wchar_t)-1 > (wchar_t)0; local
/external/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp26 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());
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h29 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {}
32 bool isUnsigned() const { return IsUnsigned; } function in class:clang::ento::APSIntType
50 llvm::APSInt Result(Value, Value.isUnsigned());
H A DBasicValueFactory.h79 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) { argument
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) { argument
158 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
H A DSValBuilder.h252 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { argument
253 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned));
263 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { argument
264 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned));
267 NonLoc makeIntValWithPtrWidth(uint64_t integer, bool isUnsigned) { argument
269 BasicVals.getIntWithPtrWidth(integer, isUnsigned));
/external/clang/lib/Lex/
H A DPPExpressions.cpp43 bool isUnsigned() const { return Val.isUnsigned(); } function in class:__anon17946::PPValue
252 Result.Val.setIsUnsigned(Literal.isUnsigned);
258 if (!Literal.isUnsigned && Result.Val.isNegative()) {
372 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue();
548 Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned());
551 if (ValueLive && Res.isUnsigned()) {
552 if (!LHS.isUnsigned() && LHS.Val.isNegative())
557 if (!RHS.isUnsigned()
[all...]
H A DLiteralSupport.cpp521 isUnsigned = false;
589 if (isUnsigned) break; // Cannot be repeated.
590 isUnsigned = true;
680 isUnsigned = false;
/external/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp90 bool isUnsigned) {
91 llvm::APSInt V(X, isUnsigned);
96 bool isUnsigned) {
97 llvm::APSInt V(BitWidth, isUnsigned);
89 getValue(const llvm::APInt& X, bool isUnsigned) argument
95 getValue(uint64_t X, unsigned BitWidth, bool isUnsigned) argument
H A DSVals.cpp262 if (C.getValue().isUnsigned())
266 os << ' ' << (C.getValue().isUnsigned() ? 'U' : 'S')
H A DSimpleConstraintManager.cpp238 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned())
H A DSymbolManager.cpp36 if (getRHS().isUnsigned())
42 if (getLHS().isUnsigned())
H A DSimpleSValBuilder.cpp873 assert(leftI.isUnsigned());
874 llvm::APSInt rightI(rhsInt->getValue(), /* isUnsigned */ true);
881 llvm::APSInt Multiplicand(rightI.getBitWidth(), /* isUnsigned */ true);
/external/llvm/include/llvm/ADT/
H A DAPSInt.h30 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) {}
50 bool isUnsigned() const { return IsUnsigned; } function in class:llvm::APSInt
/external/clang/include/clang/Basic/
H A DTargetBuiltins.h134 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } function in class:clang::NeonTypeFlags
/external/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp209 bool VariantValue::isUnsigned() const { function in class:clang::ast_matchers::dynamic::VariantValue
214 assert(isUnsigned());
H A DMarshallers.h110 static bool is(const VariantValue &Value) { return Value.isUnsigned(); }
/external/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h217 bool isUnsigned() const;
/external/clang/include/clang/Lex/
H A DLiteralSupport.h61 bool isUnsigned; member in class:clang::NumericLiteralParser
/external/llvm/include/llvm/IR/
H A DInstrTypes.h791 bool isUnsigned() const { function in class:llvm::CmpInst
792 return isUnsigned(getPredicate());
809 static bool isUnsigned(unsigned short predicate);
/external/clang/lib/Sema/
H A DSemaChecking.cpp391 return Flags.isUnsigned() ? Context.UnsignedCharTy : Context.SignedCharTy;
393 return Flags.isUnsigned() ? Context.UnsignedShortTy : Context.ShortTy;
395 return Flags.isUnsigned() ? Context.UnsignedIntTy : Context.IntTy;
398 return Flags.isUnsigned() ? Context.UnsignedLongTy : Context.LongTy;
400 return Flags.isUnsigned() ? Context.UnsignedLongLongTy
5476 if (Value.isUnsigned() || Value.isNonNegative()) {
7111 if (index.isUnsigned() || !index.isNegative()) {
H A DSemaInit.cpp1387 elementIndex.isUnsigned());
1392 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1420 elementIndex.setIsUnsigned(maxElements.isUnsigned());
1451 llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
2191 DesignatedStartIndex.setIsUnsigned(MaxElements.isUnsigned());
2194 DesignatedEndIndex.setIsUnsigned(MaxElements.isUnsigned());
/external/deqp/modules/gles31/functional/
H A Des31fShaderIntegerFunctionTests.cpp142 const bool isUnsigned = glu::isDataTypeUintOrUVec(dataType); local
144 if (isUnsigned)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1366 if (ICI.isUnsigned()) {
2866 (CmpInst::isUnsigned(Pred) && BO0->hasNoUnsignedWrap()) ||
2870 (CmpInst::isUnsigned(Pred) && BO1->hasNoUnsignedWrap()) ||
2947 (BO0->hasOneUse() || BO1->hasOneUse()) && !I.isUnsigned())
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp773 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))
1004 if (!EmitCmp(CI->getOperand(0), CI->getOperand(1), CI->isUnsigned()))

Completed in 537 milliseconds

12