| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| APSIntType.cpp | 20 Value.isSigned() && Value.isNegative()) 25 if (Value.isSigned() && !IsUnsigned) 35 if (Value.isSigned()) 44 if (Value.isSigned() && Value.isNegative())
|
| BasicValueFactory.cpp | 279 if (V2.isSigned() && V2.isNegative()) 288 if (V1.isSigned() && V1.isNegative()) 291 if (V1.isSigned() && Amt > V1.countLeadingZeros()) 302 if (V2.isSigned() && V2.isNegative())
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| APFixedPoint.cpp | 51 if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) { 60 NewVal.setIsSigned(DstSema.isSigned()); 67 bool ThisSigned = Val.isSigned(); 68 bool OtherSigned = OtherVal.isSigned(); 116 bool IsUnsigned = !Sema.isSigned(); 124 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); 140 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), 142 if ((Status & APFloat::opOverflow) || !isSigned()) 146 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), [all...] |
| Z3Solver.cpp | 610 bool isSigned) override { 613 toZ3Expr(*RHS).AST, isSigned))); 637 bool isSigned) override { 640 toZ3Expr(*RHS).AST, isSigned))); 662 bool isSigned) override { 665 toZ3Expr(*RHS).AST, isSigned))); 742 Int.isSigned()
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| APFixedPoint.h | 35 FixedPointSemantics(unsigned Width, unsigned Scale, bool IsSigned, 37 : Width(Width), Scale(Scale), IsSigned(IsSigned), 40 assert(!(IsSigned && HasUnsignedPadding) && 46 bool isSigned() const { return IsSigned; } 56 if (IsSigned || (!IsSigned && HasUnsignedPadding)) 80 bool IsSigned) { 81 return FixedPointSemantics(Width, /*Scale=*/0, IsSigned, [all...] |
| APSInt.h | 48 bool isNegative() const { return isSigned() && APInt::isNegative(); } 76 bool isSigned() const { return !IsUnsigned; } 83 APInt::toString(Str, Radix, isSigned()); 88 return APInt::toString(Radix, isSigned()); 95 return isSigned() ? getSExtValue() : getZExtValue(); 307 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned()) 318 if (I1.isSigned()) { 319 assert(!I2.isSigned() && "Expected signed mismatch"); 323 assert(I2.isSigned() && "Expected signed mismatch") [all...] |
| PackedVector.h | 22 template <typename T, unsigned BitNum, typename BitVectorTy, bool isSigned>
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| CmpInstAnalysis.cpp | 61 return (CmpInst::isSigned(P1) == CmpInst::isSigned(P2)) || 62 (CmpInst::isSigned(P1) && ICmpInst::isEquality(P2)) || 63 (CmpInst::isSigned(P2) && ICmpInst::isEquality(P1));
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| FixedPointBuilder.h | 39 bool SrcIsSigned = SrcSema.isSigned(); 40 bool DstIsSigned = DstSema.isSigned(); 120 C.isSigned(), C.isSaturated(), BothPadded); 178 Result = SrcSema.isSigned() ? B.CreateSIToFP(Src, OpTy) 190 bool UseSigned = DstSema.isSigned() || DstSema.hasUnsignedPadding(); 229 bool UseSigned = CommonSema.isSigned() || CommonSema.hasUnsignedPadding(); 255 bool UseSigned = CommonSema.isSigned() || CommonSema.hasUnsignedPadding(); 289 bool UseSigned = CommonSema.isSigned() || CommonSema.hasUnsignedPadding(); 317 bool UseSigned = CommonSema.isSigned() || CommonSema.hasUnsignedPadding(); 342 bool UseSigned = LHSSema.isSigned() || LHSSema.hasUnsignedPadding() [all...] |
| ConstantFolder.h | 203 bool isSigned) const override { 204 return ConstantExpr::getIntegerCast(C, DestTy, isSigned);
|
| NoFolder.h | 237 bool isSigned) const override { 238 return CastInst::CreateIntegerCast(C, DestTy, isSigned);
|
| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| SMTConv.h | 94 bool isSigned) { 104 return isSigned ? Solver->mkBVSDiv(LHS, RHS) : Solver->mkBVUDiv(LHS, RHS); 107 return isSigned ? Solver->mkBVSRem(LHS, RHS) : Solver->mkBVURem(LHS, RHS); 121 return isSigned ? Solver->mkBVAshr(LHS, RHS) : Solver->mkBVLshr(LHS, RHS); 125 return isSigned ? Solver->mkBVSlt(LHS, RHS) : Solver->mkBVUlt(LHS, RHS); 128 return isSigned ? Solver->mkBVSgt(LHS, RHS) : Solver->mkBVUgt(LHS, RHS); 131 return isSigned ? Solver->mkBVSle(LHS, RHS) : Solver->mkBVUle(LHS, RHS); 134 return isSigned ? Solver->mkBVSge(LHS, RHS) : Solver->mkBVUge(LHS, RHS); 142 fromBinOp(Solver, LHS, BO_EQ, RHS, isSigned)); 250 return fromBinOp(Solver, LHS, Op, RHS, /*isSigned=*/false) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| DivRemPairs.cpp | 100 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } 196 bool HasDivRemOp = TTI.hasDivRemOp(E.getType(), E.isSigned()); 209 Instruction *RealRem = E.isSigned() ? BinaryOperator::CreateSRem(X, Y)
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| SMTAPI.h | 286 bool isSigned) = 0; 302 bool isSigned) = 0; 317 bool isSigned) = 0;
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| AbstractBasicReader.h | 184 bool isSigned = tmp & 0x1; 187 return llvm::FixedPointSemantics(width, scale, isSigned, isSaturated,
|
| /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
| ConstantInitBuilder.h | 198 bool isSigned = false) { 199 add(llvm::ConstantInt::get(intTy, value, isSigned)); 291 bool isSigned = false) { 292 fillPlaceholder(position, llvm::ConstantInt::get(type, value, isSigned));
|
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| Boolean.h | 69 constexpr static bool isSigned() { return false; }
|
| Integral.h | 81 : V(V.isSigned() ? V.getSExtValue() : V.getZExtValue()) {} 129 constexpr static bool isSigned() { return Signed; }
|
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| RecordSerialization.cpp | 44 Num = APSInt(APInt(/*numBits=*/16, Short, /*isSigned=*/false), 119 if (N.isSigned() || !N.isIntN(64))
|
| CodeViewRecordIO.cpp | 191 if (Value.isSigned()) 196 if (Value.isSigned())
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| BPFISelLowering.h | 144 bool isSigned) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| ARMFastISel.cpp | 172 bool SelectIToFP(const Instruction *I, bool isSigned); 173 bool SelectFPToI(const Instruction *I, bool isSigned); 174 bool SelectDiv(const Instruction *I, bool isSigned); 175 bool SelectRem(const Instruction *I, bool isSigned); 1521 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { 1544 /*isZExt*/!isSigned); 1554 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS; 1556 Opc = isSigned ? ARM::VSITOD : ARM::VUITOD; 1566 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { 1580 if (OpTy->isFloatTy()) Opc = isSigned ? ARM::VTOSIZS : ARM::VTOUIZS [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| TargetTransformInfoImpl.h | 265 bool hasDivRemOp(Type *DataType, bool IsSigned) const { return false; } 763 unsigned minRequiredElementSize(const Value *Val, bool &isSigned) const { 772 isSigned = false; 787 isSigned |= signedElement; 799 isSigned = CI->getValue().isNegative(); 804 isSigned = true; 809 isSigned = false; 813 isSigned = false;
|
| TargetFolder.h | 183 bool isSigned) const override { 186 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| IntrinsicInst.cpp | 444 bool BinaryOpIntrinsic::isSigned() const { 458 if (isSigned())
|