Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTwine.h543 Child NewLHS, NewRHS; in concat() local
545 NewRHS.twine = &Suffix; in concat()
552 NewRHS = Suffix.LHS; in concat()
556 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp1238 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
1243 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
1244 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC()
1249 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
1250 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
1256 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
1322 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
1327 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
1328 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC()
1333 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
H A DLegalizeIntegerTypes.cpp5560 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
5565 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
5571 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
5576 NewRHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSHi, RHSHi); in IntegerExpandSetCCOperands()
5577 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands()
5578 NewRHS = DAG.getConstant(0, dl, NewLHS.getValueType()); in IntegerExpandSetCCOperands()
5584 if (ConstantSDNode *CST = dyn_cast<ConstantSDNode>(NewRHS)) in IntegerExpandSetCCOperands()
5588 NewRHS = RHSHi; in IntegerExpandSetCCOperands()
5645 NewRHS = SDValue(); in IntegerExpandSetCCOperands()
5652 NewRHS = SDValue(); in IntegerExpandSetCCOperands()
[all …]
H A DLegalizeTypes.h538 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
745 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
H A DTargetLowering.cpp306 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
311 return softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, dl, OldLHS, in softenSetCCOperands()
316 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
419 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands()
426 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
460 SDValue Tmp = DAG.getSetCC(dl, SetCCVT, NewLHS, NewRHS, CCCode); in softenSetCCOperands()
465 NewLHS = DAG.getSetCC(dl, SetCCVT, Call2.first, NewRHS, CCCode); in softenSetCCOperands()
471 NewRHS = SDValue(); in softenSetCCOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp480 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local
490 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
492 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI()
493 InsertNewInstBefore(NewRHS, PN.getIterator()); in foldPHIArgBinOpIntoPHI()
494 RHSVal = NewRHS; in foldPHIArgBinOpIntoPHI()
498 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI()
507 if (NewRHS) { in foldPHIArgBinOpIntoPHI()
509 NewRHS->addIncoming(NewInRHS, InBB); in foldPHIArgBinOpIntoPHI()
H A DInstCombineShifts.cpp853 Value *NewRHS = in FoldShiftByConstant() local
860 return BinaryOperator::Create(Op0BO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
882 Value *NewRHS = in FoldShiftByConstant() local
886 Value *NewOp = Builder.CreateBinOp(TBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
899 Value *NewRHS = in FoldShiftByConstant() local
903 Value *NewOp = Builder.CreateBinOp(FBO->getOpcode(), NewShift, NewRHS); in FoldShiftByConstant()
H A DInstCombineCompares.cpp664 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, NW, DL, Nodes, IC); in transformToIndexedCompare() local
671 IC.Builder.getInt(Offset), NewRHS); in transformToIndexedCompare()
1506 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() local
1507 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()
1508 return new ICmpInst(Pred, X, ConstantInt::get(SrcTy, NewRHS)); in foldICmpTruncConstant()
5965 Value *NewRHS = Op1Result.materialize(Builder); in foldICmpEqualityWithOffset() local
5966 return new ICmpInst(I.getPredicate(), NewLHS, NewRHS); in foldICmpEqualityWithOffset()
H A DInstCombineAddSub.cpp1338 Constant *NewRHS = ConstantInt::get(RHS->getType(), MinusC1); in foldAddLikeCommutative() local
1339 return BinaryOperator::CreateSRem(RHS, NewRHS); in foldAddLikeCommutative()
H A DInstructionCombining.cpp2445 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop() local
2446 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
H A DInstCombineAndOrXor.cpp2577 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked"); in visitAnd() local
2578 return BinaryOperator::Create(BinOp, X, NewRHS); in visitAnd()
/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.cpp753 ConstantInt *NewRHS = in mergeChecks() local
757 Result = new ICmpInst(*InsertPt, Pred, LHS, NewRHS, "wide.chk"); in mergeChecks()
H A DIndVarSimplify.cpp1506 auto *NewRHS = CastInst::Create( in canonicalizeExitCondition() local
1511 NewRHS->setDebugLoc(DebugLoc::getDropped()); in canonicalizeExitCondition()
1513 ICmp->setOperand(Swapped ? 0 : 1, NewRHS); in canonicalizeExitCondition()
H A DLoopStrengthReduce.cpp2544 Value *NewRHS = nullptr; in OptimizeMax() local
2550 NewRHS = BO->getOperand(0); in OptimizeMax()
2554 NewRHS = BO->getOperand(0); in OptimizeMax()
2555 if (!NewRHS) in OptimizeMax()
2558 NewRHS = Sel->getOperand(1); in OptimizeMax()
2560 NewRHS = Sel->getOperand(2); in OptimizeMax()
2562 NewRHS = SU->getValue(); in OptimizeMax()
2575 Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
H A DLICM.cpp2480 Value *NewRHS = Builder.CreateBinaryIntrinsic( in hoistMinMax() local
2489 Value *NewCond = Builder.CreateICmp(P, LHS1, NewRHS); in hoistMinMax()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h353 llvm::SMTExprRef NewRHS = RHS; in getBinExpr() local
354 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy); in getBinExpr()
376 ? fromFloatBinOp(Solver, NewLHS, Op, NewRHS) in getBinExpr()
377 : fromBinOp(Solver, NewLHS, Op, NewRHS, in getBinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp663 const MCExpr *NewRHS = tryFoldHelper(RHS, KBM, Ctx); in tryFoldHelper() local
664 if (NewLHS != LHS || NewRHS != RHS) in tryFoldHelper()
665 return MCBinaryExpr::create(BExpr->getOpcode(), NewLHS, NewRHS, Ctx, in tryFoldHelper()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp148 auto NewRHS = subst(CE.RHS, Map); in subst() local
153 C = add(NewLHS, NewRHS); in subst()
156 C = subtract(NewLHS, NewRHS); in subst()
/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/lib/TableGen/
H A DRecord.cpp1579 const Init *NewRHS = RHS->resolveReferences(R); in resolveReferences() local
1581 if (LHS != NewLHS || RHS != NewRHS) in resolveReferences()
1582 return (BinOpInit::get(getOpcode(), NewLHS, NewRHS, getType())) in resolveReferences()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42615 SDValue NewRHS = DAG.getNode(X86ISD::PSHUFB, DL, ShufVT, in combineTargetShuffle() local
42619 DAG.getBitcast(VT, NewRHS), N.getOperand(2)); in combineTargetShuffle()
42685 SDValue NewLHS, NewRHS; in combineTargetShuffle() local
42693 NewRHS = widenSubVector(RHSOps[1], false, Subtarget, DAG, DL, 512); in combineTargetShuffle()
42696 if (NewLHS || NewRHS) in combineTargetShuffle()
42699 DAG.getBitcast(VT, NewRHS ? NewRHS : RHS), in combineTargetShuffle()
43535 SDValue NewRHS = SimplifyMultipleUseDemandedVectorElts( in SimplifyDemandedVectorEltsForTargetNode() local
43537 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode()
43539 NewRHS = NewRHS ? NewRHS : RHS; in SimplifyDemandedVectorEltsForTargetNode()
43541 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewLHS, NewRHS)); in SimplifyDemandedVectorEltsForTargetNode()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4038 SDValue &NewRHS, ISD::CondCode &CCCode,
4043 SDValue &NewRHS, ISD::CondCode &CCCode,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4802 SDValue NewRHS = RHS; in foldFreeOpFromSelect() local
4833 NewRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); in foldFreeOpFromSelect()
4836 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect()
4839 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()

12