| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | Twine.h | 543 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 D | LegalizeFloatTypes.cpp | 1238 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 D | LegalizeIntegerTypes.cpp | 5560 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 D | LegalizeTypes.h | 538 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, 745 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
|
| H A D | TargetLowering.cpp | 306 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 D | InstCombinePHI.cpp | 480 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 D | InstCombineShifts.cpp | 853 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 D | InstCombineCompares.cpp | 664 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 D | InstCombineAddSub.cpp | 1338 Constant *NewRHS = ConstantInt::get(RHS->getType(), MinusC1); in foldAddLikeCommutative() local 1339 return BinaryOperator::CreateSRem(RHS, NewRHS); in foldAddLikeCommutative()
|
| H A D | InstructionCombining.cpp | 2445 Value *NewRHS = ConstOp1 ? NewC : V1; in foldVectorBinop() local 2446 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
|
| H A D | InstCombineAndOrXor.cpp | 2577 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 D | Reassociate.cpp | 614 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 D | LoopFlatten.cpp | 359 Value *NewRHS = ConstantInt::get(ConstantRHS->getContext(), in verifyTripCount() local 361 return setLoopComponents(NewRHS, TripCount, Increment, in verifyTripCount()
|
| H A D | GuardWidening.cpp | 753 ConstantInt *NewRHS = in mergeChecks() local 757 Result = new ICmpInst(*InsertPt, Pred, LHS, NewRHS, "wide.chk"); in mergeChecks()
|
| H A D | IndVarSimplify.cpp | 1506 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 D | LoopStrengthReduce.cpp | 2544 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 D | LICM.cpp | 2480 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 D | SMTConv.h | 353 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 D | AMDGPUMCExpr.cpp | 663 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 D | CoverageMapping.cpp | 148 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 D | SimplifyIndVar.cpp | 237 auto *NewRHS = in makeIVComparisonInvariant() local 242 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Record.cpp | 1579 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 D | X86ISelLowering.cpp | 42615 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 D | TargetLowering.h | 4038 SDValue &NewRHS, ISD::CondCode &CCCode, 4043 SDValue &NewRHS, ISD::CondCode &CCCode,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 4802 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()
|