Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h784 CondCode getSetCCInverse(CondCode Operation, bool isInteger);
794 CondCode getSetCCOrOperation(CondCode Op1, CondCode Op2, bool isInteger);
800 CondCode getSetCCAndOperation(CondCode Op1, CondCode Op2, bool isInteger);
DValueTypes.h165 bool isInteger() const { in isInteger() function
523 bool isInteger() const { in isInteger() function
524 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
658 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
670 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java556 Predicate<Object> isInteger = Predicates.instanceOf(Integer.class); in testIsInstanceOf_apply() local
558 assertTrue(isInteger.apply(1)); in testIsInstanceOf_apply()
559 assertFalse(isInteger.apply(2.0f)); in testIsInstanceOf_apply()
560 assertFalse(isInteger.apply("")); in testIsInstanceOf_apply()
561 assertFalse(isInteger.apply(null)); in testIsInstanceOf_apply()
602 Predicate<Class<?>> isInteger = Predicates.assignableFrom(Integer.class); in testIsAssignableFrom_apply() local
604 assertTrue(isInteger.apply(Integer.class)); in testIsAssignableFrom_apply()
605 assertFalse(isInteger.apply(Float.class)); in testIsAssignableFrom_apply()
608 isInteger.apply(null); in testIsAssignableFrom_apply()
/external/llvm/lib/CodeGen/AsmPrinter/
DDIE.h191 isInteger, enumerator
232 explicit DIEInteger(uint64_t I) : DIEValue(isInteger), Integer(I) {} in DIEInteger()
261 static bool classof(const DIEValue *I) { return I->getType() == isInteger; } in classof()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp252 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { in getSetCCInverse() argument
254 if (isInteger) in getSetCCInverse()
290 bool isInteger) { in getSetCCOrOperation() argument
291 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
303 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
314 bool isInteger) { in getSetCCAndOperation() argument
315 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
323 if (isInteger) { in getSetCCAndOperation()
810 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
815 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifyNodeCommon()
[all …]
DTargetLowering.cpp757 if (!ExpandedVT.isInteger()) in computeRegisterProperties()
833 isTypeLegal(SVT) && SVT.getScalarType().isInteger()) { in computeRegisterProperties()
1008 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
2159 N0.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
2455 if (N0.getValueType().isInteger()) { in SimplifySetCC()
2472 N0.getValueType().isInteger()) { in SimplifySetCC()
2744 if (ConstraintVT.isInteger()) in LowerXConstraint()
2989 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2990 Input.ConstraintVT.isInteger()) || in ParseConstraints()
3042 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
[all …]
DDAGCombiner.cpp796 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
854 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
898 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
927 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1458 if (VT.isInteger() && !VT.isVector()) { in visitADD()
2355 if (In0Ty.isInteger() && In1Ty.isInteger() && In0Ty == In1Ty) { in SimplifyBinOpWithSameOpcodeHands()
2569 LL.getValueType().isInteger()) { in visitAND()
2598 bool isInteger = LL.getValueType().isInteger(); in visitAND() local
2599 ISD::CondCode Result = ISD::getSetCCAndOperation(Op0, Op1, isInteger); in visitAND()
3069 LL.getValueType().isInteger()) { in visitOR()
[all …]
DLegalizeDAG.cpp385 assert(ST->getMemoryVT().isInteger() && in ExpandUnalignedStore()
509 assert(LoadedVT.isInteger() && !LoadedVT.isVector() && in ExpandUnalignedLoad()
619 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
2252 assert(NewInTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalINT_TO_FP()
2294 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT()
2388 assert(VT.isInteger() && Len <= 128 && Len % 8 == 0 && in ExpandBitCount()
2671 if (VT.isInteger()) in ExpandNode()
3584 assert(OVT.isInteger() in PromoteNode()
3611 assert(OVT.isInteger() && "Cannot promote logic operation"); in PromoteNode()
3628 } else if (Node->getValueType(0).isInteger()) { in PromoteNode()
[all …]
DSelectionDAGBuilder.cpp112 if (ValueVT.isInteger()) { in getCopyFromParts()
172 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() && in getCopyFromParts()
185 if (PartVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
357 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
358 ValueVT.isInteger() && in getCopyToParts()
371 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
372 ValueVT.isInteger() && in getCopyToParts()
394 assert(PartVT.isInteger() && ValueVT.isInteger() && in getCopyToParts()
683 !RegisterVT.isInteger() || RegisterVT.isVector()) in getCopyFromRegs()
1213 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) in visitRet()
[all …]
DLegalizeTypes.h695 else if (Op.getValueType().isInteger()) in GetSplitOp()
726 if (Op.getValueType().isInteger()) in GetExpandedOp()
/external/llvm/include/llvm/Target/
DTargetLowering.h525 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
531 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
585 if (VT.isInteger()) { in getRegisterType()
608 if (VT.isInteger()) { in getNumRegisters()
1961 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
1987 if (EltVT.isInteger()) { in getTypeConversion()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp329 if (elemtype.isInteger() && (sz < 8)) sz = 8; in getPrototype()
358 if (elemtype.isInteger() && (sz < 32)) sz = 32; in getPrototype()
425 if (elemtype.isInteger() && (sz < 32)) sz = 32; in getPrototype()
479 if (VT.isInteger() && (sz < 32)) sz = 32; in LowerCall()
540 if (elemtype.isInteger() && (sz < 8)) sz = 8; in LowerCall()
573 if (elemtype.isInteger() && (sz < 32)) sz = 32; in LowerCall()
622 if (elemtype.isInteger() && (sz < 32)) sz = 32; in LowerCall()
625 if (elemtype.isInteger() && (sz < 8)) sz = 8; in LowerCall()
755 if (Ins[i].VT.isInteger() && (sz < 8)) sz = 8; in LowerCall()
DNVPTXAsmPrinter.cpp317 if (elemtype.isInteger() && (sz < 8)) sz = 8; in printReturnValStr()
346 if (elemtype.isInteger() && (sz < 32)) sz = 32; in printReturnValStr()
1550 if (elemtype.isInteger() && (sz < 32)) sz = 32; in emitFunctionParamList()
/external/webkit/Source/JavaScriptCore/dfg/
DDFGNonSpeculativeJIT.cpp70 …JITCompiler::Jump isInteger = m_jit.branchPtr(MacroAssembler::AboveOrEqual, jsValueReg, JITCompile… in valueToNumber() local
90 isInteger.link(&m_jit); in valueToNumber()
105 …JITCompiler::Jump isInteger = m_jit.branchPtr(MacroAssembler::AboveOrEqual, jsValueReg, JITCompile… in valueToInt32() local
117 isInteger.link(&m_jit); in valueToInt32()
DDFGJITCompiler.cpp54 Jump isInteger = branchPtr(MacroAssembler::AboveOrEqual, tempReg, tagTypeNumberRegister); in fillNumericToDouble() local
59 isInteger.link(this); in fillNumericToDouble()
DDFGJITCodeGenerator.cpp171 …JITCompiler::Jump isInteger = m_jit.branchPtr(MacroAssembler::AboveOrEqual, jsValueReg, JITCompile… in fillDouble() local
182 isInteger.link(&m_jit); in fillDouble()
/external/llvm/utils/TableGen/
DDAGISelMatcher.cpp353 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
356 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
DCodeGenDAGPatterns.cpp32 static inline bool isInteger(MVT::SimpleValueType VT) { in isInteger() function
33 return EVT(VT).isInteger(); in isInteger()
104 if (isInteger(TypeVec[i])) in hasIntegerTypes()
234 return FillWithPossibleTypes(TP, isInteger, "integer"); in EnforceInteger()
242 if (!isInteger(TypeVec[i])) in EnforceInteger()
392 if (isInteger(TypeVec[i])) { in EnforceSmallerThan()
397 if (isInteger(TypeVec[i]) && TypeVec[i] < SmallestInt) in EnforceSmallerThan()
416 if (isInteger(*TVI)) { in EnforceSmallerThan()
448 if (isInteger(Other.TypeVec[i])) { in EnforceSmallerThan()
453 if (isInteger(Other.TypeVec[i]) && Other.TypeVec[i] > LargestInt) in EnforceSmallerThan()
[all …]
DIntrinsicEmitter.cpp249 if (EVT(VT).isInteger()) { in EncodeFixedValueType()
/external/webkit/Source/JavaScriptCore/wtf/
DHashTraits.h38 template<bool isInteger, typename T> struct GenericHashTraitsBase;
/external/llvm/lib/VMCore/
DValueTypes.cpp104 if (isInteger()) in getEVTString()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp990 EXPECT_TRUE(matches("int i = 0;", varDecl(hasType(isInteger())))); in TEST()
994 to(varDecl(hasType(isInteger())))))))); in TEST()
998 EXPECT_TRUE(notMatches("int *i;", varDecl(hasType(isInteger())))); in TEST()
1001 to(varDecl(hasType(isInteger())))))))); in TEST()
2254 hasImplicitDestinationType(isInteger()))))); in TEST()
/external/icu4c/i18n/unicode/
Ddecimfmt.h1939 UBool isInteger) const;
/external/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp453 if (SrcVT.isInteger() != DstVT.isInteger()) in OptimizeNoopCopyExpression()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp997 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()

12