Searched refs:isSigned (Results 1 - 25 of 76) sorted by relevance

1234

/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp18 if (IsUnsigned && Value.isSigned() && Value.isNegative())
26 if (Value.isSigned())
34 if (Value.isSigned() && Value.isNegative())
H A DBasicValueFactory.cpp175 if (V2.isSigned() && V2.isNegative())
193 if (V2.isSigned() && V2.isNegative())
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp93 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) ||
94 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) ||
95 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1));
/external/llvm/unittests/ADT/
H A DAPIntTest.cpp377 bool isSigned; local
395 isSigned = false;
396 APInt(8, 255, isSigned).toString(S, 2, isSigned, true);
399 APInt(8, 255, isSigned).toString(S, 8, isSigned, true);
402 APInt(8, 255, isSigned).toString(S, 10, isSigned, true);
405 APInt(8, 255, isSigned).toString(S, 16, isSigned, tru
[all...]
/external/llvm/include/llvm/ADT/
H A DAPSInt.h55 bool isSigned() const { return !IsUnsigned; } function in class:llvm::APSInt
62 APInt::toString(Str, Radix, isSigned());
67 return APInt::toString(Radix, isSigned());
269 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
280 if (I1.isSigned()) {
306 I.print(OS, I.isSigned());
H A DPackedVector.h22 template <typename T, unsigned BitNum, bool isSigned>
H A DAPInt.h180 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
221 /// If isSigned is true then val is treated as if it were a signed value
227 /// @param isSigned how to treat signedness of val
229 APInt(unsigned numBits, uint64_t val, bool isSigned = false)
235 initSlowCase(numBits, val, isSigned);
1303 void print(raw_ostream &OS, bool isSigned) const;
1332 double roundToDouble(bool isSigned) const;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp96 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
98 unsigned NumOps, bool isSigned, DebugLoc dl);
101 SDNode *Node, bool isSigned);
105 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
119 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
121 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
123 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
1790 bool isSigned) {
1797 Entry.isSExt = isSigned;
1798 Entry.isZExt = !isSigned;
[all...]
H A DLegalizeTypes.cpp1019 bool isSigned) {
1023 return MakeLibCall(LC, N->getValueType(0), 0, 0, isSigned, dl);
1026 return MakeLibCall(LC, N->getValueType(0), &Op, 1, isSigned, dl);
1029 return MakeLibCall(LC, N->getValueType(0), Ops, 2, isSigned, dl);
1035 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl);
1042 bool isSigned, DebugLoc dl) {
1050 Entry.isSExt = isSigned;
1051 Entry.isZExt = !isSigned;
1059 CallLoweringInfo CLI(DAG.getEntryNode(), RetTy, isSigned, !isSigned, fals
1018 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument
1040 MakeLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops, unsigned NumOps, bool isSigned, DebugLoc dl) argument
1072 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp272 /// (V-Lo) <u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates
276 bool isSigned, bool Inside) {
277 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
286 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
287 ICmpInst::Predicate pred = (isSigned ?
304 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
305 ICmpInst::Predicate pred = (isSigned ?
722 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
275 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument
1450 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
2259 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
[all...]
H A DInstCombine.h359 bool isSigned, bool Inside);
367 Value *EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned);
H A DInstCombineCasts.cpp155 bool isSigned) {
157 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/);
180 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned);
181 Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
200 Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
201 Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned);
209 Value *V =EvaluateInDifferentType(OPN->getIncomingValue(i), Ty, isSigned);
154 EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned) argument
H A DInstCombineCompares.cpp580 if (ICmpInst::isSigned(Cond))
787 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned())
945 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
1080 ICmpInst::Predicate Pred = ICI.isSigned()
1091 ICmpInst::Predicate Pred = ICI.isSigned()
1368 if (ICI.isSigned()) {
1578 bool isSignedCmp = ICI.isSigned();
1976 if (I.isSigned()) {
2172 if (I.isSigned() &&
2329 (CmpInst::isSigned(Pre
[all...]
/external/llvm/lib/VMCore/
H A DConstantFold.cpp1341 bool isSigned) {
1357 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1361 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1372 evaluateICmpRelation(V2, V1, isSigned);
1379 evaluateICmpRelation(V2, V1, isSigned);
1405 evaluateICmpRelation(V2, V1, isSigned);
1449 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1450 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1453 isSigned);
1467 return isSigned
1340 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
[all...]
/external/llvm/include/llvm/
H A DInstrTypes.h485 bool isSigned, ///< Whether to regard S as signed or not
494 bool isSigned, ///< Whether to regard S as signed or not
776 bool isSigned() const { function in class:llvm::CmpInst
777 return isSigned(getPredicate());
804 static bool isSigned(unsigned short predicate);
H A DConstants.h69 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
73 /// to fit the type, unless isSigned is true, in which case the value will
78 bool isSigned = false);
186 bool isMaxValue(bool isSigned) const {
187 if (isSigned)
198 bool isMinValue(bool isSigned) const {
199 if (isSigned)
970 bool isSigned ///< Whether C should be treated as signed or not
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DTextFormat.java1253 final boolean isSigned,
1260 if (!isSigned) {
1289 if (isSigned) {
1309 if (isSigned) {
1321 if (isSigned) {
1252 parseInteger(final String text, final boolean isSigned, final boolean isLong) argument
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h126 bool isSigned() const { return IsSigned; } function in class:clang::CodeGen::CGBitFieldInfo
/external/llvm/include/llvm/Support/
H A DConstantFolder.h163 bool isSigned) const {
164 return ConstantExpr::getIntegerCast(C, DestTy, isSigned);
H A DTargetFolder.h174 bool isSigned) const {
177 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
H A DNoFolder.h222 bool isSigned) const {
223 return CastInst::CreateIntegerCast(C, DestTy, isSigned);
/external/llvm/lib/Support/
H A DAPFloat.cpp1983 bool isSigned,
2057 if (!isSigned) {
2075 if (omsb >= width + !isSigned)
2097 bool isSigned,
2102 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode,
2113 bits = isSigned;
2115 bits = width - isSigned;
2118 if (sign && isSigned)
2136 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact);
2179 bool isSigned,
[all...]
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp163 bool SelectIToFP(const Instruction *I, bool isSigned);
164 bool SelectFPToI(const Instruction *I, bool isSigned);
165 bool SelectDiv(const Instruction *I, bool isSigned);
166 bool SelectRem(const Instruction *I, bool isSigned);
1561 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { argument
1582 /*isZExt*/!isSigned);
1592 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS;
1593 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD;
1604 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { argument
1618 if (OpTy->isFloatTy()) Opc = isSigned
1697 SelectDiv(const Instruction *I, bool isSigned) argument
1725 SelectRem(const Instruction *I, bool isSigned) argument
[all...]
/external/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCResultSetMetaData.java184 public boolean isSigned(int column) throws java.sql.SQLException { method in class:JDBCResultSetMetaData
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h492 /// computable, return CouldNotCompute. isSigned specifies whether the
495 const Loop *L, bool isSigned);
571 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);

Completed in 758 milliseconds

1234