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

12345

/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/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A Dcopyvertex.h28 template <bool isSigned, bool normalized, bool toFloat>
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dmct.h123 @param isSigned tells if the data is signed
131 OPJ_UINT32 isSigned);
H A Dmct.c233 OPJ_UINT32 isSigned)
246 OPJ_ARG_NOT_USED(isSigned);
286 OPJ_UINT32 isSigned)
297 OPJ_ARG_NOT_USED(isSigned);
228 opj_mct_encode_custom( OPJ_BYTE * pCodingdata, OPJ_UINT32 n, OPJ_BYTE ** pData, OPJ_UINT32 pNbComp, OPJ_UINT32 isSigned) argument
281 opj_mct_decode_custom( OPJ_BYTE * pDecodingData, OPJ_UINT32 n, OPJ_BYTE ** pData, OPJ_UINT32 pNbComp, OPJ_UINT32 isSigned) argument
/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.h49 bool isSigned() const { return !IsUnsigned; } function in class:llvm::APSInt
56 APInt::toString(Str, Radix, isSigned());
61 return APInt::toString(Radix, isSigned());
263 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
274 if (I1.isSigned()) {
300 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);
1399 void print(raw_ostream &OS, bool isSigned) const;
1429 double roundToDouble(bool isSigned) const;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp102 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
104 unsigned NumOps, bool isSigned, SDLoc dl);
107 SDNode *Node, bool isSigned);
112 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
127 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
129 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
131 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
2032 bool isSigned) {
2039 Entry.isSExt = isSigned;
2040 Entry.isZExt = !isSigned;
[all...]
H A DLegalizeTypes.cpp1008 bool isSigned) {
1012 return TLI.makeLibCall(DAG, LC, N->getValueType(0), nullptr, 0, isSigned,
1016 return TLI.makeLibCall(DAG, LC, N->getValueType(0), &Op, 1, isSigned,
1020 return TLI.makeLibCall(DAG, LC, N->getValueType(0), Ops, 2, isSigned,
1028 &Ops[0], NumOps, isSigned, dl).first;
1036 bool isSigned) {
1046 Entry.isSExt = isSigned;
1047 Entry.isZExt = !isSigned;
1058 .setSExtResult(isSigned).setZExtResult(!isSigned);
1007 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument
1034 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument
[all...]
/external/llvm/lib/IR/
H A DConstantFold.cpp1359 bool isSigned) {
1375 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1379 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1390 evaluateICmpRelation(V2, V1, isSigned);
1397 evaluateICmpRelation(V2, V1, isSigned);
1420 evaluateICmpRelation(V2, V1, isSigned);
1464 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1465 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1468 isSigned);
1483 return isSigned
1358 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
[all...]
/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/IR/
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)
970 bool isSigned ///< Whether C should be treated as signed or not
H A DConstantFolder.h163 bool isSigned) const {
164 return ConstantExpr::getIntegerCast(C, DestTy, isSigned);
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
785 bool isSigned() const { function in class:llvm::CmpInst
786 return isSigned(getPredicate());
813 static bool isSigned(unsigned short predicate);
/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h174 bool isSigned) const {
177 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
H A DScalarEvolution.h508 /// computable, return CouldNotCompute. isSigned specifies whether the
511 const Loop *L, bool isSigned, bool IsSubExpr);
513 const Loop *L, bool isSigned, bool IsSubExpr);
593 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp155 bool SelectIToFP(const Instruction *I, bool isSigned);
156 bool SelectFPToI(const Instruction *I, bool isSigned);
157 bool SelectDiv(const Instruction *I, bool isSigned);
158 bool SelectRem(const Instruction *I, bool isSigned);
1548 bool ARMFastISel::SelectIToFP(const Instruction *I, bool isSigned) { argument
1571 /*isZExt*/!isSigned);
1581 if (Ty->isFloatTy()) Opc = isSigned ? ARM::VSITOS : ARM::VUITOS;
1582 else if (Ty->isDoubleTy()) Opc = isSigned ? ARM::VSITOD : ARM::VUITOD;
1592 bool ARMFastISel::SelectFPToI(const Instruction *I, bool isSigned) { argument
1606 if (OpTy->isFloatTy()) Opc = isSigned
1700 SelectDiv(const Instruction *I, bool isSigned) argument
1728 SelectRem(const Instruction *I, bool isSigned) argument
[all...]
H A DARMBaseRegisterInfo.cpp650 bool isSigned = true; local
679 isSigned = false;
691 if (isSigned && Offset < 0)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp260 /// (V-Lo) \<u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates
264 bool isSigned, bool Inside) {
265 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
274 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
275 ICmpInst::Predicate pred = (isSigned ?
292 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
293 ICmpInst::Predicate pred = (isSigned ?
803 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
263 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument
1602 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
2460 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
[all...]
H A DInstCombineCompares.cpp139 if (!ICmpInst::isSigned(pred))
612 if (ICmpInst::isSigned(Cond))
818 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned())
976 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
1110 ICmpInst::Predicate Pred = ICI.isSigned()
1120 ICmpInst::Predicate Pred = ICI.isSigned()
1209 if (!ICI.isSigned() || (!AndCst->isNegative() && !RHS->isNegative()))
1217 if (!ICI.isSigned())
1396 } else if (ICI.isSigned()) {
1586 if (ICI.isSigned()) {
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderIntegerFunctionTests.cpp376 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
407 if (isSigned)
472 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
501 if (isSigned)
765 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
776 const deUint32 ref = baseVal | ((isSigned && (baseVal & (1<<(bits-1)))) ? ~valMask : 0u);
1078 const bool isSigned = glu::isDataTypeIntOrIVec(type); local
1086 const int minRef = isSigned ? findMSB(toPrecision(deInt32(value), integerLength)) : findMSB(toPrecision(value, integerLength));
1087 const int maxRef = isSigned ? findMSB(deInt32(value)) : findMSB(value);

Completed in 593 milliseconds

12345