Home
last modified time | relevance | path

Searched refs:NewRHS (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp846 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
851 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
852 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_BR_CC()
856 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
857 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
863 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
898 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
903 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
904 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
908 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp937 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
947 SDValue OpR = GetPromotedInteger(NewRHS); in PromoteSetCCOperands()
956 cast<VTSDNode>(OpR->getOperand(1))->getVT() == NewRHS.getValueType()) { in PromoteSetCCOperands()
958 NewRHS = OpR; in PromoteSetCCOperands()
961 NewRHS = ZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
973 NewRHS = ZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
980 NewRHS = SExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
2701 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
2706 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
2715 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
[all …]
DTargetLowering.cpp124 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
211 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands()
214 NewRHS = DAG.getConstant(0, dl, RetVT); in softenSetCCOperands()
224 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in softenSetCCOperands()
230 NewLHS, NewRHS, DAG.getCondCode(getCmpLibcallCC(LC2))); in softenSetCCOperands()
232 NewRHS = SDValue(); in softenSetCCOperands()
DLegalizeTypes.h390 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
544 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
DDAGCombiner.cpp4302 SDValue NewRHS = DAG.getNode(N->getOpcode(), SDLoc(LHS->getOperand(1)), in visitShiftByConstant() local
4305 assert(isa<ConstantSDNode>(NewRHS) && "Folding was not successful!"); in visitShiftByConstant()
4313 return DAG.getNode(LHS->getOpcode(), SDLoc(N), VT, NewShift, NewRHS); in visitShiftByConstant()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp194 Value *NewLHS = nullptr, *NewRHS = nullptr; in eliminateIVComparison() local
201 NewRHS = in eliminateIVComparison()
205 if (NewLHS && NewRHS) in eliminateIVComparison()
212 if (!NewRHS && IncomingS == InvariantRHS) in eliminateIVComparison()
213 NewRHS = Incoming; in eliminateIVComparison()
216 if (!NewLHS || !NewRHS) in eliminateIVComparison()
225 ICmp->setOperand(1, NewRHS); in eliminateIVComparison()
/external/llvm/include/llvm/ADT/
DTwine.h500 Child NewLHS, NewRHS; in concat() local
502 NewRHS.twine = &Suffix; in concat()
509 NewRHS = Suffix.LHS; in concat()
513 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp82 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local
92 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
94 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
95 InsertNewInstBefore(NewRHS, PN); in FoldPHIArgBinOpIntoPHI()
96 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI()
100 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
107 if (NewRHS) { in FoldPHIArgBinOpIntoPHI()
109 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineSelect.cpp1129 Value *NewRHS = Builder->CreateNot(RHS); in visitSelectInst() local
1131 ? Builder->CreateICmpSLT(NewLHS, NewRHS) in visitSelectInst()
1132 : Builder->CreateICmpULT(NewLHS, NewRHS); in visitSelectInst()
1134 Builder->CreateNot(Builder->CreateSelect(NewCmp, NewLHS, NewRHS)); in visitSelectInst()
DInstCombineAndOrXor.cpp142 Value *NewRHS = IsBswapRHS ? IntrRHS->getOperand(0) : in SimplifyBSwap() local
147 BinOp = Builder->CreateAnd(NewLHS, NewRHS); in SimplifyBSwap()
149 BinOp = Builder->CreateOr(NewLHS, NewRHS); in SimplifyBSwap()
151 BinOp = Builder->CreateXor(NewLHS, NewRHS); in SimplifyBSwap()
1289 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd() local
1291 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
2733 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); in visitXor() local
2737 NewRHS = ConstantExpr::getAnd(NewRHS, in visitXor()
2741 I.setOperand(1, NewRHS); in visitXor()
DInstCombineShifts.cpp528 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), Op0C, Op1); in FoldShiftByConstant() local
535 NewRHS); in FoldShiftByConstant()
DInstructionCombining.cpp1324 Value *NewRHS = isa<Constant>(LHS) ? Shuffle->getOperand(0) : C2; in SimplifyVectorOp() local
1325 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder); in SimplifyVectorOp()
DInstCombineCompares.cpp1239 APInt NewRHS = RHS->getValue().zext(SrcBits); in visitICmpInstWithInstAndIntCst() local
1240 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
1242 Builder->getInt(NewRHS)); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp755 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local
759 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
763 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
782 if (NewRHS != OldRHS) { in RewriteExprTree()
786 Op->setOperand(1, NewRHS); in RewriteExprTree()
799 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local
800 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree()
802 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree()
811 Op->setOperand(1, NewRHS); in RewriteExprTree()
DLoopStrengthReduce.cpp2038 Value *NewRHS = nullptr; in OptimizeMax() local
2044 NewRHS = BO->getOperand(0); in OptimizeMax()
2048 NewRHS = BO->getOperand(0); in OptimizeMax()
2049 if (!NewRHS) in OptimizeMax()
2052 NewRHS = Sel->getOperand(1); in OptimizeMax()
2054 NewRHS = Sel->getOperand(2); in OptimizeMax()
2056 NewRHS = SU->getValue(); in OptimizeMax()
2069 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
/external/llvm/include/llvm/Target/
DTargetLowering.h2096 SDValue &NewLHS, SDValue &NewRHS,
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3057 Constant *NewRHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst() local
3059 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()