Searched refs:LHSC (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1515 const APFloat *LHSC, *RHSC; in foldLogicOfFCmps() local 1518 match(LHS1, m_APFloatAllowPoison(LHSC)) && in foldLogicOfFCmps() 1520 LHSC->bitwiseIsEqual(neg(*RHSC))) { in foldLogicOfFCmps() 1533 std::swap(LHSC, RHSC); in foldLogicOfFCmps() 1544 PredL, FAbs, ConstantFP::get(LHS0->getType(), *LHSC), NewFlag); in foldLogicOfFCmps() 3343 const APInt *LHSC = nullptr, *RHSC = nullptr; in foldAndOrOfICmps() local 3344 match(LHS1, m_APInt(LHSC)); in foldAndOrOfICmps() 3453 if (!LHSC || !RHSC) in foldAndOrOfICmps() 3470 BigC = LHSC; in foldAndOrOfICmps() 3473 SmallC = LHSC; in foldAndOrOfICmps() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 603 const APInt *LHSC; in SimplifyDemandedUseBits() local 604 if (match(I->getOperand(0), m_LowBitMask(LHSC)) && in SimplifyDemandedUseBits() 605 DemandedFromOps.isSubsetOf(*LHSC)) { in SimplifyDemandedUseBits()
|
| H A D | InstCombineCompares.cpp | 6986 const APInt *LHSC; in foldICmpUsingKnownBits() local 6987 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits() 6988 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | IROutliner.cpp | 180 const ConstantInt *LHSC = cast<ConstantInt>(LHS); in getSortedConstantKeys() local 183 return LHSC->getLimitedValue() < RHSC->getLimitedValue(); in getSortedConstantKeys()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3135 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(Ops[0])) { in getMulExpr() local 3146 const SCEV *LHS = getMulExpr(LHSC, Add->getOperand(0), in getMulExpr() 3148 const SCEV *RHS = getMulExpr(LHSC, Add->getOperand(1), in getMulExpr() 3526 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) in getUDivExpr() local 3527 return getConstant(LHSC->getAPInt().udiv(RHSC->getAPInt())); in getUDivExpr() 10752 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in SimplifyICmpOperands() local 10755 if (!ICmpInst::compare(LHSC->getAPInt(), RHSC->getAPInt(), Pred)) in SimplifyICmpOperands()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 8279 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local 8283 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder() 8284 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder() 8288 if (LHSC == RHSC) return 0; in getIntegerTypeOrder() 8290 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder() 8293 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1554 if (auto *LHSC = dyn_cast<Constant>(LHS)) in optimizeMemCmpConstantSize() local 1555 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 10469 const APInt &LHSC = LHS->getAPIntValue(); in visitSHL() local 10471 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSHL() 10472 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSHL() 11065 const APInt &LHSC = LHS->getAPIntValue(); in visitSRL() local 11067 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSRL() 11068 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSRL()
|
| H A D | SelectionDAGBuilder.cpp | 5902 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local 5904 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 57489 auto *LHSC = dyn_cast<ConstantSDNode>(LHS); in combineADC() local 57493 if (LHSC && !RHSC) in combineADC() 57500 if (LHSC && RHSC && LHSC->isZero() && RHSC->isZero() && in combineADC() 57518 if (LHSC && RHSC && !LHSC->isZero() && !N->hasAnyUseOfValue(1)) { in combineADC() 57520 APInt Sum = LHSC->getAPIntValue() + RHSC->getAPIntValue(); in combineADC()
|