| /openbsd/src/gnu/llvm/llvm/include/llvm/ADT/ |
| D | Twine.h | 519 Child NewLHS, NewRHS; in concat() local 521 NewRHS.twine = &Suffix; in concat() 528 NewRHS = Suffix.LHS; in concat() 532 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeFloatTypes.cpp | 922 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local 927 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC() 928 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC() 933 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC() 934 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC() 940 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC() 1006 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local 1011 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC() 1012 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC() 1017 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC() [all …]
|
| D | LegalizeIntegerTypes.cpp | 4880 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument 4885 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands() 4894 NewRHS = RHSLo; in IntegerExpandSetCCOperands() 4901 NewRHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSHi, RHSHi); in IntegerExpandSetCCOperands() 4902 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands() 4903 NewRHS = DAG.getConstant(0, dl, NewLHS.getValueType()); in IntegerExpandSetCCOperands() 4909 if (ConstantSDNode *CST = dyn_cast<ConstantSDNode>(NewRHS)) in IntegerExpandSetCCOperands() 4913 NewRHS = RHSHi; in IntegerExpandSetCCOperands() 4971 NewRHS = SDValue(); in IntegerExpandSetCCOperands() 4978 NewRHS = SDValue(); in IntegerExpandSetCCOperands() [all …]
|
| D | LegalizeTypes.h | 504 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, 667 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
|
| D | TargetLowering.cpp | 290 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument 295 return softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, dl, OldLHS, in softenSetCCOperands() 300 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument 403 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands() 410 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands() 424 SDValue Tmp = DAG.getSetCC(dl, SetCCVT, NewLHS, NewRHS, CCCode); in softenSetCCOperands() 429 NewLHS = DAG.getSetCC(dl, SetCCVT, Call2.first, NewRHS, CCCode); in softenSetCCOperands() 435 NewRHS = SDValue(); in softenSetCCOperands()
|
| D | DAGCombiner.cpp | 7190 SDValue NewRHS = ZeroN10 ? N1.getOperand(1) : N1.getOperand(0); in visitOR() local 7193 TLI.buildLegalVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, in visitOR() 9018 if (SDValue NewRHS = DAG.FoldConstantArithmetic( in visitShiftByConstant() local 9022 return DAG.getNode(LHS.getOpcode(), DL, VT, NewShift, NewRHS); in visitShiftByConstant()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombinePHI.cpp | 448 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local 458 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI() 460 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI() 461 InsertNewInstBefore(NewRHS, PN); in foldPHIArgBinOpIntoPHI() 462 RHSVal = NewRHS; in foldPHIArgBinOpIntoPHI() 466 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI() 475 if (NewRHS) { in foldPHIArgBinOpIntoPHI() 477 NewRHS->addIncoming(NewInRHS, InBB); in foldPHIArgBinOpIntoPHI()
|
| D | InstCombineShifts.cpp | 784 Value *NewRHS = in FoldShiftByConstant() local 791 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant() 813 Value *NewRHS = in FoldShiftByConstant() local 817 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant() 830 Value *NewRHS = in FoldShiftByConstant() local 834 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
|
| 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() 2121 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked"); in visitAnd() local 2122 return BinaryOperator::Create(BinOp, X, NewRHS); in visitAnd()
|
| D | InstCombineCompares.cpp | 715 Value *NewRHS = rewriteGEPAsOffset(ElemTy, RHS, PtrBase, DL, Nodes); in transformToIndexedCompare() local 721 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), Index, NewRHS); in transformToIndexedCompare() 1480 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() local 1481 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant() 1482 return new ICmpInst(Pred, X, ConstantInt::get(SrcTy, NewRHS)); in foldICmpTruncConstant()
|
| D | InstCombineAddSub.cpp | 1435 Constant *NewRHS = ConstantInt::get(RHS->getType(), minusC1); in visitAdd() local 1436 return BinaryOperator::CreateSRem(RHS, NewRHS); in visitAdd()
|
| D | InstructionCombining.cpp | 1842 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop() local 1843 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
|
| /openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| 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()
|
| D | GuardWidening.cpp | 533 ConstantInt *NewRHS = in widenCondCommon() local 535 Result = new ICmpInst(InsertPt, Pred, LHS, NewRHS, "wide.chk"); in widenCondCommon()
|
| D | LoopFlatten.cpp | 349 Value *NewRHS = ConstantInt::get( in verifyTripCount() local 351 return setLoopComponents(NewRHS, TripCount, Increment, in verifyTripCount()
|
| D | LoopStrengthReduce.cpp | 2368 Value *NewRHS = nullptr; in OptimizeMax() local 2374 NewRHS = BO->getOperand(0); in OptimizeMax() 2378 NewRHS = BO->getOperand(0); in OptimizeMax() 2379 if (!NewRHS) in OptimizeMax() 2382 NewRHS = Sel->getOperand(1); in OptimizeMax() 2384 NewRHS = Sel->getOperand(2); in OptimizeMax() 2386 NewRHS = SU->getValue(); in OptimizeMax() 2399 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
|
| D | IndVarSimplify.cpp | 1642 auto *NewRHS = in canonicalizeExitCondition() local 1646 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | SimplifyIndVar.cpp | 224 auto *NewRHS = in makeIVComparisonInvariant() local 229 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| D | TargetLowering.h | 3616 SDValue &NewRHS, ISD::CondCode &CCCode, 3621 SDValue &NewRHS, ISD::CondCode &CCCode,
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUISelLowering.cpp | 3703 SDValue NewRHS = RHS; in foldFreeOpFromSelect() local 3718 NewRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); in foldFreeOpFromSelect() 3723 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect() 3726 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/ |
| D | AArch64TargetTransformInfo.cpp | 841 auto *NewRHS = in instCombineSVELast() local 844 OpC, NewLHS, NewRHS, OldBinOp, OldBinOp->getName(), &II); in instCombineSVELast()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 42072 SDValue NewRHS = SimplifyMultipleUseDemandedVectorElts( in SimplifyDemandedVectorEltsForTargetNode() local 42074 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode() 42076 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode() 42078 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewLHS, NewRHS)); in SimplifyDemandedVectorEltsForTargetNode() 42283 SDValue NewRHS = SimplifyMultipleUseDemandedBits(RHS, BitsRHS, EltsRHS, in SimplifyDemandedVectorEltsForTargetNode() local 42285 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode() 42287 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode() 42289 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewLHS, NewRHS)); in SimplifyDemandedVectorEltsForTargetNode() 42915 SDValue NewRHS = SimplifyMultipleUseDemandedBits( in SimplifyDemandedBitsForTargetNode() local 42918 if (NewSel || NewLHS || NewRHS) { in SimplifyDemandedBitsForTargetNode() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | ScalarEvolution.cpp | 3536 APInt NewRHS = in getUDivExpr() local 3541 return getUDivExpr(OtherDiv->getLHS(), getConstant(NewRHS)); in getUDivExpr() 10676 APInt NewRHS; in SimplifyICmpOperands() local 10678 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands() 10682 RHS = getConstant(NewRHS); in SimplifyICmpOperands()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| D | CombinerHelper.cpp | 2630 Register &NewRHS = std::get<1>(MatchInfo); in matchSimplifyAddToSub() local 2636 if (!mi_match(MaybeSub, MRI, m_Neg(m_Reg(NewRHS)))) in matchSimplifyAddToSub()
|