Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h145 bool isInteger() const { in isInteger() function
146 return isSimple() ? V.isInteger() : isExtendedInteger(); in isInteger()
382 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
393 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
H A DTargetLowering.h1386 assert((VT.isInteger() || VT.isFloatingPoint()) && in getTypeToPromoteTo()
1392 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo()
1479 if (VT.isInteger()) { in getRegisterType()
1510 if (VT.isInteger()) {
/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp192 bool isInteger() const { return Kind == SInt || Kind == UInt; } in isInteger() function in __anonf5d68bc30111::Type
201 bool isInt() const { return isInteger() && ElementBitwidth == 32; } in isInt()
608 if (isInteger() && !isSigned()) in str()
647 } else if (isInteger()) in builtin_str()
671 else if (isInteger() && !isSigned()) in builtin_str()
676 assert(isInteger() && isSigned()); in builtin_str()
720 if (isInteger() && !isSigned()) in getNeonEnum()
962 else if (T.isInteger()) in getInstTypeCode()
1009 if (!RetT.isScalar() && RetT.isInteger() && !RetT.isSigned()) in getBuiltinTypeStr()
1030 if (LocalCK == ClassI && T.isInteger()) in getBuiltinTypeStr()
[all …]
H A DSveEmitter.cpp98 bool isInteger() const { return !isFloatingPoint() && !Predicate; } in isInteger() function in __anon1b4186c10111::SVEType
880 if (T.isInteger()) in replaceTemplatedArgs()
H A DMveEmitter.cpp278 bool isInteger() const { return Kind != ScalarTypeKind::Float; } in isInteger() function in __anonb7c02cfb0111::ScalarType
279 bool requiresFloat() const override { return !isInteger(); } in requiresFloat()
1311 if (ST->isInteger() && ST->sizeInBits() < 32) in getCodeForArg()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp953 (EltVT.isInteger() && Op.getValueType().isInteger() && in VerifySDNode()
1292 assert(VT.isInteger() && OpVT.isInteger() && in getZeroExtendInReg()
4885 assert(VT.isInteger() && Operand.getValueType().isInteger() && in getNode()
4904 assert(VT.isInteger() && Operand.getValueType().isInteger() && in getNode()
4923 assert(VT.isInteger() && Operand.getValueType().isInteger() && in getNode()
5697 assert(VT.isInteger() && N2.getValueType().isInteger() && in getNode()
5729 assert(VT.isInteger() && EVT.isInteger() && in getNode()
5741 assert(VT.isInteger() && EVT.isInteger() && in getNode()
5883 (N1.getValueType().isInteger() == VT.isInteger()) && in getNode()
7389 assert(VT.isInteger() == MemVT.isInteger() && in getLoad()
[all …]
H A DLegalizeTypesGeneric.cpp102 if (InVT.isVector() && OutVT.isInteger()) { in ExpandRes_BITCAST()
318 assert(Op.getValueType().isInteger()); in IntegerToVector()
337 N->getOperand(0).getValueType().isInteger()) { in ExpandOp_BITCAST()
H A DTargetLowering.cpp209 assert(VT.isInteger()); in findOptimalMemOpLowering()
215 assert(LVT.isInteger()); in findOptimalMemOpLowering()
408 assert(RetVT.isInteger()); in softenSetCCOperands()
2285 if (VT.isInteger()) in SimplifyDemandedBits()
3198 assert(OpVT.isInteger()); in foldSetCCWithAnd()
3288 assert(XVT.isInteger()); in optimizeSetCCOfSignedTruncationCheck()
3492 assert(CTVT.isInteger()); in simplifySetCCWithCTPOP()
4231 assert(!N0.getValueType().isInteger() && in SimplifySetCC()
4250 N0.getValueType().isInteger()) { in SimplifySetCC()
4494 if (ConstraintVT.isInteger()) in LowerXConstraint()
[all …]
H A DLegalizeDAG.cpp406 (EltVT.isInteger() && Val.getValueType().bitsGE(EltVT))) { in ExpandINSERT_VECTOR_ELT()
2517 assert(NewInTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalINT_TO_FP()
2575 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT()
2618 assert(NewOutTy.isInteger() && "Ran out of possibilities!"); in PromoteLegalFP_TO_INT_SAT()
2812 if (VT.isInteger()) in ExpandNode()
4453 assert(OVT.isInteger() in PromoteNode()
4489 assert(OVT.isInteger() && "Cannot promote logic operation"); in PromoteNode()
4538 } else if (Node->getValueType(0).isInteger()) { in PromoteNode()
4589 if (NVT.isInteger()) { in PromoteNode()
4622 if (NVT.isInteger()) { in PromoteNode()
[all …]
H A DDAGCombiner.cpp9347 if (!VT.isInteger()) in foldSelectOfConstants()
9431 if (CondVT.isInteger() && in foldSelectOfConstants()
12643 (!LegalOperations && VT.isInteger() && N0.getValueType().isInteger() && in visitBITCAST()
12944 assert(SrcEltVT.isInteger() && DstEltVT.isInteger()); in ConstantFoldBITCASTofBUILD_VECTOR()
15674 STType.isInteger() && STMemType.isInteger()) { in getTruncatedStoreValue()
15692 if (LDMemType.isInteger() && LDType.isInteger()) { in extendLoadedValueToExtension()
15792 if (STType.isInteger() && LDMemType.isInteger() && !STType.isVector() && in ForwardStoreValueToDirectLoad()
15818 STMemType.isInteger() && LDMemType.isInteger()) in ForwardStoreValueToDirectLoad()
18732 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT()
18840 assert(InOp.getValueType().isInteger() && ScalarVT.isInteger()); in visitEXTRACT_VECTOR_ELT()
[all …]
H A DSelectionDAGBuilder.cpp184 if (ValueVT.isInteger()) { in getCopyFromParts()
260 if (PartEVT.isInteger() && ValueVT.isFloatingPoint() && in getCopyFromParts()
273 if (PartEVT.isInteger() && ValueVT.isInteger()) { in getCopyFromParts()
298 if (PartEVT == MVT::x86mmx && ValueVT.isInteger() && in getCopyFromParts()
519 ValueVT.isInteger() && in getCopyToParts()
533 ValueVT.isInteger() && in getCopyToParts()
560 assert(PartVT.isInteger() && ValueVT.isInteger() && in getCopyToParts()
844 !RegisterVT.isInteger()) in getCopyFromRegs()
8204 if ((OpInfo.ConstraintVT.isInteger() != in patchMatchingInput()
8205 MatchingOpInfo.ConstraintVT.isInteger()) || in patchMatchingInput()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp89 declRefExpr(to(varDecl(hasType(isInteger())).bind(BindName))) in simpleCondition()
161 hasType(isInteger())))))))), in forLoopMatcher()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp200 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
216 if (!getHasAlu32() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h391 bool isInteger() const;
683 bool isInteger() const;
1232 bool isInteger() const { APFLOAT_DISPATCH_ON_SEMANTICS(isInteger()); } in isInteger() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h38 assert(Old.getType() == DIEValue::isInteger); in set()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp255 qualType(hasCanonicalType(isInteger()), in checkASTCodeBody()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp261 case DIEValue::isInteger: { in hashAttribute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallingConvLower.cpp201 if (!VT.isInteger()) in isValueTypeInRegForCC()
H A DTargetLoweringBase.cpp924 assert(LHSTy.isInteger() && "Shift amount is not an integer type!"); in getShiftAmountTy()
979 assert(VT.isInteger() && "Float types must be simple"); in getTypeConversion()
1008 if (EltVT.isInteger()) { in getTypeConversion()
1669 if (ExtendKind != ISD::ANY_EXTEND && VT.isInteger()) { in GetReturnInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1010 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge()
1011 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp961 if (!VT.isInteger() || VT.getSizeInBits() > 64) in tryRISBGZero()
1061 if (!VT.isInteger() || VT.getSizeInBits() > 64) in tryRxSBG()
1595 Node->getValueType(0).isInteger() && in Select()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp72 !(VT.isInteger() || VT.isFloatingPoint())) in isSupportedType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1177 if (!UVT.isSimple() || !UVT.isInteger() || UVT.getSimpleVT() == MVT::i1) in ppHoistZextI1()
1343 if (!T.isInteger() || T.getSizeInBits() != 32 || !isa<ConstantSDNode>(N)) in SelectAnyInt()
1521 if (T.isInteger() && T.getSizeInBits() == NumBits) { in keepsLowBits()
1530 if (Val.getOperand(0).getValueType().isInteger()) { in keepsLowBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1540 bool IsInteger = BaseF->isInteger(), IsReciprocal = BaseR.isInteger(); in replacePowWithExp()
1732 if (!ExpoA.isInteger()) { in optimizePow()
1740 if (!Expo2.isInteger()) in optimizePow()
1772 if (ExpoF->isInteger() && in optimizePow()

123