Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h771 CondCode getSetCCInverse(CondCode Operation, bool isInteger);
781 CondCode getSetCCOrOperation(CondCode Op1, CondCode Op2, bool isInteger);
787 CondCode getSetCCAndOperation(CondCode Op1, CondCode Op2, bool isInteger);
DValueTypes.h161 bool isInteger() const { in isInteger() function
479 bool isInteger() const { in isInteger() function
480 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
619 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
631 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.cpp234 ISD::CondCode ISD::getSetCCInverse(ISD::CondCode Op, bool isInteger) { in getSetCCInverse() argument
236 if (isInteger) in getSetCCInverse()
272 bool isInteger) { in getSetCCOrOperation() argument
273 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCOrOperation()
285 if (isInteger && Op == ISD::SETUNE) // e.g. SETUGT | SETULT in getSetCCOrOperation()
296 bool isInteger) { in getSetCCAndOperation() argument
297 if (isInteger && (isSignedOp(Op1) | isSignedOp(Op2)) == 3) in getSetCCAndOperation()
305 if (isInteger) { in getSetCCAndOperation()
775 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
780 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifyNodeCommon()
[all …]
DTargetLowering.cpp770 if (!ExpandedVT.isInteger()) in computeRegisterProperties()
849 isTypeLegal(SVT) && SVT.getScalarType().isInteger()) { in computeRegisterProperties()
1024 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
2181 N0.getOperand(0).getValueType().isInteger()); in SimplifySetCC()
2415 if (N0.getValueType().isInteger()) { in SimplifySetCC()
2437 N0.getValueType().isInteger()) { in SimplifySetCC()
2709 if (ConstraintVT.isInteger()) in LowerXConstraint()
2954 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
2955 Input.ConstraintVT.isInteger()) || in ParseConstraints()
3005 if ((OpInfo.ConstraintVT.isInteger() != in ParseConstraints()
[all …]
DDAGCombiner.cpp797 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
855 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
899 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
928 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1453 if (VT.isInteger() && !VT.isVector()) { in visitADD()
2350 if (In0Ty.isInteger() && In1Ty.isInteger() && In0Ty == In1Ty) { in SimplifyBinOpWithSameOpcodeHands()
2547 LL.getValueType().isInteger()) { in visitAND()
2576 bool isInteger = LL.getValueType().isInteger(); in visitAND() local
2577 ISD::CondCode Result = ISD::getSetCCAndOperation(Op0, Op1, isInteger); in visitAND()
3019 LL.getValueType().isInteger()) { in visitOR()
[all …]
DLegalizeDAG.cpp381 assert(ST->getMemoryVT().isInteger() && in ExpandUnalignedStore()
504 assert(LoadedVT.isInteger() && !LoadedVT.isVector() && in ExpandUnalignedLoad()
614 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
2223 assert(NewInTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalINT_TO_FP()
2265 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT()
2359 assert(VT.isInteger() && Len <= 128 && Len % 8 == 0 && in ExpandBitCount()
2639 if (VT.isInteger()) in ExpandNode()
3549 assert(OVT.isInteger() in PromoteNode()
3576 assert(OVT.isInteger() && "Cannot promote logic operation"); in PromoteNode()
3593 } else if (Node->getValueType(0).isInteger()) { in PromoteNode()
[all …]
DSelectionDAGBuilder.cpp110 if (ValueVT.isInteger()) { in getCopyFromParts()
170 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() && in getCopyFromParts()
183 if (PartVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
355 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
356 ValueVT.isInteger() && in getCopyToParts()
369 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
370 ValueVT.isInteger() && in getCopyToParts()
392 assert(PartVT.isInteger() && ValueVT.isInteger() && in getCopyToParts()
681 !RegisterVT.isInteger() || RegisterVT.isVector()) in getCopyFromRegs()
1210 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) in visitRet()
[all …]
DLegalizeTypes.h689 else if (Op.getValueType().isInteger()) in GetSplitOp()
720 if (Op.getValueType().isInteger()) in GetExpandedOp()
DLegalizeTypesGeneric.cpp94 if (InVT.isVector() && OutVT.isInteger()) { in ExpandRes_BITCAST()
/external/llvm/include/llvm/Target/
DTargetLowering.h494 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
500 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
554 if (VT.isInteger()) { in getRegisterType()
577 if (VT.isInteger()) { in getNumRegisters()
1853 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
1880 if (mayPromoteElements && EltVT.isInteger()) { in getTypeConversion()
/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.cpp178 if (EVT(VT).isInteger()) { in EmitTypeForValueType()
/external/webkit/Source/JavaScriptCore/wtf/
DHashTraits.h38 template<bool isInteger, typename T> struct GenericHashTraitsBase;
/external/llvm/lib/VMCore/
DValueTypes.cpp100 if (isInteger()) in getEVTString()
/external/llvm/lib/Transforms/Scalar/
DCodeGenPrepare.cpp397 if (SrcVT.isInteger() != DstVT.isInteger()) in OptimizeNoopCopyExpression()
/external/icu4c/i18n/unicode/
Ddecimfmt.h1939 UBool isInteger) const;
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp993 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1699 assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() && in DoSelectCall()
1708 assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() && in DoSelectCall()
1717 assert(VA.getLocVT().isInteger() && !VA.getLocVT().isVector() && in DoSelectCall()
/external/icu4c/i18n/
Ddecimfmt.cpp1190 UBool isInteger) const in subformat()
1437 UBool fractionPresent = (!isInteger && digitIndex < digits.getCount()) || in subformat()
1473 (isInteger || digitIndex >= digits.getCount())) { in subformat()
1488 if (!isInteger && digitIndex < digits.getCount()) { in subformat()

12