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

1234

/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp21 Value.isSigned() && Value.isNegative())
26 if (Value.isSigned() && !IsUnsigned)
36 if (Value.isSigned())
45 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/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInst.cpp151 unsigned isSigned = (F >> HexagonII::ExtentSignedPos) local
156 if (isSigned) // if value is signed
166 unsigned isSigned = (F >> HexagonII::ExtentSignedPos) local
171 if (isSigned) // if value is signed
/external/llvm/unittests/ADT/
H A DAPIntTest.cpp385 bool isSigned; local
403 isSigned = false;
404 APInt(8, 255, isSigned).toString(S, 2, isSigned, true);
407 APInt(8, 255, isSigned).toString(S, 8, isSigned, true);
410 APInt(8, 255, isSigned).toString(S, 10, isSigned, true);
413 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, typename BitVectorTy, bool isSigned>
H A DAPInt.h184 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
228 /// If isSigned is true then val is treated as if it were a signed value
235 /// \param isSigned how to treat signedness of val
236 APInt(unsigned numBits, uint64_t val, bool isSigned = false)
242 initSlowCase(numBits, val, isSigned);
1397 void print(raw_ostream &OS, bool isSigned) const;
1427 double roundToDouble(bool isSigned) const;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp101 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
103 unsigned NumOps, bool isSigned, SDLoc dl);
106 SDNode *Node, bool isSigned);
111 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
126 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
128 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
130 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
1857 bool isSigned) {
1864 Entry.isSExt = isSigned;
1865 Entry.isZExt = !isSigned;
[all...]
H A DLegalizeTypes.cpp1023 bool isSigned) {
1027 return TLI.makeLibCall(DAG, LC, N->getValueType(0), 0, 0, isSigned, dl);
1030 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned, dl);
1033 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned, dl);
1040 &Ops[0], NumOps, isSigned, dl);
1048 bool isSigned) {
1058 Entry.isSExt = isSigned;
1059 Entry.isZExt = !isSigned;
1067 CallLoweringInfo CLI(InChain, RetTy, isSigned, !isSigned, fals
1022 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument
1046 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument
[all...]
/external/llvm/lib/IR/
H A DConstantFold.cpp1336 bool isSigned) {
1352 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1356 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1367 evaluateICmpRelation(V2, V1, isSigned);
1374 evaluateICmpRelation(V2, V1, isSigned);
1400 evaluateICmpRelation(V2, V1, isSigned);
1444 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1445 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1448 isSigned);
1462 return isSigned
1335 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
[all...]
/external/llvm/include/llvm/IR/
H A DInstrTypes.h482 bool isSigned, ///< Whether to regard S as signed or not
491 bool isSigned, ///< Whether to regard S as signed or not
780 bool isSigned() const { function in class:llvm::CmpInst
781 return isSigned(getPredicate());
808 static bool isSigned(unsigned short predicate);
H A DConstants.h70 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
74 /// to fit the type, unless isSigned is true, in which case the value will
79 bool isSigned = false);
185 bool isMaxValue(bool isSigned) const {
186 if (isSigned)
197 bool isMinValue(bool isSigned) const {
198 if (isSigned)
955 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/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.cpp2046 bool isSigned,
2118 if (!isSigned) {
2136 if (omsb >= width + !isSigned)
2158 bool isSigned,
2163 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode,
2174 bits = isSigned;
2176 bits = width - isSigned;
2179 if (sign && isSigned)
2197 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact);
2239 bool isSigned,
[all...]
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp165 bool SelectIToFP(const Instruction *I, bool isSigned);
166 bool SelectFPToI(const Instruction *I, bool isSigned);
167 bool SelectDiv(const Instruction *I, bool isSigned);
168 bool SelectRem(const Instruction *I, bool isSigned);
1589 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { argument
1612 /*isZExt*/!isSigned);
1622 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS;
1623 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD;
1634 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { argument
1648 if (OpTy->isFloatTy()) Opc = isSigned
1728 SelectDiv(const Instruction *I, bool isSigned) argument
1756 SelectRem(const Instruction *I, bool isSigned) argument
[all...]
H A DARMBaseRegisterInfo.cpp634 bool isSigned = true; local
663 isSigned = false;
675 if (isSigned && Offset < 0)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp268 /// (V-Lo) \<u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates
272 bool isSigned, bool Inside) {
273 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
282 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
283 ICmpInst::Predicate pred = (isSigned ?
300 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
301 ICmpInst::Predicate pred = (isSigned ?
712 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
271 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument
1470 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
2348 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
[all...]
H A DInstCombine.h372 bool isSigned, bool Inside);
380 Value *EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned);
H A DInstCombineCompares.cpp146 if (!ICmpInst::isSigned(pred))
614 if (ICmpInst::isSigned(Cond))
819 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned())
977 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
1111 ICmpInst::Predicate Pred = ICI.isSigned()
1121 ICmpInst::Predicate Pred = ICI.isSigned()
1380 } else if (ICI.isSigned()) {
1570 if (ICI.isSigned()) {
1807 bool isSignedCmp = ICI.isSigned();
2205 if (I.isSigned()) {
[all...]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DTextFormat.java1473 final boolean isSigned,
1480 if (!isSigned) {
1509 if (isSigned) {
1529 if (isSigned) {
1541 if (isSigned) {
1472 parseInteger(final String text, final boolean isSigned, final boolean isLong) argument
/external/smack/src/org/xbill/DNS/
H A DMessage.java285 isSigned() { method in class:Message
573 if (isSigned()) {

Completed in 444 milliseconds

1234