Home
last modified time | relevance | path

Searched refs:isInteger (Results 1 – 25 of 108) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DISDOpcodes.h772 CondCode getSetCCInverse(CondCode Operation, bool isInteger);
782 CondCode getSetCCOrOperation(CondCode Op1, CondCode Op2, bool isInteger);
788 CondCode getSetCCAndOperation(CondCode Op1, CondCode Op2, bool isInteger);
DValueTypes.h151 bool isInteger() const { in isInteger() function
474 bool isInteger() const { in isInteger() function
475 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
614 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
626 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h123 bool isInteger() const { in isInteger() function
124 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
282 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
294 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
DISDOpcodes.h909 CondCode getSetCCInverse(CondCode Operation, bool isInteger);
918 CondCode getSetCCOrOperation(CondCode Op1, CondCode Op2, bool isInteger);
923 CondCode getSetCCAndOperation(CondCode Op1, CondCode Op2, bool isInteger);
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java555 Predicate<Object> isInteger = Predicates.instanceOf(Integer.class); in testIsInstanceOf_apply() local
557 assertTrue(isInteger.apply(1)); in testIsInstanceOf_apply()
558 assertFalse(isInteger.apply(2.0f)); in testIsInstanceOf_apply()
559 assertFalse(isInteger.apply("")); in testIsInstanceOf_apply()
560 assertFalse(isInteger.apply(null)); in testIsInstanceOf_apply()
601 Predicate<Class<?>> isInteger = Predicates.assignableFrom(Integer.class); in testIsAssignableFrom_apply() local
603 assertTrue(isInteger.apply(Integer.class)); in testIsAssignableFrom_apply()
604 assertFalse(isInteger.apply(Float.class)); in testIsAssignableFrom_apply()
607 isInteger.apply(null); in testIsAssignableFrom_apply()
/external/libmojo/mojo/public/js/test/
Dvalidation_test_input_parser.js109 Item.prototype.isInteger = function() { method in Item
115 return this.isFloat() || this.isInteger();
151 var n = item.isInteger() ? parseInt(item.value) : parseFloat(item.value);
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDIE.h200 isInteger, enumerator
242 explicit DIEInteger(uint64_t I) : DIEValue(isInteger), Integer(I) {} in DIEInteger()
271 static bool classof(const DIEValue *I) { return I->getType() == isInteger; } in classof()
/external/clang/docs/
DLibASTMatchersTutorial.rst217 variable(hasType(isInteger())).bind("intvar")
369 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
379 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
404 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
405 hasRHS(expr(hasType(isInteger())))))
442 to(varDecl(hasType(isInteger())))))),
443 hasRHS(expr(hasType(isInteger())))))
486 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
490 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
491 hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp225 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { in getSetCCInverse() argument
227 if (isInteger) in getSetCCInverse()
263 bool isInteger) { in getSetCCOrOperation() argument
264 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
276 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
287 bool isInteger) { in getSetCCAndOperation() argument
288 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
296 if (isInteger) { in getSetCCAndOperation()
757 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
762 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifyNodeCommon()
[all …]
DDAGCombiner.cpp762 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
820 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
864 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
893 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1408 if (VT.isInteger() && !VT.isVector()) { in visitADD()
2321 LL.getValueType().isInteger()) { in visitAND()
2350 bool isInteger = LL.getValueType().isInteger(); in visitAND() local
2351 ISD::CondCode Result = ISD::getSetCCAndOperation(Op0, Op1, isInteger); in visitAND()
2793 LL.getValueType().isInteger()) { in visitOR()
2819 bool isInteger = LL.getValueType().isInteger(); in visitOR() local
[all …]
DTargetLowering.cpp771 if (!ExpandedVT.isInteger()) in computeRegisterProperties()
850 isTypeLegal(SVT) && SVT.getScalarType().isInteger()) { in computeRegisterProperties()
1025 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
2162 N0.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
2396 if (N0.getValueType().isInteger()) in SimplifySetCC()
2411 N0.getValueType().isInteger()) { in SimplifySetCC()
2671 if (ConstraintVT.isInteger()) in LowerXConstraint()
2916 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2917 Input.ConstraintVT.isInteger()) || in ParseConstraints()
2967 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp258 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { in getSetCCInverse() argument
260 if (isInteger) in getSetCCInverse()
292 bool isInteger) { in getSetCCOrOperation() argument
293 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
305 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
312 bool isInteger) { in getSetCCAndOperation() argument
313 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
321 if (isInteger) { in getSetCCAndOperation()
681 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode()
686 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifySDNode()
[all …]
DTargetLowering.cpp1292 if (N0.getOpcode() != ISD::AND || !OpVT.isInteger() || in simplifySetCCWithAnd()
1500 TopSetCC.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
1662 N0.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
1990 if (N0.getValueType().isInteger()) { in SimplifySetCC()
2007 N0.getValueType().isInteger()) { in SimplifySetCC()
2266 if (ConstraintVT.isInteger()) in LowerXConstraint()
2526 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2527 Input.ConstraintVT.isInteger()) || in ParseConstraints()
2579 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2580 Input.ConstraintVT.isInteger()) || in ParseConstraints()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp78 stmt(hasDescendant(isInteger())))); in TEST()
83 varDecl(hasDescendant(isInteger())).bind("x"))), in TEST()
105 varDecl(hasName("i"), has(isInteger())))); in TEST()
107 varDecl(hasName("i"), has(isInteger())))); in TEST()
110 qualType(functionType(), forEach(qualType(isInteger()).bind("x"))), in TEST()
364 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST()
377 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST()
406 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST()
430 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST()
743 hasLHS(hasType(isInteger())), hasRHS(hasType(pointsTo(qualType())))); in TEST()
[all …]
DASTMatchersNarrowingTest.cpp712 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isInteger())))); in TEST()
716 to(varDecl(hasType(isInteger())))))))); in TEST()
720 EXPECT_TRUE(notMatches("int *i;", varDecl(hasType(isInteger())))); in TEST()
723 to(varDecl(hasType(isInteger())))))))); in TEST()
1375 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST()
1378 memberExpr(hasDeclaration(fieldDecl(hasType(isInteger())))))); in TEST()
1781 EXPECT_TRUE(matches("const int a = 0;", qualType(isInteger()))); in TEST()
1796 complexType(hasElementType(isInteger())))); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLowering.h505 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
511 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
554 if (VT.isInteger()) { in getRegisterType()
578 if (VT.isInteger()) { in getNumRegisters()
1832 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
1859 if (mayPromoteElements && EltVT.isInteger()) { in getTypeConversion()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat.java1277 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1282 isInteger, parseAttr); in subformat()
1284 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1336 boolean isInteger, boolean parseAttr) { in subformat() argument
1341 isInteger, parseAttr); in subformat()
1343 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1348 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1374 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1382 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1412 subformatFixed(result, fieldPosition, isInteger, parseAttr); in subformat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat.java1265 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1270 isInteger, parseAttr); in subformat()
1272 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1324 boolean isInteger, boolean parseAttr) { in subformat() argument
1329 isInteger, parseAttr); in subformat()
1331 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1336 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1362 return subformat(result, fieldPosition, isNegative, isInteger, parseAttr); in subformat()
1370 boolean isNegative, boolean isInteger, boolean parseAttr) { in subformat() argument
1400 subformatFixed(result, fieldPosition, isInteger, parseAttr); in subformat()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcher.cpp347 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
350 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
DCodeGenDAGPatterns.cpp29 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger() function
30 return EVT(VT).isInteger(); in isInteger()
101 if (isInteger(TypeVec[i])) in hasIntegerTypes()
231 return FillWithPossibleTypes(TP, isInteger, "integer"); in EnforceInteger()
239 if (!isInteger(TypeVec[i])) in EnforceInteger()
389 if (isInteger(TypeVec[i])) { in EnforceSmallerThan()
394 if (isInteger(TypeVec[i]) && TypeVec[i] < SmallestInt) in EnforceSmallerThan()
413 if (isInteger(*TVI)) { in EnforceSmallerThan()
445 if (isInteger(Other.TypeVec[i])) { in EnforceSmallerThan()
450 if (isInteger(Other.TypeVec[i]) && Other.TypeVec[i] > LargestInt) in EnforceSmallerThan()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcher.cpp317 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
320 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/external/clang/utils/TableGen/
DNeonEmitter.cpp171 bool isInteger() const { return !Float && !Poly; } in isInteger() function in __anon985e31310111::Type
559 if (!Signed && isInteger()) in str()
592 else if (isInteger()) in builtin_str()
612 else if (isInteger() && !Pointer && !Signed) in builtin_str()
617 assert(isInteger() && isSigned()); in builtin_str()
659 if (isInteger() && !Signed) in getNeonEnum()
965 else if (T.isInteger()) in getInstTypeCode()
/external/llvm/include/llvm/Target/
DTargetLowering.h778 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
784 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
848 if (VT.isInteger()) { in getRegisterType()
874 if (VT.isInteger()) { in getNumRegisters()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueTypes.cpp101 if (isInteger()) in getEVTString()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp625 if (imm0.isInteger(0)) { in opnd()
631 if (imm0.isInteger(1) || imm0.isInteger(-1)) { in opnd()
644 if (imm0.isInteger(2) || imm0.isInteger(-2)) { in opnd()
661 if (imm0.isInteger(0)) { in opnd()
1029 if (!imm.isInteger(0)) in tryADDToMADOrSAD()

12345