| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | Twine.h | 523 Child NewLHS, NewRHS; in concat() local 524 NewLHS.twine = this; in concat() 528 NewLHS = 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 | 925 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC() 926 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC() 1009 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC() 1010 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC() 1038 SDValue NewLHS = GetSoftenedFloat(Op0); in SoftenFloatOp_SETCC() local 1046 NewLHS = DAG.getNode(ISD::SETCC, SDLoc(N), N->getValueType(0), NewLHS, in SoftenFloatOp_SETCC() 1058 ReplaceValueWith(SDValue(N, 0), NewLHS); in SoftenFloatOp_SETCC() 1062 return NewLHS; in SoftenFloatOp_SETCC() 1836 GetExpandedFloat(NewLHS, LHSLo, LHSHi); in FloatExpandSetCCOperands() 1985 ReplaceValueWith(SDValue(N, 0), NewLHS); in ExpandFloatOp_SETCC() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 4760 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands() 4768 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands() 4778 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands() 4788 NewLHS = LHSHi; in IntegerExpandSetCCOperands() 4846 NewLHS = HiCmp; in IntegerExpandSetCCOperands() 4853 NewLHS = LoCmp; in IntegerExpandSetCCOperands() 4889 NewLHS = Res; in IntegerExpandSetCCOperands() 4896 if (!NewLHS.getNode()) in IntegerExpandSetCCOperands() 4897 NewLHS = in IntegerExpandSetCCOperands() 4899 NewLHS = DAG.getSelect(dl, LoCmp.getValueType(), NewLHS, LoCmp, HiCmp); in IntegerExpandSetCCOperands() [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() 408 NewLHS = Call.first; 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() 432 NewLHS = DAG.getNode(ShouldInvertCC ? ISD::AND : ISD::OR, dl, in softenSetCCOperands() 433 Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands()
|
| H A D | DAGCombiner.cpp | 7028 SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0); in visitOR() local 7032 TLI.buildLegalVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, in visitOR()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 441 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local 443 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI() 445 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI() 446 InsertNewInstBefore(NewLHS, PN); in foldPHIArgBinOpIntoPHI() 447 LHSVal = NewLHS; in foldPHIArgBinOpIntoPHI() 459 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI() 464 if (NewLHS) { in foldPHIArgBinOpIntoPHI() 466 NewLHS->addIncoming(NewInLHS, InBB); in foldPHIArgBinOpIntoPHI()
|
| H A D | InstructionCombining.cpp | 1826 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop() local 1828 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop() 3354 auto *NewLHS = WO->getLHS(); in visitExtractValueInst() local 3356 NewLHS = Builder.CreateAdd(NewLHS, ConstantInt::get(OpTy, Offset)); in visitExtractValueInst() 3357 return new ICmpInst(ICmpInst::getInversePredicate(Pred), NewLHS, in visitExtractValueInst()
|
| H A D | InstCombineShifts.cpp | 1005 Constant *NewLHS = ConstantInt::get(Ty, C1->shl(*C)); in visitShl() local 1007 return BinaryOperator::CreateSub(NewLHS, NewShift); in visitShl()
|
| H A D | InstCombineAndOrXor.cpp | 61 Value *NewLHS; in SimplifyBSwap() local 62 if (!match(OldLHS, m_BSwap(m_Value(NewLHS)))) in SimplifyBSwap() 81 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); in SimplifyBSwap() 1923 Value *NewLHS = Builder.CreateAnd(X, Op1, X->getName() + ".masked"); in visitAnd() local 1924 return BinaryOperator::Create(BinOp, NewLHS, Y); in visitAnd()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 350 llvm::SMTExprRef NewLHS = LHS; 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/clang/lib/Basic/ |
| H A D | Module.cpp | 81 SmallString<128> NewLHS = LHS.slice(0, Pos); in isPlatformEnvironment() local 82 NewLHS += LHS.slice(Pos+1, LHS.size()); in isPlatformEnvironment() 83 return NewLHS == RHS; in isPlatformEnvironment()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 241 Value *NewLHS = CheapExpansions[InvariantLHS]; in makeIVComparisonInvariant() local 244 if (!NewLHS) in makeIVComparisonInvariant() 246 NewLHS = ConstLHS->getValue(); in makeIVComparisonInvariant() 251 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant() 259 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 695 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local 700 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree() 704 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree() 717 if (NewLHS != OldLHS) { in RewriteExprTree() 721 Op->setOperand(0, NewLHS); in RewriteExprTree()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3571 SDValue NewLHS = LHS.getOperand(0); in foldFreeOpFromSelect() local 3577 if (NewLHS.hasOneUse()) { in foldFreeOpFromSelect() 3578 unsigned Opc = NewLHS.getOpcode(); in foldFreeOpFromSelect() 3592 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect() 3595 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3505 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS, 3510 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 812 auto *NewLHS = 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() 40971 NewLHS = NewLHS ? NewLHS : LHS; in SimplifyDemandedVectorEltsForTargetNode() 41175 SDValue NewLHS = SimplifyMultipleUseDemandedBits( in SimplifyDemandedVectorEltsForTargetNode() local 41179 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode() 41180 NewLHS = NewLHS ? NewLHS : LHS; in SimplifyDemandedVectorEltsForTargetNode() 41798 SDValue NewLHS = SimplifyMultipleUseDemandedBits( in SimplifyDemandedBitsForTargetNode() local 41803 if (NewSel || NewLHS || NewRHS) { in SimplifyDemandedBitsForTargetNode() 41805 NewLHS = NewLHS ? NewLHS : LHS; in SimplifyDemandedBitsForTargetNode() 47037 SDValue NewLHS = in combineVectorHADDSUB() local 49837 !shouldUseHorizontalOp(NewLHS == NewRHS && in isHorizontalBinOp() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 2545 Register &NewLHS = std::get<0>(MatchInfo); in matchSimplifyAddToSub() local 2554 NewLHS = MaybeNewLHS; in matchSimplifyAddToSub()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3415 const SCEV *NewLHS = in getUDivExpr() local 3418 if (LHS != NewLHS) { in getUDivExpr() 3419 LHS = NewLHS; in getUDivExpr()
|