| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | Twine.h | 523 Child NewLHS, NewRHS; in concat() local 525 NewRHS.twine = &Suffix; in concat() 532 NewRHS = Suffix.LHS; in concat() 536 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeFloatTypes.cpp | 927 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC() 933 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC() 1011 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC() 1017 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC() 1039 SDValue NewRHS = GetSoftenedFloat(Op1); in SoftenFloatOp_SETCC() local 1044 if (NewRHS.getNode()) { in SoftenFloatOp_SETCC() 1837 GetExpandedFloat(NewRHS, RHSLo, RHSHi); in FloatExpandSetCCOperands() 1875 if (!NewRHS.getNode()) { in ExpandFloatOp_BR_CC() 1959 if (!NewRHS.getNode()) { in ExpandFloatOp_SELECT_CC() 1973 SDValue NewRHS = N->getOperand(IsStrict ? 2 : 1); in ExpandFloatOp_SETCC() local [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 4761 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands() 4770 NewRHS = RHSLo; in IntegerExpandSetCCOperands() 4789 NewRHS = RHSHi; in IntegerExpandSetCCOperands() 4847 NewRHS = SDValue(); in IntegerExpandSetCCOperands() 4854 NewRHS = SDValue(); in IntegerExpandSetCCOperands() 4890 NewRHS = SDValue(); in IntegerExpandSetCCOperands() 4900 NewRHS = SDValue(); in IntegerExpandSetCCOperands() 4910 if (!NewRHS.getNode()) { in ExpandIntOp_BR_CC() 4928 if (!NewRHS.getNode()) { in ExpandIntOp_SELECT_CC() 4934 return SDValue(DAG.UpdateNodeOperands(N, NewLHS, NewRHS, in ExpandIntOp_SELECT_CC() [all …]
|
| H A D | LegalizeTypes.h | 503 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, 666 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
|
| H A D | TargetLowering.cpp | 289 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument 294 return softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, dl, OldLHS, in softenSetCCOperands() 299 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument 402 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands() 409 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands() 423 SDValue Tmp = DAG.getSetCC(dl, SetCCVT, NewLHS, NewRHS, CCCode); in softenSetCCOperands() 428 NewLHS = DAG.getSetCC(dl, SetCCVT, Call2.first, NewRHS, CCCode); in softenSetCCOperands() 434 NewRHS = SDValue(); in softenSetCCOperands()
|
| H A D | DAGCombiner.cpp | 7029 SDValue NewRHS = ZeroN10 ? N1.getOperand(1) : N1.getOperand(0); in visitOR() local 7032 TLI.buildLegalVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, in visitOR() 8751 SDValue NewRHS = DAG.getNode(N->getOpcode(), DL, VT, LHS.getOperand(1), in visitShiftByConstant() local 8753 assert(isa<ConstantSDNode>(NewRHS) && "Folding was not successful!"); in visitShiftByConstant() 8757 return DAG.getNode(LHS.getOpcode(), DL, VT, NewShift, NewRHS); in visitShiftByConstant()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 441 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local 451 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI() 453 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI() 454 InsertNewInstBefore(NewRHS, PN); in foldPHIArgBinOpIntoPHI() 455 RHSVal = NewRHS; in foldPHIArgBinOpIntoPHI() 459 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI() 468 if (NewRHS) { in foldPHIArgBinOpIntoPHI() 470 NewRHS->addIncoming(NewInRHS, InBB); in foldPHIArgBinOpIntoPHI()
|
| H A D | InstCombineShifts.cpp | 771 Value *NewRHS = in FoldShiftByConstant() local 778 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant() 800 Value *NewRHS = in FoldShiftByConstant() local 804 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant() 817 Value *NewRHS = in FoldShiftByConstant() local 821 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
|
| H A D | InstCombineAndOrXor.cpp | 65 Value *NewRHS; in SimplifyBSwap() local 68 if (match(OldRHS, m_BSwap(m_Value(NewRHS)))) { in SimplifyBSwap() 77 NewRHS = ConstantInt::get(I.getType(), C->byteSwap()); in SimplifyBSwap() 81 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); in SimplifyBSwap() 1917 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked"); in visitAnd() local 1918 return BinaryOperator::Create(BinOp, X, NewRHS); in visitAnd()
|
| H A D | InstCombineAddSub.cpp | 1367 Constant *NewRHS = ConstantInt::get(RHS->getType(), minusC1); in visitAdd() local 1368 return BinaryOperator::CreateSRem(RHS, NewRHS); in visitAdd()
|
| H A D | InstCombineCompares.cpp | 816 Value *NewRHS = rewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes); in transformToIndexedCompare() local 822 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), Index, NewRHS); in transformToIndexedCompare() 1571 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() local 1572 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant() 1573 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), NewRHS)); in foldICmpTruncConstant()
|
| H A D | InstructionCombining.cpp | 1827 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop() local 1828 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 351 llvm::SMTExprRef NewRHS = RHS; in getBinExpr() local 352 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy); in getBinExpr() 374 ? fromFloatBinOp(Solver, NewLHS, Op, NewRHS) in getBinExpr() 375 : fromBinOp(Solver, NewLHS, Op, NewRHS, in getBinExpr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 696 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local 700 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree() 704 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree() 723 if (NewRHS != OldRHS) { in RewriteExprTree() 727 Op->setOperand(1, NewRHS); in RewriteExprTree() 740 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local 741 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree() 743 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree() 752 Op->setOperand(1, NewRHS); in RewriteExprTree()
|
| H A D | GuardWidening.cpp | 530 ConstantInt *NewRHS = in widenCondCommon() local 532 Result = new ICmpInst(InsertPt, Pred, LHS, NewRHS, "wide.chk"); in widenCondCommon()
|
| H A D | LoopFlatten.cpp | 323 Value *NewRHS = ConstantInt::get( in verifyTripCount() local 325 return setLoopComponents(NewRHS, TripCount, Increment, in verifyTripCount()
|
| H A D | LoopStrengthReduce.cpp | 2351 Value *NewRHS = nullptr; in OptimizeMax() local 2357 NewRHS = BO->getOperand(0); in OptimizeMax() 2361 NewRHS = BO->getOperand(0); in OptimizeMax() 2362 if (!NewRHS) in OptimizeMax() 2365 NewRHS = Sel->getOperand(1); in OptimizeMax() 2367 NewRHS = Sel->getOperand(2); in OptimizeMax() 2369 NewRHS = SU->getValue(); in OptimizeMax() 2382 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
|
| H A D | IndVarSimplify.cpp | 1534 auto *NewRHS = in canonicalizeExitCondition() local 1538 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 242 Value *NewRHS = CheapExpansions[InvariantRHS]; in makeIVComparisonInvariant() local 247 if (!NewRHS) in makeIVComparisonInvariant() 249 NewRHS = ConstRHS->getValue(); in makeIVComparisonInvariant() 251 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant() 260 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3506 SDValue &NewRHS, ISD::CondCode &CCCode, 3511 SDValue &NewRHS, ISD::CondCode &CCCode,
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3572 SDValue NewRHS = RHS; in foldFreeOpFromSelect() local 3587 NewRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); in foldFreeOpFromSelect() 3592 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect() 3595 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 814 auto *NewRHS = in instCombineSVELast() local 817 OpC, NewLHS, NewRHS, OldBinOp, OldBinOp->getName(), &II); in instCombineSVELast()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 40970 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode() 40972 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode() 41179 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode() 41181 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode() 41803 if (NewSel || NewLHS || NewRHS) { in SimplifyDemandedBitsForTargetNode() 41806 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedBitsForTargetNode() 47040 SDValue NewRHS = in combineVectorHADDSUB() local 48311 SDValue Ret, NewRHS; in combineOrCmpEqZeroToCtlzSrl() local 48327 if (!NewRHS) in combineOrCmpEqZeroToCtlzSrl() 49837 !shouldUseHorizontalOp(NewLHS == NewRHS && in isHorizontalBinOp() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3457 APInt NewRHS = in getUDivExpr() local 3462 return getUDivExpr(OtherDiv->getLHS(), getConstant(NewRHS)); in getUDivExpr() 10376 APInt NewRHS; in SimplifyICmpOperands() local 10378 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands() 10382 RHS = getConstant(NewRHS); in SimplifyICmpOperands()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 2546 Register &NewRHS = std::get<1>(MatchInfo); in matchSimplifyAddToSub() local 2552 if (!mi_match(MaybeSub, MRI, m_Neg(m_Reg(NewRHS)))) in matchSimplifyAddToSub()
|