Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp852 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
855 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC()
856 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC()
858 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC()
864 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
870 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
920 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
923 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC()
924 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC()
926 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp1348 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
1358 SDValue OpL = GetPromotedInteger(NewLHS); in PromoteSetCCOperands()
1369 if (OpLEffectiveBits <= NewLHS.getScalarValueSizeInBits() && in PromoteSetCCOperands()
1371 NewLHS = OpL; in PromoteSetCCOperands()
1374 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
1383 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
1390 NewLHS = SExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
3803 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument
3808 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands()
3816 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands()
[all …]
DLegalizeTypes.h456 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
612 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
DTargetLowering.cpp284 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
289 return softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, dl, OldLHS, in softenSetCCOperands()
294 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
397 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands()
403 NewLHS = Call.first; in softenSetCCOperands()
418 SDValue Tmp = DAG.getSetCC(dl, SetCCVT, NewLHS, NewRHS, CCCode); in softenSetCCOperands()
423 NewLHS = DAG.getSetCC(dl, SetCCVT, Call2.first, NewRHS, CCCode); in softenSetCCOperands()
427 NewLHS = DAG.getNode(ShouldInvertCC ? ISD::AND : ISD::OR, dl, in softenSetCCOperands()
428 Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands()
DDAGCombiner.cpp5864 SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0); in visitOR() local
5868 TLI.buildLegalVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, in visitOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTwine.h501 Child NewLHS, NewRHS; in concat() local
502 NewLHS.twine = this; in concat()
506 NewLHS = LHS; in concat()
514 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTwine.h509 Child NewLHS, NewRHS; in concat() local
510 NewLHS.twine = this; in concat()
514 NewLHS = LHS; in concat()
522 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp336 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local
338 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
340 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
341 InsertNewInstBefore(NewLHS, PN); in FoldPHIArgBinOpIntoPHI()
342 LHSVal = NewLHS; in FoldPHIArgBinOpIntoPHI()
354 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
357 if (NewLHS) { in FoldPHIArgBinOpIntoPHI()
359 NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineAndOrXor.cpp89 Value *NewLHS; in SimplifyBSwap() local
90 if (!match(OldLHS, m_BSwap(m_Value(NewLHS)))) in SimplifyBSwap()
109 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); in SimplifyBSwap()
1801 Value *NewLHS = Builder.CreateAnd(X, Op1, X->getName() + ".masked"); in visitAnd() local
1802 return BinaryOperator::Create(BinOp, NewLHS, Y); in visitAnd()
DInstructionCombining.cpp1587 Value *NewLHS = ConstOp1 ? V1 : NewC; in foldVectorBinop() local
1589 return createBinOpShuffle(NewLHS, NewRHS, Mask); in foldVectorBinop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp220 Value *NewLHS = CheapExpansions[InvariantLHS]; in makeIVComparisonInvariant() local
223 if (!NewLHS) in makeIVComparisonInvariant()
225 NewLHS = ConstLHS->getValue(); in makeIVComparisonInvariant()
230 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant()
238 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp677 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local
682 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
686 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
699 if (NewLHS != OldLHS) { in RewriteExprTree()
703 Op->setOperand(0, NewLHS); in RewriteExprTree()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h3032 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
3037 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp3540 SDValue NewLHS = LHS.getOperand(0); in foldFreeOpFromSelect() local
3546 if (NewLHS.hasOneUse()) { in foldFreeOpFromSelect()
3547 unsigned Opc = NewLHS.getOpcode(); in foldFreeOpFromSelect()
3561 std::swap(NewLHS, NewRHS); in foldFreeOpFromSelect()
3564 Cond, NewLHS, NewRHS); in foldFreeOpFromSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp3484 Constant *NewLHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst() local
3490 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp40594 SDValue NewLHS = lowerX86CmpEqZeroToCtlzSrl(LHS, VT, DAG); in combineOrCmpEqZeroToCtlzSrl() local
40596 if (NewLHS && (NewRHS = lowerX86CmpEqZeroToCtlzSrl(RHS, VT, DAG))) in combineOrCmpEqZeroToCtlzSrl()
40597 Ret = DAG.getNode(ISD::OR, SDLoc(OR), VT, NewLHS, NewRHS); in combineOrCmpEqZeroToCtlzSrl()