/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 852 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local 857 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC() 858 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC() 863 if (!NewRHS.getNode()) { 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 925 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC() 926 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC() 931 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC() [all …]
|
D | LegalizeIntegerTypes.cpp | 1348 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument 1359 SDValue OpR = GetPromotedInteger(NewRHS); in PromoteSetCCOperands() 1370 OpREffectiveBits <= NewRHS.getScalarValueSizeInBits()) { in PromoteSetCCOperands() 1372 NewRHS = OpR; in PromoteSetCCOperands() 1375 NewRHS = SExtOrZExtPromotedInteger(NewRHS); in PromoteSetCCOperands() 1384 NewRHS = SExtOrZExtPromotedInteger(NewRHS); in PromoteSetCCOperands() 1391 NewRHS = SExtPromotedInteger(NewRHS); in PromoteSetCCOperands() 3804 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument 3809 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands() 3818 NewRHS = RHSLo; in IntegerExpandSetCCOperands() [all …]
|
D | LegalizeTypes.h | 456 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, 612 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
|
D | TargetLowering.cpp | 284 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() 404 NewRHS = DAG.getConstant(0, dl, RetVT); 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() 429 NewRHS = SDValue(); in softenSetCCOperands()
|
D | DAGCombiner.cpp | 5865 SDValue NewRHS = ZeroN10 ? N1.getOperand(1) : N1.getOperand(0); in visitOR() local 5868 TLI.buildLegalVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, in visitOR() 7357 SDValue NewRHS = DAG.getNode(N->getOpcode(), DL, VT, LHS.getOperand(1), in visitShiftByConstant() local 7359 assert(isa<ConstantSDNode>(NewRHS) && "Folding was not successful!"); in visitShiftByConstant() 7363 return DAG.getNode(LHS.getOpcode(), DL, VT, NewShift, NewRHS); in visitShiftByConstant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Twine.h | 501 Child NewLHS, NewRHS; in concat() local 503 NewRHS.twine = &Suffix; in concat() 510 NewRHS = Suffix.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/ |
D | Twine.h | 509 Child NewLHS, NewRHS; in concat() local 511 NewRHS.twine = &Suffix; in concat() 518 NewRHS = Suffix.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/ |
D | InstCombinePHI.cpp | 336 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local 346 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI() 348 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI() 349 InsertNewInstBefore(NewRHS, PN); in FoldPHIArgBinOpIntoPHI() 350 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI() 354 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI() 361 if (NewRHS) { in FoldPHIArgBinOpIntoPHI() 363 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
|
D | InstCombineShifts.cpp | 847 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local 855 NewRHS); in FoldShiftByConstant() 864 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local 870 return BinaryOperator::CreateSub(NewRHS, NewShift); in FoldShiftByConstant() 891 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local 897 NewRHS); in FoldShiftByConstant() 910 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local 916 NewRHS); in FoldShiftByConstant()
|
D | InstCombineAndOrXor.cpp | 93 Value *NewRHS; in SimplifyBSwap() local 96 if (match(OldRHS, m_BSwap(m_Value(NewRHS)))) { in SimplifyBSwap() 105 NewRHS = ConstantInt::get(I.getType(), C->byteSwap()); in SimplifyBSwap() 109 Value *BinOp = Builder.CreateBinOp(I.getOpcode(), NewLHS, NewRHS); in SimplifyBSwap() 1795 Value *NewRHS = Builder.CreateAnd(Y, Op1, Y->getName() + ".masked"); in visitAnd() local 1796 return BinaryOperator::Create(BinOp, X, NewRHS); in visitAnd()
|
D | InstCombineCompares.cpp | 833 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, DL, Nodes); in transformToIndexedCompare() local 839 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), Index, NewRHS); in transformToIndexedCompare() 1551 APInt NewRHS = C.zext(SrcBits); in foldICmpTruncConstant() local 1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant() 1553 return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), NewRHS)); in foldICmpTruncConstant()
|
D | InstructionCombining.cpp | 1588 Value *NewRHS = ConstOp1 ? NewC : V1; 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/ |
D | SimplifyIndVar.cpp | 221 Value *NewRHS = CheapExpansions[InvariantRHS]; in makeIVComparisonInvariant() local 226 if (!NewRHS) in makeIVComparisonInvariant() 228 NewRHS = ConstRHS->getValue(); in makeIVComparisonInvariant() 230 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant() 239 ICmp->setOperand(1, NewRHS); in makeIVComparisonInvariant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 678 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local 682 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree() 686 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree() 705 if (NewRHS != OldRHS) { in RewriteExprTree() 709 Op->setOperand(1, NewRHS); in RewriteExprTree() 722 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local 723 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree() 725 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree() 734 Op->setOperand(1, NewRHS); in RewriteExprTree()
|
D | GuardWidening.cpp | 535 ConstantInt *NewRHS = ConstantInt::get(Cond0->getContext(), NewRHSAP); in widenCondCommon() local 536 Result = new ICmpInst(InsertPt, Pred, LHS, NewRHS, "wide.chk"); in widenCondCommon()
|
D | LoopStrengthReduce.cpp | 2313 Value *NewRHS = nullptr; in OptimizeMax() local 2319 NewRHS = BO->getOperand(0); in OptimizeMax() 2323 NewRHS = BO->getOperand(0); in OptimizeMax() 2324 if (!NewRHS) in OptimizeMax() 2327 NewRHS = Sel->getOperand(1); in OptimizeMax() 2329 NewRHS = Sel->getOperand(2); in OptimizeMax() 2331 NewRHS = SU->getValue(); in OptimizeMax() 2344 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 3033 SDValue &NewRHS, ISD::CondCode &CCCode, 3038 SDValue &NewRHS, ISD::CondCode &CCCode,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 3541 SDValue NewRHS = RHS; in foldFreeOpFromSelect() local 3556 NewRHS = DAG.getNode(ISD::FNEG, SL, VT, RHS); 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/ |
D | ScalarEvolution.cpp | 3275 APInt NewRHS = in getUDivExpr() local 3280 return getUDivExpr(OtherDiv->getLHS(), getConstant(NewRHS)); in getUDivExpr() 9014 APInt NewRHS; in SimplifyICmpOperands() local 9016 if (ExactCR.getEquivalentICmp(NewPred, NewRHS) && in SimplifyICmpOperands() 9020 RHS = getConstant(NewRHS); in SimplifyICmpOperands()
|
D | InstructionSimplify.cpp | 3488 Constant *NewRHS = 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/ |
D | X86ISelLowering.cpp | 40595 SDValue Ret, NewRHS; 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() 40610 NewRHS = lowerX86CmpEqZeroToCtlzSrl(RHS, VT, DAG); in combineOrCmpEqZeroToCtlzSrl() 40611 if (!NewRHS) in combineOrCmpEqZeroToCtlzSrl() 40613 Ret = DAG.getNode(ISD::OR, SDLoc(OR), VT, Ret, NewRHS); in combineOrCmpEqZeroToCtlzSrl()
|