Home
last modified time | relevance | path

Searched refs:NewRHS (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTwine.h538 Child NewLHS, NewRHS;
540 NewRHS.twine = &Suffix;
547 NewRHS = Suffix.LHS;
551 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind);
519 Child NewLHS, NewRHS; concat() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp1093 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
1098 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
1099 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC()
1104 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
1105 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
1111 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
1177 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
1182 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
1183 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC()
1188 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
H A DLegalizeIntegerTypes.cpp5321 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
5326 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
5332 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
5337 NewRHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSHi, RHSHi); in IntegerExpandSetCCOperands()
5338 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands()
5339 NewRHS = DAG.getConstant(0, dl, NewLHS.getValueType()); in IntegerExpandSetCCOperands()
5345 if (ConstantSDNode *CST = dyn_cast<ConstantSDNode>(NewRHS)) in IntegerExpandSetCCOperands()
5349 NewRHS = RHSHi; in IntegerExpandSetCCOperands()
5406 NewRHS = SDValue(); in IntegerExpandSetCCOperands()
5413 NewRHS = SDValue(); in IntegerExpandSetCCOperands()
[all …]
H A DLegalizeTypes.h526 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
713 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
H A DTargetLowering.cpp292 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
297 return softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, dl, OldLHS, in softenSetCCOperands()
302 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
405 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands()
412 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
426 SDValue Tmp = DAG.getSetCC(dl, SetCCVT, NewLHS, NewRHS, CCCode); in softenSetCCOperands()
431 NewLHS = DAG.getSetCC(dl, SetCCVT, Call2.first, NewRHS, CCCode); in softenSetCCOperands()
437 NewRHS = SDValue(); in softenSetCCOperands()
H A DLegalizeDAG.cpp3224 SDValue NewRHS = in ExpandNode() local
3228 NewRHS, AN->getMemOperand()); in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp448 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.getIterator()); 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()
H A DInstCombineShifts.cpp837 Value *NewRHS = in FoldShiftByConstant() local
844 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
866 Value *NewRHS = in FoldShiftByConstant() local
870 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
883 Value *NewRHS = in FoldShiftByConstant() local
887 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
H A DInstCombineCompares.cpp662 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, DL, Nodes, IC); in transformToIndexedCompare() local
669 IC.Builder.getInt(Offset), NewRHS); in transformToIndexedCompare()
1470 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() local
1471 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
1472 return new ICmpInst(Pred, X, ConstantInt::get(SrcTy, NewRHS)); in foldICmpTruncConstant()
H A DInstCombineAddSub.cpp1601 Constant *NewRHS = ConstantInt::get(RHS->getType(), minusC1); in visitAdd() local
1602 return BinaryOperator::CreateSRem(RHS, NewRHS); in visitAdd()
H A DInstructionCombining.cpp2203 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop() local
2204 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
H A DInstCombineAndOrXor.cpp2500 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked"); in visitAnd() local
2501 return BinaryOperator::Create(BinOp, X, NewRHS); in visitAnd()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h351 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp614 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local
618 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
622 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
641 if (NewRHS != OldRHS) { in RewriteExprTree()
645 Op->setOperand(1, NewRHS); in RewriteExprTree()
660 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local
661 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree()
663 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree()
672 Op->setOperand(1, NewRHS); in RewriteExprTree()
H A DLoopFlatten.cpp359 Value *NewRHS = ConstantInt::get(ConstantRHS->getContext(), in verifyTripCount() local
361 return setLoopComponents(NewRHS, TripCount, Increment, in verifyTripCount()
H A DGuardWidening.cpp754 ConstantInt *NewRHS = in mergeChecks() local
758 Result = new ICmpInst(*InsertPt, Pred, LHS, NewRHS, "wide.chk"); in mergeChecks()
H A DIndVarSimplify.cpp1531 auto *NewRHS = CastInst::Create( in canonicalizeExitCondition() local
1535 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
H A DLoopStrengthReduce.cpp2557 Value *NewRHS = nullptr; in OptimizeMax() local
2563 NewRHS = BO->getOperand(0); in OptimizeMax()
2567 NewRHS = BO->getOperand(0); in OptimizeMax()
2568 if (!NewRHS) in OptimizeMax()
2571 NewRHS = Sel->getOperand(1); in OptimizeMax()
2573 NewRHS = Sel->getOperand(2); in OptimizeMax()
2575 NewRHS = SU->getValue(); in OptimizeMax()
2588 Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
H A DLICM.cpp2467 Value *NewRHS = Builder.CreateBinaryIntrinsic( in hoistMinMax() local
2475 Value *NewCond = Builder.CreateICmp(P, LHS1, NewRHS); in hoistMinMax()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp237 auto *NewRHS = in makeIVComparisonInvariant() local
242 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3883 SDValue &NewRHS, ISD::CondCode &CCCode,
3888 SDValue &NewRHS, ISD::CondCode &CCCode,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41085 SDValue NewRHS = DAG.getNode(X86ISD::PSHUFB, DL, ShufVT, in combineTargetShuffle() local
41089 DAG.getBitcast(VT, NewRHS), N.getOperand(2)); in combineTargetShuffle()
41155 SDValue NewLHS, NewRHS; in combineTargetShuffle() local
41163 NewRHS = widenSubVector(RHSOps[1], false, Subtarget, DAG, DL, 512); in combineTargetShuffle()
41166 if (NewLHS || NewRHS) in combineTargetShuffle()
41168 NewRHS ? NewRHS : RHS, in combineTargetShuffle()
41949 SDValue NewRHS = SimplifyMultipleUseDemandedVectorElts( in SimplifyDemandedVectorEltsForTargetNode() local
41951 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode()
41953 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode()
41955 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewLHS, NewRHS)); in SimplifyDemandedVectorEltsForTargetNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4574 SDValue NewRHS = RHS; in foldFreeOpFromSelect() local
4605 NewRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); in foldFreeOpFromSelect()
4608 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect()
4611 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1232 auto *NewRHS = in instCombineSVELast() local
1235 OpC, NewLHS, NewRHS, OldBinOp, OldBinOp->getName(), II.getIterator()); in instCombineSVELast()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3531 APInt NewRHS = in getUDivExpr() local
3536 return getUDivExpr(OtherDiv->getLHS(), getConstant(NewRHS)); in getUDivExpr()
10718 APInt NewRHS; in SimplifyICmpOperands() local
10720 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands()
10724 RHS = getConstant(NewRHS); in SimplifyICmpOperands()

12