Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp669 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
674 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
675 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_BR_CC()
679 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
680 NewRHS = DAG.getConstant(0, NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
686 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
715 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
720 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
721 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
725 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp858 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
875 NewRHS = ZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
882 NewRHS = SExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
2516 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
2521 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
2530 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
2537 NewRHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSHi, RHSHi); in IntegerExpandSetCCOperands()
2538 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands()
2539 NewRHS = DAG.getConstant(0, NewLHS.getValueType()); in IntegerExpandSetCCOperands()
2545 if (ConstantSDNode *CST = dyn_cast<ConstantSDNode>(NewRHS)) in IntegerExpandSetCCOperands()
[all …]
DTargetLowering.cpp118 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
200 SDValue Ops[2] = { NewLHS, NewRHS }; in softenSetCCOperands()
203 NewRHS = DAG.getConstant(0, RetVT); in softenSetCCOperands()
208 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in softenSetCCOperands()
213 NewRHS, DAG.getCondCode(getCmpLibcallCC(LC2))); in softenSetCCOperands()
215 NewRHS = SDValue(); in softenSetCCOperands()
DLegalizeTypes.h362 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
492 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
DDAGCombiner.cpp3895 SDValue NewRHS = DAG.getNode(N->getOpcode(), SDLoc(LHS->getOperand(1)), in visitShiftByConstant() local
3898 assert(isa<ConstantSDNode>(NewRHS) && "Folding was not successful!"); in visitShiftByConstant()
3906 return DAG.getNode(LHS->getOpcode(), SDLoc(N), VT, NewShift, NewRHS); in visitShiftByConstant()
/external/llvm/include/llvm/ADT/
DTwine.h486 Child NewLHS, NewRHS; in concat() local
488 NewRHS.twine = &Suffix; in concat()
495 NewRHS = Suffix.LHS; in concat()
499 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp83 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local
93 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
95 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
96 InsertNewInstBefore(NewRHS, PN); in FoldPHIArgBinOpIntoPHI()
97 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI()
101 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
108 if (NewRHS) { in FoldPHIArgBinOpIntoPHI()
110 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineAndOrXor.cpp1141 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd() local
1143 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
2331 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); in visitXor() local
2335 NewRHS = ConstantExpr::getAnd(NewRHS, in visitXor()
2339 I.setOperand(1, NewRHS); in visitXor()
DInstCombineShifts.cpp521 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), Op0C, Op1); in FoldShiftByConstant() local
528 NewRHS); in FoldShiftByConstant()
DInstructionCombining.cpp1266 Value *NewLHS, *NewRHS; in SimplifyVectorOp() local
1269 NewRHS = Shuffle->getOperand(0); in SimplifyVectorOp()
1272 NewRHS = C2; in SimplifyVectorOp()
1274 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder); in SimplifyVectorOp()
DInstCombineCompares.cpp1068 APInt NewRHS = RHS->getValue().zext(SrcBits); in visitICmpInstWithInstAndIntCst() local
1069 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
1071 Builder->getInt(NewRHS)); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp716 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local
720 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
724 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
743 if (NewRHS != OldRHS) { in RewriteExprTree()
747 Op->setOperand(1, NewRHS); in RewriteExprTree()
760 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local
761 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree()
763 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree()
772 Op->setOperand(1, NewRHS); in RewriteExprTree()
DLoopStrengthReduce.cpp2058 Value *NewRHS = nullptr; in OptimizeMax() local
2064 NewRHS = BO->getOperand(0); in OptimizeMax()
2068 NewRHS = BO->getOperand(0); in OptimizeMax()
2069 if (!NewRHS) in OptimizeMax()
2072 NewRHS = Sel->getOperand(1); in OptimizeMax()
2074 NewRHS = Sel->getOperand(2); in OptimizeMax()
2076 NewRHS = SU->getValue(); in OptimizeMax()
2089 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); in OptimizeMax()
/external/llvm/include/llvm/Target/
DTargetLowering.h1918 SDValue &NewLHS, SDValue &NewRHS,
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp2589 Constant *NewRHS = ConstantExpr::getGetElementPtr(Null, IndicesRHS); in SimplifyICmpInst() local
2590 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()