Home
last modified time | relevance | path

Searched refs:NewLHS (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTwine.h538 Child NewLHS, NewRHS;
539 NewLHS.twine = this;
543 NewLHS = 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
1096 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC()
1097 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC()
1099 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), 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
1180 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC()
1181 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC()
1183 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC()
[all …]
H A DLegalizeIntegerTypes.cpp5320 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument
5325 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands()
5331 NewLHS = DAG.getNode(ISD::AND, dl, LHSLo.getValueType(), LHSLo, LHSHi); in IntegerExpandSetCCOperands()
5336 NewLHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSLo, RHSLo); 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()
5348 NewLHS = LHSHi; in IntegerExpandSetCCOperands()
5405 NewLHS = HiCmp; in IntegerExpandSetCCOperands()
5412 NewLHS = LoCmp; in IntegerExpandSetCCOperands()
5448 NewLHS = Res; 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()
411 NewLHS = Call.first; 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()
435 NewLHS = DAG.getNode(ShouldInvertCC ? ISD::AND : ISD::OR, dl, in softenSetCCOperands()
436 Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands()
H A DDAGCombiner.cpp7915 SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0); in visitOR() local
7918 TLI.buildLegalVectorShuffle(VT, DL, NewLHS, NewRHS, Mask, DAG); in visitOR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp448 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local
450 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
452 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI()
453 InsertNewInstBefore(NewLHS, PN.getIterator()); in foldPHIArgBinOpIntoPHI()
454 LHSVal = NewLHS; in foldPHIArgBinOpIntoPHI()
466 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI()
471 if (NewLHS) { in foldPHIArgBinOpIntoPHI()
473 NewLHS->addIncoming(NewInLHS, InBB); in foldPHIArgBinOpIntoPHI()
H A DInstructionCombining.cpp2202 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop() local
2204 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
3948 auto *NewLHS = WO->getLHS(); in foldExtractOfOverflowIntrinsic() local
3950 NewLHS = Builder.CreateAdd(NewLHS, ConstantInt::get(OpTy, Offset)); in foldExtractOfOverflowIntrinsic()
3951 return new ICmpInst(ICmpInst::getInversePredicate(Pred), NewLHS, in foldExtractOfOverflowIntrinsic()
H A DInstCombineShifts.cpp1199 Constant *NewLHS = ConstantInt::get(Ty, C1->shl(*C)); in visitShl() local
1201 return BinaryOperator::CreateSub(NewLHS, NewShift); in visitShl()
H A DInstCombineAndOrXor.cpp2506 Value *NewLHS = Builder.CreateAnd(X, Op1, X->getName() + ".masked"); in visitAnd() local
2507 return BinaryOperator::Create(BinOp, NewLHS, Y); in visitAnd()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h350 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()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp80 SmallString<128> NewLHS = LHS.slice(0, Pos); in isPlatformEnvironment() local
81 NewLHS += LHS.slice(Pos+1, LHS.size()); in isPlatformEnvironment()
82 return NewLHS == RHS; in isPlatformEnvironment()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp613 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local
618 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
622 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
635 if (NewLHS != OldLHS) { in RewriteExprTree()
639 Op->setOperand(0, NewLHS); in RewriteExprTree()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp235 auto *NewLHS = in makeIVComparisonInvariant() local
241 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp4573 SDValue NewLHS = LHS.getOperand(0); in foldFreeOpFromSelect() local
4579 if (NewLHS.hasOneUse()) { in foldFreeOpFromSelect()
4580 unsigned Opc = NewLHS.getOpcode(); in foldFreeOpFromSelect()
4581 if (LHS.getOpcode() == ISD::FNEG && fnegFoldsIntoOp(NewLHS.getNode())) in foldFreeOpFromSelect()
4597 if (NewLHS.getOpcode() == ISD::FABS && in foldFreeOpFromSelect()
4608 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect()
4611 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3882 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
3887 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41083 SDValue NewLHS = DAG.getNode(X86ISD::PSHUFB, DL, ShufVT, in combineTargetShuffle() local
41088 DAG.getBitcast(VT, NewLHS), in combineTargetShuffle()
41155 SDValue NewLHS, NewRHS; in combineTargetShuffle() local
41158 NewLHS = widenSubVector(LHSOps[1], false, Subtarget, DAG, DL, 512); in combineTargetShuffle()
41166 if (NewLHS || NewRHS) in combineTargetShuffle()
41167 return DAG.getNode(X86ISD::SHUF128, DL, VT, NewLHS ? NewLHS : LHS, in combineTargetShuffle()
41947 SDValue NewLHS = SimplifyMultipleUseDemandedVectorElts( in SimplifyDemandedVectorEltsForTargetNode() local
41951 if (NewLHS || NewRHS) { in SimplifyDemandedVectorEltsForTargetNode()
41952 NewLHS = NewLHS ? NewLHS : LHS; in SimplifyDemandedVectorEltsForTargetNode()
41955 Op, TLO.DAG.getNode(Opc, SDLoc(Op), VT, NewLHS, NewRHS)); in SimplifyDemandedVectorEltsForTargetNode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1230 auto *NewLHS = in instCombineSVELast() local
1235 OpC, NewLHS, NewRHS, OldBinOp, OldBinOp->getName(), II.getIterator()); in instCombineSVELast()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3019 Register &NewLHS = std::get<0>(MatchInfo); in matchSimplifyAddToSub() local
3028 NewLHS = MaybeNewLHS; in matchSimplifyAddToSub()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3489 const SCEV *NewLHS = in getUDivExpr() local
3492 if (LHS != NewLHS) { in getUDivExpr()
3493 LHS = NewLHS; in getUDivExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp13466 SDValue NewLHS; in combineSubOfBoolean()
13475 NewLHS = in combineSubOfBoolean()
13481 NewLHS = N1.getOperand(0); in combineSubOfBoolean()
13486 return DAG.getNode(ISD::ADD, DL, VT, NewLHS, NewRHS);
13463 SDValue NewLHS; combineSubOfBoolean() local