Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DValueTypes.h144 bool isInteger() const { in isInteger() function
145 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
387 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
398 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
H A DTargetLowering.h1472 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
1478 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
1565 if (VT.isInteger()) { in getRegisterType()
1596 if (VT.isInteger()) {
/openbsd-src/gnu/llvm/clang/docs/
H A DLibASTMatchersTutorial.rst218 variable(hasType(isInteger())).bind("intvar")
376 hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
386 varDecl(hasType(isInteger())).bind("incrementVariable"))))))
411 hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
412 hasRHS(expr(hasType(isInteger())))))
449 to(varDecl(hasType(isInteger())))))),
450 hasRHS(expr(hasType(isInteger())))))
493 to(varDecl(hasType(isInteger())).bind("incVarName")))))),
497 to(varDecl(hasType(isInteger())).bind("condVarName"))))),
498 hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DNeonEmitter.cpp191 bool isInteger() const { return Kind == SInt || Kind == UInt; } in isInteger() function in __anoncfaa73c60111::Type
199 bool isShort() const { return isInteger() && ElementBitwidth == 16; } in isShort()
200 bool isInt() const { return isInteger() && ElementBitwidth == 32; } in isInt()
201 bool isLong() const { return isInteger() && ElementBitwidth == 64; } in isLong()
612 if (isInteger() && !isSigned()) in str()
651 } else if (isInteger()) in builtin_str()
675 else if (isInteger() && !isSigned()) in builtin_str()
680 assert(isInteger() && isSigned()); in builtin_str()
724 if (isInteger() && !isSigned()) in getNeonEnum()
966 else if (T.isInteger()) in getInstTypeCode()
[all …]
H A DSveEmitter.cpp98 bool isInteger() const { return !isFloatingPoint() && !Predicate; } in isInteger() function in __anon5066fa640111::SVEType
880 if (T.isInteger()) in replaceTemplatedArgs()
H A DMveEmitter.cpp279 bool isInteger() const { return Kind != ScalarTypeKind::Float; } in isInteger() function in __anonece5a09e0111::ScalarType
280 bool requiresFloat() const override { return !isInteger(); } in requiresFloat()
1317 if (ST->isInteger() && ST->sizeInBits() < 32) in getCodeForArg()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp558 return getSetCCInverseImpl(Op, Type.isInteger()); in getSetCCInverse()
587 bool IsInteger = Type.isInteger(); in getSetCCOrOperation()
608 bool IsInteger = Type.isInteger(); in getSetCCAndOperation()
1078 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode()
1083 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifySDNode()
1097 (EltVT.isInteger() && Op.getValueType().isInteger() && in VerifySDNode()
1438 assert(VT.isInteger() && OpVT.isInteger() && in getZeroExtendInReg()
1531 assert(VT.isInteger() && "Cannot create FP integer constant!"); in getConstant()
1642 assert(VT.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountConstant()
2402 assert(!OpVT.isInteger() && "Illegal setcc for integer!"); in FoldSetCC()
[all …]
H A DLegalizeTypesGeneric.cpp102 if (InVT.isVector() && OutVT.isInteger()) { in ExpandRes_BITCAST()
316 assert(Op.getValueType().isInteger()); in IntegerToVector()
335 N->getOperand(0).getValueType().isInteger()) { in ExpandOp_BITCAST()
H A DDAGCombiner.cpp797 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
1362 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
1430 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
1479 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
1510 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
4263 if (VT.isVector() || !VT.isInteger()) in useDivRem()
5423 if (XVT.isInteger() && XVT == Y.getValueType() && in hoistLogicOpWithSameOpcodeHands()
5514 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs()
10523 if (!VT.isInteger()) in foldSelectOfConstants()
10541 if (CondVT.isInteger() && in foldSelectOfConstants()
[all …]
H A DTargetLowering.cpp215 assert(VT.isInteger()); in findOptimalMemOpLowering()
221 assert(LVT.isInteger()); in findOptimalMemOpLowering()
414 assert(RetVT.isInteger()); in softenSetCCOperands()
797 if (CC == ISD::SETLT && Op1.getValueType().isInteger() && in SimplifyMultipleUseDemandedBits()
1672 if (CC == ISD::SETLT && Op1.getValueType().isInteger() && in SimplifyDemandedBits()
2730 if (VT.isInteger()) in SimplifyDemandedBits()
3730 if (N0.getOpcode() != ISD::AND || !OpVT.isInteger() || in foldSetCCWithAnd()
3785 assert(OpVT.isInteger()); in foldSetCCWithAnd()
3875 assert(XVT.isInteger()); in optimizeSetCCOfSignedTruncationCheck()
4077 assert(CTVT.isInteger()); in simplifySetCCWithCTPOP()
[all …]
H A DSelectionDAGBuilder.cpp180 if (ValueVT.isInteger()) { in getCopyFromParts()
240 assert(ValueVT.isFloatingPoint() && PartVT.isInteger() && in getCopyFromParts()
255 if (PartEVT.isInteger() && ValueVT.isFloatingPoint() && in getCopyFromParts()
268 if (PartEVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
293 if (PartEVT == MVT::x86mmx && ValueVT.isInteger() && in getCopyFromParts()
417 if (PartEVT.isInteger() && ValueVT.isFloatingPoint()) in getCopyFromPartsVector()
455 } else if (ValueSVT.isFloatingPoint() && PartEVT.isInteger()) { in getCopyFromPartsVector()
526 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
527 ValueVT.isInteger() && in getCopyToParts()
540 assert((PartVT.isInteger() || PartVT == MVT::x86mmx) && in getCopyToParts()
[all …]
H A DLegalizeDAG.cpp406 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
2552 assert(NewInTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalINT_TO_FP()
2610 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT()
2653 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT_SAT()
2847 if (VT.isInteger()) in ExpandNode()
4573 assert(OVT.isInteger() in PromoteNode()
4609 assert(OVT.isInteger() && "Cannot promote logic operation"); in PromoteNode()
4658 } else if (Node->getValueType(0).isInteger()) { in PromoteNode()
4709 if (NVT.isInteger()) { in PromoteNode()
4742 if (NVT.isInteger()) { in PromoteNode()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp92 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
164 hasType(isInteger())))))))), in forLoopMatcher()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp340 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
343 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp201 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
217 if (!getHasAlu32() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h405 bool isInteger() const;
704 bool isInteger() const;
1246 bool isInteger() const { APFLOAT_DISPATCH_ON_SEMANTICS(isInteger()); } in isInteger() function
/openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h36 assert(Old.getType() == DIEValue::isInteger); in set()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp254 qualType(hasCanonicalType(isInteger()), in checkASTCodeBody()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp268 case DIEValue::isInteger: { in hashAttribute()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCallingConvLower.cpp193 if (!VT.isInteger()) in isValueTypeInRegForCC()
H A DTargetLoweringBase.cpp921 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
983 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
1012 if (EltVT.isInteger()) { in getTypeConversion()
1695 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp343 hasType(isInteger()), hasType(enumType())); in matcher()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp964 if (!VT.isInteger() || VT.getSizeInBits() > 64) in tryRISBGZero()
1064 if (!VT.isInteger() || VT.getSizeInBits() > 64) in tryRxSBG()
1601 Node->getValueType(0).isInteger() && in Select()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.h1099 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge()
1100 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp73 !(VT.isInteger() || VT.isFloatingPoint())) in isSupportedType()

1234