Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp864 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
869 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
870 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_BR_CC()
874 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
875 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
881 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
916 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
921 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
922 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
926 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp942 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
952 SDValue OpR = GetPromotedInteger(NewRHS); in PromoteSetCCOperands()
961 cast<VTSDNode>(OpR->getOperand(1))->getVT() == NewRHS.getValueType()) { in PromoteSetCCOperands()
963 NewRHS = OpR; in PromoteSetCCOperands()
966 NewRHS = ZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
978 NewRHS = ZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
985 NewRHS = SExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
2792 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
2797 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
2806 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp190 Value *NewLHS = nullptr, *NewRHS = nullptr; in eliminateIVComparison() local
197 NewRHS = in eliminateIVComparison()
202 i != e && (!NewLHS || !NewRHS); in eliminateIVComparison()
247 if (!NewRHS && IncomingS == InvariantRHS) in eliminateIVComparison()
248 NewRHS = Incoming; in eliminateIVComparison()
251 if (!NewLHS || !NewRHS) in eliminateIVComparison()
260 ICmp->setOperand(1, NewRHS); in eliminateIVComparison()
/external/llvm-project/llvm/include/llvm/ADT/
DTwine.h501 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTwine.h501 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()
/external/llvm/include/llvm/ADT/
DTwine.h498 Child NewLHS, NewRHS; in concat() local
500 NewRHS.twine = &Suffix; in concat()
507 NewRHS = Suffix.LHS; in concat()
511 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/external/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
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 …]
DLegalizeIntegerTypes.cpp1348 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 …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTwine.h509 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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp890 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
895 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_BR_CC()
896 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_BR_CC()
901 if (!NewRHS.getNode()) { in SoftenFloatOp_BR_CC()
902 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); in SoftenFloatOp_BR_CC()
908 DAG.getCondCode(CCCode), NewLHS, NewRHS, in SoftenFloatOp_BR_CC()
958 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); in SoftenFloatOp_SELECT_CC() local
963 NewRHS = GetSoftenedFloat(NewRHS); in SoftenFloatOp_SELECT_CC()
964 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC()
969 if (!NewRHS.getNode()) { in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp1552 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
1563 SDValue OpR = GetPromotedInteger(NewRHS); in PromoteSetCCOperands()
1574 OpREffectiveBits <= NewRHS.getScalarValueSizeInBits()) { in PromoteSetCCOperands()
1576 NewRHS = OpR; in PromoteSetCCOperands()
1579 NewRHS = SExtOrZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
1588 NewRHS = SExtOrZExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
1595 NewRHS = SExtPromotedInteger(NewRHS); in PromoteSetCCOperands()
4185 SDValue &NewRHS, in IntegerExpandSetCCOperands() argument
4190 GetExpandedInteger(NewRHS, RHSLo, RHSHi); in IntegerExpandSetCCOperands()
4199 NewRHS = RHSLo; in IntegerExpandSetCCOperands()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp69 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local
79 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
81 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
82 InsertNewInstBefore(NewRHS, PN); in FoldPHIArgBinOpIntoPHI()
83 RHSVal = NewRHS; in FoldPHIArgBinOpIntoPHI()
87 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
94 if (NewRHS) { in FoldPHIArgBinOpIntoPHI()
96 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineSelect.cpp1164 Value *NewRHS = Builder->CreateNot(RHS); in visitSelectInst() local
1166 ? Builder->CreateICmpSLT(NewLHS, NewRHS) in visitSelectInst()
1167 : Builder->CreateICmpULT(NewLHS, NewRHS); in visitSelectInst()
1169 Builder->CreateNot(Builder->CreateSelect(NewCmp, NewLHS, NewRHS)); in visitSelectInst()
DInstCombineAndOrXor.cpp132 Value *NewRHS = IsBswapRHS ? IntrRHS->getOperand(0) : in SimplifyBSwap() local
137 BinOp = Builder->CreateAnd(NewLHS, NewRHS); in SimplifyBSwap()
139 BinOp = Builder->CreateOr(NewLHS, NewRHS); in SimplifyBSwap()
141 BinOp = Builder->CreateXor(NewLHS, NewRHS); in SimplifyBSwap()
1347 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, in visitAnd() local
1349 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); in visitAnd()
2592 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); in visitXor() local
2596 NewRHS = ConstantExpr::getAnd(NewRHS, in visitXor()
2600 I.setOperand(1, NewRHS); in visitXor()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp336 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()
DInstCombineShifts.cpp847 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()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp422 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local
432 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI()
434 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI()
435 InsertNewInstBefore(NewRHS, PN); in foldPHIArgBinOpIntoPHI()
436 RHSVal = NewRHS; in foldPHIArgBinOpIntoPHI()
440 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI()
447 if (NewRHS) { in foldPHIArgBinOpIntoPHI()
449 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i)); in foldPHIArgBinOpIntoPHI()
DInstCombineShifts.cpp807 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local
815 NewRHS); in FoldShiftByConstant()
824 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local
830 return BinaryOperator::CreateSub(NewRHS, NewShift); in FoldShiftByConstant()
851 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local
857 NewRHS); in FoldShiftByConstant()
870 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), in FoldShiftByConstant() local
876 NewRHS); in FoldShiftByConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp221 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()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp654 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local
658 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
662 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
681 if (NewRHS != OldRHS) { in RewriteExprTree()
685 Op->setOperand(1, NewRHS); in RewriteExprTree()
698 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local
699 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree()
701 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree()
710 Op->setOperand(1, NewRHS); in RewriteExprTree()
DGuardWidening.cpp438 ConstantInt *NewRHS = ConstantInt::get(Cond0->getContext(), NewRHSAP); in widenCondCommon() local
439 Result = new ICmpInst(InsertPt, Pred, LHS, NewRHS, "wide.chk"); in widenCondCommon()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h351 llvm::SMTExprRef NewRHS = RHS; 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()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DReassociate.cpp679 Value *NewRHS = Ops[i+1].Op; in RewriteExprTree() local
683 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
687 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
706 if (NewRHS != OldRHS) { in RewriteExprTree()
710 Op->setOperand(1, NewRHS); in RewriteExprTree()
723 Value *NewRHS = Ops[i].Op; in RewriteExprTree() local
724 if (NewRHS != Op->getOperand(1)) { in RewriteExprTree()
726 if (NewRHS == Op->getOperand(0)) { in RewriteExprTree()
735 Op->setOperand(1, NewRHS); in RewriteExprTree()
DGuardWidening.cpp535 ConstantInt *NewRHS = ConstantInt::get(Cond0->getContext(), NewRHSAP); in widenCondCommon() local
536 Result = new ICmpInst(InsertPt, Pred, LHS, NewRHS, "wide.chk"); in widenCondCommon()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp678 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()

123