Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp6393 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst() local
6398 APSInt RHSCvt(IntTy->getBitWidth(), LHSUnsigned); in foldFCmpIntToFPConst()
6433 if (MaxExponent < (int)InputSize - !LHSUnsigned) in foldFCmpIntToFPConst()
6459 Pred = LHSUnsigned ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_SGT; in foldFCmpIntToFPConst()
6463 Pred = LHSUnsigned ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_SGE; in foldFCmpIntToFPConst()
6467 Pred = LHSUnsigned ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_SLT; in foldFCmpIntToFPConst()
6471 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in foldFCmpIntToFPConst()
6489 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
6515 if (!LHSUnsigned) { in foldFCmpIntToFPConst()
6543 Constant *RHSInt = LHSUnsigned in foldFCmpIntToFPConst()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp7126 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() local
7132 if (LHSUnsigned == RHSUnsigned) { // Both signed or both unsigned. in getIntegerTypeOrder()
7138 if (LHSUnsigned) { in getIntegerTypeOrder()
10621 bool LHSUnsigned = LHS->castAs<BitIntType>()->isUnsigned(); in mergeTypes() local
10627 if (LHSUnsigned != RHSUnsigned) in mergeTypes()