Home
last modified time | relevance | path

Searched refs:IsStrict (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp191 bool IsStrict = N->isStrictFPOpcode(); in SoftenFloatRes_Unary() local
193 unsigned Offset = IsStrict ? 1 : 0; in SoftenFloatRes_Unary()
197 SDValue Chain = IsStrict ? N->getOperand(0) : SDValue(); in SoftenFloatRes_Unary()
204 if (IsStrict) in SoftenFloatRes_Unary()
210 bool IsStrict = N->isStrictFPOpcode(); in SoftenFloatRes_Binary() local
212 unsigned Offset = IsStrict ? 1 : 0; in SoftenFloatRes_Binary()
217 SDValue Chain = IsStrict ? N->getOperand(0) : SDValue(); in SoftenFloatRes_Binary()
225 if (IsStrict) in SoftenFloatRes_Binary()
550 bool IsStrict = N->isStrictFPOpcode(); in SoftenFloatRes_FMA() local
552 unsigned Offset = IsStrict ? 1 : 0; in SoftenFloatRes_FMA()
[all …]
H A DLegalizeVectorOps.cpp825 bool IsStrict = Node->isStrictFPOpcode(); in PromoteINT_TO_FP() local
826 MVT VT = Node->getOperand(IsStrict ? 1 : 0).getSimpleValueType(); in PromoteINT_TO_FP()
845 if (IsStrict) { in PromoteINT_TO_FP()
866 bool IsStrict = Node->isStrictFPOpcode(); in PromoteFP_TO_INT() local
883 if (IsStrict) { in PromoteFP_TO_INT()
903 if (IsStrict) in PromoteFP_TO_INT()
1821 bool IsStrict = Node->isStrictFPOpcode(); in ExpandUINT_TO_FLOAT() local
1822 unsigned OpNo = IsStrict ? 1 : 0; in ExpandUINT_TO_FLOAT()
1833 if (IsStrict) in ExpandUINT_TO_FLOAT()
1839 if (((!IsStrict && TLI.getOperationAction(ISD::SINT_TO_FP, SrcVT) == in ExpandUINT_TO_FLOAT()
[all …]
H A DLegalizeDAG.cpp2891 bool IsStrict = N->isStrictFPOpcode(); in PromoteLegalINT_TO_FP() local
2895 SDValue LegalOp = N->getOperand(IsStrict ? 1 : 0); in PromoteLegalINT_TO_FP()
2896 unsigned UIntOp = IsStrict ? ISD::STRICT_UINT_TO_FP : ISD::UINT_TO_FP; in PromoteLegalINT_TO_FP()
2897 unsigned SIntOp = IsStrict ? ISD::STRICT_SINT_TO_FP : ISD::SINT_TO_FP; in PromoteLegalINT_TO_FP()
2928 if (IsStrict) { in PromoteLegalINT_TO_FP()
2952 bool IsStrict = N->isStrictFPOpcode(); in PromoteLegalFP_TO_INT() local
2956 SDValue LegalOp = N->getOperand(IsStrict ? 1 : 0); in PromoteLegalFP_TO_INT()
2969 OpToUse = IsStrict ? ISD::STRICT_FP_TO_SINT : ISD::FP_TO_SINT; in PromoteLegalFP_TO_INT()
2974 OpToUse = IsStrict ? ISD::STRICT_FP_TO_UINT : ISD::FP_TO_UINT; in PromoteLegalFP_TO_INT()
2983 if (IsStrict) { in PromoteLegalFP_TO_INT()
[all …]
H A DLegalizeIntegerTypes.cpp2650 bool IsStrict = N->isStrictFPOpcode(); in PromoteIntOp_ExpOp() local
2651 SDValue Chain = IsStrict ? N->getOperand(0) : SDValue(); in PromoteIntOp_ExpOp()
2655 unsigned OpOffset = IsStrict ? 1 : 0; in PromoteIntOp_ExpOp()
2691 if (IsStrict) in PromoteIntOp_ExpOp()
4122 static SDValue fpExtendHelper(SDValue Op, SDValue &Chain, bool IsStrict, EVT VT, in fpExtendHelper() argument
4124 if (IsStrict) { in fpExtendHelper()
4139 bool IsStrict = N->isStrictFPOpcode(); in ExpandIntRes_FP_TO_XINT() local
4140 SDValue Chain = IsStrict ? N->getOperand(0) : SDValue(); in ExpandIntRes_FP_TO_XINT()
4141 SDValue Op = N->getOperand(IsStrict ? 1 : 0); in ExpandIntRes_FP_TO_XINT()
4148 Op = fpExtendHelper(Op, Chain, IsStrict, MVT::f32, dl, DAG); in ExpandIntRes_FP_TO_XINT()
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-nice-strict_test.cc197 EXPECT_FALSE(Mock::IsStrict(&raw_foo)); in TEST()
324 EXPECT_FALSE(Mock::IsStrict(&nice_foo)); in TEST()
443 EXPECT_FALSE(Mock::IsStrict(&naggy_foo)); in TEST()
537 EXPECT_TRUE(Mock::IsStrict(&strict_foo)); in TEST()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp19732 bool IsStrict = Op->isStrictFPOpcode(); in LowerI64IntToFP_AVX512DQ() local
19733 unsigned OpNo = IsStrict ? 1 : 0; in LowerI64IntToFP_AVX512DQ()
19750 if (IsStrict) { in LowerI64IntToFP_AVX512DQ()
19773 bool IsStrict = Op->isStrictFPOpcode(); in LowerI64IntToFP16() local
19774 SDValue Src = Op.getOperand(IsStrict ? 1 : 0); in LowerI64IntToFP16()
19786 if (IsStrict) { in LowerI64IntToFP16()
19918 bool IsStrict = Op->isStrictFPOpcode(); in lowerINT_TO_FP_vXi64() local
19920 SDValue Src = Op->getOperand(IsStrict ? 1 : 0); in lowerINT_TO_FP_vXi64()
19936 SDValue Tmp = IsStrict ? DAG.getConstant(0, DL, MVT::v8i64) in lowerINT_TO_FP_vXi64()
19941 if (IsStrict) { in lowerINT_TO_FP_vXi64()
[all …]
H A DX86ISelDAGToDAG.cpp1283 bool IsStrict = N->isStrictFPOpcode(); in PreprocessISelDAG() local
1285 if (IsStrict) in PreprocessISelDAG()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc673 bool Mock::IsStrict(void* mock_obj) in IsStrict() function in testing::Mock
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp971 const bool IsStrict = in foldIntrinsicIsFPClass() local
989 (IsOrdered || IsUnordered) && !IsStrict) { in foldIntrinsicIsFPClass()
1007 (IsOrdered || IsUnordered) && !IsStrict) { in foldIntrinsicIsFPClass()
1022 (IsOrdered || IsUnordered) && !IsStrict) { in foldIntrinsicIsFPClass()
1035 if (Mask == fcNan && !IsStrict) { in foldIntrinsicIsFPClass()
1044 if (Mask == (~fcNan & fcAllFlags) && !IsStrict) { in foldIntrinsicIsFPClass()
1067 if (!IsStrict && (IsOrdered || IsUnordered) && in foldIntrinsicIsFPClass()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3742 bool IsStrict = Op->isStrictFPOpcode(); in LowerSETCC() local
3744 cast<CondCodeSDNode>(Op.getOperand(IsStrict ? 3 : 2))->get(); in LowerSETCC()
3745 SDValue LHS = Op.getOperand(IsStrict ? 1 : 0); in LowerSETCC()
3746 SDValue RHS = Op.getOperand(IsStrict ? 2 : 1); in LowerSETCC()
3747 SDValue Chain = IsStrict ? Op.getOperand(0) : SDValue(); in LowerSETCC()
3760 if (IsStrict) in LowerSETCC()
3765 assert(!IsStrict && "Don't know how to handle STRICT_FSETCC!"); in LowerSETCC()
8385 bool IsStrict = Op->isStrictFPOpcode(); in convertFPToInt() local
8394 SDValue Src = Op.getOperand(IsStrict ? 1 : 0); in convertFPToInt()
8395 SDValue Chain = IsStrict ? Op.getOperand(0) : SDValue(); in convertFPToInt()
[all …]
H A DPPCISelDAGToDAG.cpp4473 bool IsStrict = N->isStrictFPOpcode(); in trySETCC() local
4475 cast<CondCodeSDNode>(N->getOperand(IsStrict ? 3 : 2))->get(); in trySETCC()
4479 SDValue Chain = IsStrict ? N->getOperand(0) : SDValue(); in trySETCC()
4481 SDValue LHS = N->getOperand(IsStrict ? 1 : 0); in trySETCC()
4482 SDValue RHS = N->getOperand(IsStrict ? 2 : 1); in trySETCC()
4484 if (!IsStrict && !Subtarget->useCRBits() && isInt32Immediate(RHS, Imm)) { in trySETCC()
4569 if (!IsStrict && LHS.getValueType().isVector()) { in trySETCC()
4598 if (IsStrict) in trySETCC()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6808 SDValue Chain, bool IsStrict) const { in useLibCall()
6814 return IsStrict ? DAG.getMergeValues({Result, Chain}, DL) : Result; in useLibCall()
6821 bool IsStrict = Op->isStrictFPOpcode(); in lower_FP_TO_INT() local
6824 SDValue InOp = Op.getOperand(IsStrict ? 1 : 0); in lower_FP_TO_INT()
6825 SDValue Chain = IsStrict ? Op.getOperand(0) : DAG.getEntryNode(); in lower_FP_TO_INT()
6846 return useLibCall(DAG, LC, VT, InOp, DL, Chain, IsStrict); in lower_FP_TO_INT()
6856 bool IsStrict = Op->isStrictFPOpcode(); in lower_INT_TO_FP() local
6859 SDValue InOp = Op.getOperand(IsStrict ? 1 : 0); in lower_INT_TO_FP()
6860 SDValue Chain = IsStrict ? Op.getOperand(0) : DAG.getEntryNode(); in lower_INT_TO_FP()
6877 return useLibCall(DAG, LC, VT, InOp, DL, Chain, IsStrict); in lower_INT_TO_FP()
[all …]
H A DSystemZISelLowering.h632 SDLoc DL, SDValue Chain, bool IsStrict) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4326 bool IsStrict = Op->isStrictFPOpcode(); in LowerFP_EXTEND() local
4327 SDValue Op0 = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_EXTEND()
4334 if (Op0VT == MVT::bf16 && IsStrict) { in LowerFP_EXTEND()
4354 bool IsStrict = Op->isStrictFPOpcode(); in LowerFP_ROUND() local
4355 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_ROUND()
4357 bool Trunc = Op.getConstantOperandVal(IsStrict ? 2 : 1) == 1; in LowerFP_ROUND()
4392 if (IsStrict) in LowerFP_ROUND()
4395 NewOps.push_back(Op.getOperand(IsStrict ? 2 : 1)); in LowerFP_ROUND()
4478 return IsStrict ? DAG.getMergeValues({Result, Op.getOperand(0)}, DL) in LowerFP_ROUND()
4499 bool IsStrict = Op->isStrictFPOpcode(); in LowerVectorFP_TO_INT() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp2250 bool IsStrict, StringRef Replacement, AvailabilityMergeKind AMK, in mergeAvailabilityAttr() argument
2410 Message, IsStrict, Replacement, Priority, Environment); in mergeAvailabilityAttr()
2469 bool IsStrict = AL.getStrictLoc().isValid(); in handleAvailabilityAttr() local
2496 if (S.getLangOpts().HLSL && IsStrict) in handleAvailabilityAttr()
2524 Obsoleted.Version, IsUnavailable, Str, IsStrict, Replacement, in handleAvailabilityAttr()
2584 NewObsoleted, IsUnavailable, Str, IsStrict, Replacement, in handleAvailabilityAttr()
2626 NewObsoleted, IsUnavailable, Str, IsStrict, Replacement, in handleAvailabilityAttr()
2660 IsStrict, Replacement, AvailabilityMergeKind::None, in handleAvailabilityAttr()
2702 IsStrict, Replacement, AvailabilityMergeKind::None, in handleAvailabilityAttr()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3046 bool IsStrict = Op->isStrictFPOpcode(); in lowerINT_TO_FP() local
3049 if (IsStrict) { in lowerINT_TO_FP()
3182 bool IsStrict = Op->isStrictFPOpcode(); in lowerFP_TO_INT() local
3183 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in lowerFP_TO_INT()
3190 if (IsStrict) { in lowerFP_TO_INT()
7513 bool IsStrict = Op->isStrictFPOpcode(); in LowerOperation() local
7514 SDValue Src = Op.getOperand(0 + IsStrict); in LowerOperation()
7540 if (IsStrict) in LowerOperation()
7550 if (IsStrict) { in LowerOperation()
7565 if (IsStrict) { in LowerOperation()
[all …]
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h392 static bool IsStrict(void* mock_obj)
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5975 bool IsStrict = Op->isStrictFPOpcode(); in LowerFP_TO_INT() local
5976 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_TO_INT()
5989 SDValue Chain = IsStrict ? Op.getOperand(0) : SDValue(); in LowerFP_TO_INT()
5993 return IsStrict ? DAG.getMergeValues({Result, Chain}, Loc) : Result; in LowerFP_TO_INT()
5997 if (IsStrict) { in LowerFP_TO_INT()
20820 bool IsStrict = Op->isStrictFPOpcode(); in LowerFP_EXTEND() local
20821 SDValue SrcVal = Op.getOperand(IsStrict ? 1 : 0); in LowerFP_EXTEND()
20836 if (IsStrict) { in LowerFP_EXTEND()
20853 SDValue Chain = IsStrict ? Op.getOperand(0) : SDValue(); in LowerFP_EXTEND()
20859 if (IsStrict) { in LowerFP_EXTEND()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp6234 bool IsStrict) { in simplifyLdexp() argument
6244 if (!IsStrict) { in simplifyLdexp()
6265 if (IsStrict) in simplifyLdexp()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp4427 bool IsStrict = Op.getOpcode() == ISD::STRICT_FP_EXTEND; in lowerFP_EXTEND() local
4428 SDValue Src = Op.getOperand(IsStrict ? 1 : 0); in lowerFP_EXTEND()
4439 if (IsStrict) in lowerFP_EXTEND()
7157 bool IsStrict = Op.getOpcode() == ISD::STRICT_FLDEXP; in lowerFLDEXP() local
7161 SDValue Exp = Op.getOperand(IsStrict ? 2 : 1); in lowerFLDEXP()
7182 if (IsStrict) { in lowerFLDEXP()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4896 bool IsStrict, StringRef Replacement, AvailabilityMergeKind AMK,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp10993 bool IsStrict) { in isIdentityMask() argument
10999 if (!IsStrict) { in isIdentityMask()