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

123

/external/llvm/unittests/ADT/
H A DAPIntTest.cpp343 bool isSigned; local
361 isSigned = false;
362 APInt(8, 255, isSigned).toString(S, 2, isSigned, true);
365 APInt(8, 255, isSigned).toString(S, 8, isSigned, true);
368 APInt(8, 255, isSigned).toString(S, 10, isSigned, true);
371 APInt(8, 255, isSigned).toString(S, 16, isSigned, tru
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp116 SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
118 unsigned NumOps, bool isSigned, DebugLoc dl);
121 SDNode *Node, bool isSigned);
125 SDValue ExpandIntLibCall(SDNode *Node, bool isSigned,
139 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT,
141 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned,
143 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned,
2013 bool isSigned) {
2026 Entry.isSExt = isSigned;
2027 Entry.isZExt = !isSigned;
[all...]
H A DLegalizeTypes.cpp1018 bool isSigned) {
1022 return MakeLibCall(LC, N->getValueType(0), 0, 0, isSigned, dl);
1025 return MakeLibCall(LC, N->getValueType(0), &Op, 1, isSigned, dl);
1028 return MakeLibCall(LC, N->getValueType(0), Ops, 2, isSigned, dl);
1034 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl);
1041 bool isSigned, DebugLoc dl) {
1049 Entry.isSExt = isSigned;
1050 Entry.isZExt = !isSigned;
1058 TLI.LowerCallTo(DAG.getEntryNode(), RetTy, isSigned, !isSigned, fals
1017 LibCallify(RTLIB::Libcall LC, SDNode *N, bool isSigned) argument
1039 MakeLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops, unsigned NumOps, bool isSigned, DebugLoc dl) argument
1068 ExpandChainLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned) argument
[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());
259 I.print(OS, I.isSigned());
H A DPackedVector.h22 template <typename T, unsigned BitNum, bool isSigned>
H A DAPInt.h178 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
219 /// If isSigned is true then val is treated as if it were a signed value
225 /// @param isSigned how to treat signedness of val
227 APInt(unsigned numBits, uint64_t val, bool isSigned = false)
233 initSlowCase(numBits, val, isSigned);
1252 void print(raw_ostream &OS, bool isSigned) const;
1281 double roundToDouble(bool isSigned) const;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp186 return (CmpInst::isSigned(p1) == CmpInst::isSigned(p2)) ||
187 (CmpInst::isSigned(p1) && ICmpInst::isEquality(p2)) ||
188 (CmpInst::isSigned(p2) && ICmpInst::isEquality(p1));
335 /// (V-Lo) <u Hi-Lo. This method expects that Lo <= Hi. isSigned indicates
339 bool isSigned, bool Inside) {
340 assert(cast<ConstantInt>(ConstantExpr::getICmp((isSigned ?
349 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
350 ICmpInst::Predicate pred = (isSigned ?
367 if (cast<ConstantInt>(Lo)->isMinValue(isSigned)) {
338 InsertRangeTest(Value *V, Constant *Lo, Constant *Hi, bool isSigned, bool Inside) argument
730 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
1471 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
2282 bool isSigned = LHS->isSigned() || RHS->isSigned(); local
[all...]
H A DInstCombine.h355 bool isSigned, bool Inside);
363 Value *EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned);
H A DInstCombineCasts.cpp156 bool isSigned) {
158 C = ConstantExpr::getIntegerCast(C, Ty, isSigned /*Sext or ZExt*/);
181 Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned);
182 Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
201 Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
202 Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned);
210 Value *V =EvaluateInDifferentType(OPN->getIncomingValue(i), Ty, isSigned);
155 EvaluateInDifferentType(Value *V, Type *Ty, bool isSigned) argument
H A DInstCombineCompares.cpp759 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned())
917 if (ICI.isSigned() != (Shr->getOpcode() == Instruction::AShr))
1053 ICmpInst::Predicate Pred = ICI.isSigned()
1064 ICmpInst::Predicate Pred = ICI.isSigned()
1341 if (ICI.isSigned()) {
1551 bool isSignedCmp = ICI.isSigned();
1923 if (I.isSigned()) {
2119 if (I.isSigned() &&
2276 (CmpInst::isSigned(Pred) && BO0->hasNoSignedWrap());
2280 (CmpInst::isSigned(Pre
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp178 if (V2.isSigned() && V2.isNegative())
196 if (V2.isSigned() && V2.isNegative())
H A DStore.cpp325 assert(BaseIdxI.isSigned());
/external/llvm/include/llvm/
H A DInstrTypes.h484 bool isSigned, ///< Whether to regard S as signed or not
493 bool isSigned, ///< Whether to regard S as signed or not
775 bool isSigned() const { function in class:llvm::CmpInst
776 return isSigned(getPredicate());
803 static bool isSigned(unsigned short predicate);
H A DConstants.h65 static Constant *get(Type *Ty, uint64_t V, bool isSigned = false);
69 /// to fit the type, unless isSigned is true, in which case the value will
74 bool isSigned = false);
182 bool isMaxValue(bool isSigned) const {
183 if (isSigned)
194 bool isMinValue(bool isSigned) const {
195 if (isSigned)
742 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.h131 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 DNoFolder.h210 bool isSigned) const {
211 return CastInst::CreateIntegerCast(C, DestTy, isSigned);
H A DTargetFolder.h174 bool isSigned) const {
177 return Fold(ConstantExpr::getIntegerCast(C, DestTy, isSigned));
/external/llvm/lib/Support/
H A DAPFloat.cpp1950 bool isSigned,
2024 if (!isSigned) {
2042 if (omsb >= width + !isSigned)
2064 bool isSigned,
2069 fs = convertToSignExtendedInteger(parts, width, isSigned, rounding_mode,
2080 bits = isSigned;
2082 bits = width - isSigned;
2085 if (sign && isSigned)
2103 parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact);
2146 bool isSigned,
[all...]
/external/llvm/lib/Target/CBackend/
H A DCBackend.cpp156 bool isSigned = false,
161 bool isSigned,
397 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), "");
409 /*isSigned=*/PAL.paramHasAttr(0, Attribute::SExt), FunctionInnards.str());
413 CWriter::printSimpleType(raw_ostream &Out, Type *Ty, bool isSigned, argument
424 return Out << (isSigned?"signed":"unsigned") << " char " << NameSoFar;
426 return Out << (isSigned?"signed":"unsigned") << " short " << NameSoFar;
428 return Out << (isSigned?"signed":"unsigned") << " int " << NameSoFar;
430 return Out << (isSigned?"signed":"unsigned") << " long long "<< NameSoFar;
433 return Out << (isSigned
466 printType(raw_ostream &Out, Type *Ty, bool isSigned, const std::string &NameSoFar, bool IgnoreName, const AttrListPtr &PAL) argument
2732 printLimitValue(IntegerType &Ty, bool isSigned, bool isMax, raw_ostream &Out) argument
[all...]
/external/llvm/lib/VMCore/
H A DConstantFold.cpp1601 bool isSigned) {
1617 pred = isSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
1621 pred = isSigned ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1632 evaluateICmpRelation(V2, V1, isSigned);
1639 evaluateICmpRelation(V2, V1, isSigned);
1665 evaluateICmpRelation(V2, V1, isSigned);
1709 if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
1710 if (CE1->getOpcode() == Instruction::SExt) isSigned = true;
1713 isSigned);
1727 return isSigned
1600 evaluateICmpRelation(Constant *V1, Constant *V2, bool isSigned) argument
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp174 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
176 StringRef ValSuffix, bool isSigned,
178 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
180 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
175 DefineTypeSize(StringRef MacroName, unsigned TypeWidth, StringRef ValSuffix, bool isSigned, MacroBuilder &Builder) argument
/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.h480 /// computable, return CouldNotCompute. isSigned specifies whether the
483 const Loop *L, bool isSigned);
559 const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);

Completed in 393 milliseconds

123