Home
last modified time | relevance | path

Searched refs:LHSUnsigned (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4310 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in FoldFCmp_IntToFP_Cst() local
4315 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in FoldFCmp_IntToFP_Cst()
4350 if (MaxExponent < (int)InputSize - !LHSUnsigned) in FoldFCmp_IntToFP_Cst()
4356 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in FoldFCmp_IntToFP_Cst()
4376 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in FoldFCmp_IntToFP_Cst()
4380 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in FoldFCmp_IntToFP_Cst()
4384 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in FoldFCmp_IntToFP_Cst()
4388 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst()
4406 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()
4432 if (!LHSUnsigned) { in FoldFCmp_IntToFP_Cst()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5828 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local
5833 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()
5868 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()
5874 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()
5894 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()
5898 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()
5902 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()
5906 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()
5924 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
5950 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp5696 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local
5701 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()
5736 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()
5742 if (MantissaWidth <= Exp && Exp <= (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()
5762 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()
5766 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()
5770 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()
5774 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()
5792 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
5818 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
[all …]
/external/llvm-project/clang/lib/AST/
DASTContext.cpp6410 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local
6416 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()
6422 if (LHSUnsigned) { in getIntegerTypeOrder()
9828 bool LHSUnsigned = LHS->castAs<ExtIntType>()->isUnsigned(); in mergeTypes() local
9834 if (LHSUnsigned != RHSUnsigned) in mergeTypes()
/external/clang/lib/AST/
DASTContext.cpp4854 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local
4860 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()
4866 if (LHSUnsigned) { in getIntegerTypeOrder()