Searched defs:isSigned (Results 1 - 25 of 38) sorted by relevance

12

/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/javasqlite/src/main/java/SQLite/JDBC2z/
H A DJDBCResultSetMetaData.java184 public boolean isSigned(int column) throws java.sql.SQLException { method in class:JDBCResultSetMetaData
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h126 bool isSigned() const { return IsSigned; } function in class:clang::CodeGen::CGBitFieldInfo
/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());
/external/llvm/lib/Support/
H A DAPInt.cpp76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { argument
79 if (isSigned && int64_t(val) < 0)
858 double APInt::roundToDouble(bool isSigned) const {
863 if (isSigned) {
871 bool isNeg = isSigned ? (*this)[BitWidth-1] : false;
886 if (!isSigned || !isNeg)
2221 void APInt::print(raw_ostream &OS, bool isSigned) const {
2223 this->toString(S, 10, isSigned, /* formatAsCLiteral = */false);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp409 bool isSigned = I.getOpcode() == Instruction::SDiv; local
410 if ((isSigned && match(Z, m_SRem(m_Specific(X), m_Specific(Op1)))) ||
411 (!isSigned && match(Z, m_URem(m_Specific(X), m_Specific(Op1)))))
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 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
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp155 /// signedness of 'isSigned' and with a value suffix of 'ValSuffix' (e.g. LL).
157 StringRef ValSuffix, bool isSigned,
159 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth)
161 Builder.defineMacro(MacroName, MaxVal.toString(10, isSigned) + ValSuffix);
156 DefineTypeSize(StringRef MacroName, unsigned TypeWidth, StringRef ValSuffix, bool isSigned, MacroBuilder &Builder) argument
/external/clang/lib/AST/
H A DStmtDumper.cpp441 bool isSigned = Node->getType()->isSignedIntegerType(); local
442 OS << " " << Node->getValue().toString(10, isSigned);
H A DStmtPrinter.cpp716 bool isSigned = Node->getType()->isSignedIntegerType(); local
717 OS << Node->getValue().toString(10, isSigned);
1217 OS << Int->getValue().toString(10, /*isSigned*/false);
/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);
/external/llvm/lib/CodeGen/SelectionDAG/
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...]
H A DLegalizeFloatTypes.cpp1172 bool isSigned = N->getOpcode() == ISD::SINT_TO_FP; local
1180 Src = DAG.getNode(isSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, dl,
1187 Src = DAG.getNode(isSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND, dl,
1200 if (isSigned)
/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/webkit/Source/JavaScriptCore/wtf/text/
H A DWTFString.cpp799 static const bool isSigned = numeric_limits<IntegralType>::is_signed; local
815 if (isSigned && length && *data == '-') {
/external/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.cpp1010 bool isSigned = true; local
1039 isSigned = false;
1051 if (isSigned && Offset < 0)
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...]
H A DARMISelDAGToDAG.cpp238 SDNode *SelectV6T2BitfieldExtractOp(SDNode *N, bool isSigned);
2108 bool isSigned) {
2112 unsigned Opc = isSigned ? (Subtarget->isThumb() ? ARM::t2SBFX : ARM::SBFX)
2107 SelectV6T2BitfieldExtractOp(SDNode *N, bool isSigned) argument
/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...]
H A DConstants.cpp433 Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) { argument
434 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
444 bool isSigned) {
445 return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned));
1414 bool isSigned) {
1422 (isSigned ? Instruction::SExt : Instruction::ZExt)));
443 get(IntegerType *Ty, uint64_t V, bool isSigned) argument
1413 getIntegerCast(Constant *C, Type *Ty, bool isSigned) argument
/external/llvm/include/llvm/MC/
H A DMCAssembler.h365 bool isSigned() const { return IsSigned; } function in class:llvm::MCLEBFragment
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp971 bool isSigned = Opcode == Instruction::SDiv; local
1003 if ((isSigned && Mul->hasNoSignedWrap()) ||
1004 (!isSigned && Mul->hasNoUnsignedWrap()))
1013 if ((isSigned && match(Op0, m_SRem(m_Value(), m_Specific(Op1)))) ||
1014 (!isSigned && match(Op0, m_URem(m_Value(), m_Specific(Op1)))))
2041 (CmpInst::isSigned(Pred) && LBO->hasNoSignedWrap());
2047 (CmpInst::isSigned(Pred) && RBO->hasNoSignedWrap());
2145 if (ICmpInst::isSigned(Pred))
2161 if (!NSW && ICmpInst::isSigned(Pred))
H A DScalarEvolution.cpp324 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) { argument
326 return getConstant(ConstantInt::get(ITy, V, isSigned));
6130 if (CmpInst::isSigned(Pred)) {
6292 const Loop *L, bool isSigned) {
6301 bool NoWrap = isSigned ?
6322 if (isSigned) {
6346 const SCEV *MinStart = getConstant(isSigned ?
6356 isSigned ? ICmpInst::ICMP_SLT :
6359 End = isSigned ? getSMaxExpr(RHS, Start)
6363 const SCEV *MaxEnd = getConstant(isSigned
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2204 bool isSigned = Opcode == ISD::SMUL_LOHI; local
2205 if (!isSigned) {
2304 bool isSigned = Opcode == ISD::SDIVREM; local
2305 if (!isSigned) {
2354 if (NVT == MVT::i8 && (!isSigned || signBitIsZero)) {
2377 if (isSigned && !signBitIsZero) {

Completed in 596 milliseconds

12