Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h151 bool isInteger() const { in isInteger() function
152 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
405 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
416 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
H A DValueTypes.td22 bit isInteger = false;
37 let isInteger = true;
49 let isInteger = elt.isInteger;
H A DSDPatternMatch.h274 return ValueType_match{[](EVT VT) { return VT.isInteger(); }, P}; in m_IntegerVT()
277 return ValueType_match{[](EVT VT) { return VT.isInteger(); }, m_Value()}; in m_IntegerVT()
H A DTargetLowering.h1636 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
1643 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
1728 if (VT.isInteger()) { in getRegisterType()
1759 if (VT.isInteger()) {
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp191 bool isInteger() const { return Kind == SInt || Kind == UInt; } in isInteger() function in __anonfaf0748f0111::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()
616 if (isInteger() && !isSigned()) in str()
655 } else if (isInteger()) in builtin_str()
679 else if (isInteger() && !isSigned()) in builtin_str()
684 assert(isInteger() && isSigned()); in builtin_str()
728 if (isInteger() && !isSigned()) in getNeonEnum()
963 else if (T.isInteger()) in getInstTypeCode()
[all …]
H A DMveEmitter.cpp279 bool isInteger() const { return Kind != ScalarTypeKind::Float; } in isInteger() function in __anon819a2c470111::ScalarType
280 bool requiresFloat() const override { return !isInteger(); } in requiresFloat()
1318 if (ST->isInteger() && ST->sizeInBits() < 32) in getCodeForArg()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp604 return getSetCCInverseImpl(Op, Type.isInteger()); in getSetCCInverse()
633 bool IsInteger = Type.isInteger(); in getSetCCOrOperation()
654 bool IsInteger = Type.isInteger(); in getSetCCAndOperation()
1125 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode()
1130 assert(N->getOperand(0).getValueType().isInteger() == VT.isInteger() && in VerifySDNode()
1144 (EltVT.isInteger() && Op.getValueType().isInteger() && in VerifySDNode()
1528 assert(VT.isInteger() && OpVT.isInteger() && in getZeroExtendInReg()
1548 assert(VT.isInteger() && OpVT.isInteger() && in getVPZeroExtendInReg()
1640 assert(VT.isInteger() && "Cannot create FP integer constant!"); in getConstant()
1757 assert(VT.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountConstant()
[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.cpp1504 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
1572 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
1621 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
1652 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
4601 if (VT.isVector() || !VT.isInteger()) in useDivRem()
5876 if (XVT.isInteger() && XVT == Y.getValueType() && in hoistLogicOpWithSameOpcodeHands()
5967 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs()
6196 if (((OpVT.isInteger() && TLI.isOperationLegal(ISD::UMAX, OpVT) && in foldAndOrOfSETCC()
6246 if (OpVT.isInteger()) { in foldAndOrOfSETCC()
6272 LHS0 == RHS0 && LHS1C && RHS1C && OpVT.isInteger()) { in foldAndOrOfSETCC()
[all …]
H A DTargetLowering.cpp217 assert(VT.isInteger()); in findOptimalMemOpLowering()
223 assert(LVT.isInteger()); in findOptimalMemOpLowering()
416 assert(RetVT.isInteger()); in softenSetCCOperands()
826 if (CC == ISD::SETLT && Op1.getValueType().isInteger() && in SimplifyMultipleUseDemandedBits()
1719 if (CC == ISD::SETLT && Op1.getValueType().isInteger() && in SimplifyDemandedBits()
2957 if (VT.isInteger()) in SimplifyDemandedBits()
3984 if (N0.getOpcode() != ISD::AND || !OpVT.isInteger() || in foldSetCCWithAnd()
4043 assert(OpVT.isInteger()); in foldSetCCWithAnd()
4132 assert(XVT.isInteger()); in optimizeSetCCOfSignedTruncationCheck()
4324 assert(CTVT.isInteger()); in simplifySetCCWithCTPOP()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp92 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
164 hasType(isInteger())))))))), in forLoopMatcher()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DDAGISelMatcher.cpp340 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
343 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp206 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
222 if (!getHasAlu32() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp37 if (!VT.isVector() && VT.isInteger() && VT.getSizeInBits() <= 64) in getNumRegistersForCallingConv()
97 else if (VT.isInteger()) in getRegForInlineAsmConstraint()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h464 bool isInteger() const;
786 bool isInteger() const;
1371 bool isInteger() const { APFLOAT_DISPATCH_ON_SEMANTICS(isInteger()); } in isInteger() function
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.h48 assert(Old.getType() == DIEValue::isInteger); in set()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp254 qualType(hasCanonicalType(isInteger()), in checkASTCodeBody()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp268 case DIEValue::isInteger: { in hashAttribute()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp168 if (isInteger()) in getEVTString()
H A DCallingConvLower.cpp196 if (!VT.isInteger()) in isValueTypeInRegForCC()
H A DTargetLoweringBase.cpp868 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
947 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
976 if (EltVT.isInteger()) { in getTypeConversion()
1656 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) in GetReturnInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DMachineValueType.h88 bool isInteger() const { in isInteger() function
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h565 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge()
566 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1123 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge()
1124 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()

1234