Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp612 void DAGTypeLegalizer::SoftenSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, in SoftenSetCCOperands() argument
614 SDValue LHSInt = GetSoftenedFloat(NewLHS); in SoftenSetCCOperands()
616 EVT VT = NewLHS.getValueType(); in SoftenSetCCOperands()
682 NewLHS = MakeLibCall(LC1, RetVT, Ops, 2, false/*sign irrelevant*/, dl); in SoftenSetCCOperands()
687 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in SoftenSetCCOperands()
688 NewLHS = MakeLibCall(LC2, RetVT, Ops, 2, false/*sign irrelevant*/, dl); in SoftenSetCCOperands()
689 NewLHS = DAG.getNode(ISD::SETCC, dl, TLI.getSetCCResultType(RetVT), NewLHS, in SoftenSetCCOperands()
691 NewLHS = DAG.getNode(ISD::OR, dl, Tmp.getValueType(), Tmp, NewLHS); in SoftenSetCCOperands()
713 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
715 SoftenSetCCOperands(NewLHS, NewRHS, CCCode, N->getDebugLoc()); in SoftenFloatOp_BR_CC()
[all …]
DLegalizeIntegerTypes.cpp808 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
824 NewLHS = ZExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
831 NewLHS = SExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
2468 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument
2473 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands()
2481 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands()
2489 NewLHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSLo, RHSLo); in IntegerExpandSetCCOperands()
2491 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); in IntegerExpandSetCCOperands()
2492 NewRHS = DAG.getConstant(0, NewLHS.getValueType()); in IntegerExpandSetCCOperands()
2501 NewLHS = LHSHi; in IntegerExpandSetCCOperands()
[all …]
DLegalizeTypes.h361 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
434 void SoftenSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
490 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp864 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local
867 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC()
868 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC()
870 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); 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
919 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC()
920 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC()
922 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); in SoftenFloatOp_SELECT_CC()
[all …]
DLegalizeIntegerTypes.cpp942 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument
951 SDValue OpL = GetPromotedInteger(NewLHS); in PromoteSetCCOperands()
959 cast<VTSDNode>(OpL->getOperand(1))->getVT() == NewLHS.getValueType() && in PromoteSetCCOperands()
962 NewLHS = OpL; in PromoteSetCCOperands()
965 NewLHS = ZExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
977 NewLHS = ZExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
984 NewLHS = SExtPromotedInteger(NewLHS); in PromoteSetCCOperands()
2791 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument
2796 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands()
2804 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands()
[all …]
DTargetLowering.cpp151 SDValue &NewLHS, SDValue &NewRHS, in softenSetCCOperands() argument
254 SDValue Ops[2] = {NewLHS, NewRHS}; in softenSetCCOperands()
255 NewLHS = makeLibCall(DAG, LC1, RetVT, Ops, false /*sign irrelevant*/, in softenSetCCOperands()
267 NewLHS, NewRHS, DAG.getCondCode(CCCode)); in softenSetCCOperands()
268 NewLHS = makeLibCall(DAG, LC2, RetVT, Ops, false/*sign irrelevant*/, in softenSetCCOperands()
270 NewLHS = DAG.getNode( in softenSetCCOperands()
273 NewLHS, NewRHS, DAG.getCondCode(getCmpLibcallCC(LC2))); in softenSetCCOperands()
274 NewLHS = DAG.getNode(ISD::OR, dl, Tmp.getValueType(), Tmp, NewLHS); in softenSetCCOperands()
DLegalizeTypes.h386 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
540 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
DDAGCombiner.cpp3789 SDValue NewLHS = ZeroN00 ? N0.getOperand(1) : N0.getOperand(0); in visitOR() local
3794 std::swap(NewLHS, NewRHS); in visitOR()
3800 return DAG.getVectorShuffle(VT, SDLoc(N), NewLHS, NewRHS, Mask); in visitOR()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DTwine.h481 Child NewLHS, NewRHS; in concat() local
482 NewLHS.twine = this; in concat()
486 NewLHS = LHS; in concat()
494 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp190 Value *NewLHS = nullptr, *NewRHS = nullptr; in eliminateIVComparison() local
193 NewLHS = in eliminateIVComparison()
202 i != e && (!NewLHS || !NewRHS); in eliminateIVComparison()
245 if (!NewLHS && IncomingS == InvariantLHS) in eliminateIVComparison()
246 NewLHS = Incoming; in eliminateIVComparison()
251 if (!NewLHS || !NewRHS) in eliminateIVComparison()
259 ICmp->setOperand(0, NewLHS); in eliminateIVComparison()
/external/llvm/include/llvm/ADT/
DTwine.h498 Child NewLHS, NewRHS; in concat() local
499 NewLHS.twine = this; in concat()
503 NewLHS = LHS; in concat()
511 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
/external/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()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp81 PHINode *NewLHS = 0, *NewRHS = 0; in FoldPHIArgBinOpIntoPHI() local
83 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
85 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
86 InsertNewInstBefore(NewLHS, PN); in FoldPHIArgBinOpIntoPHI()
87 LHSVal = NewLHS; in FoldPHIArgBinOpIntoPHI()
99 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
102 if (NewLHS) { in FoldPHIArgBinOpIntoPHI()
104 NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineAndOrXor.cpp1073 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd() local
1075 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp69 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local
71 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI()
73 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI()
74 InsertNewInstBefore(NewLHS, PN); in FoldPHIArgBinOpIntoPHI()
75 LHSVal = NewLHS; in FoldPHIArgBinOpIntoPHI()
87 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI()
90 if (NewLHS) { in FoldPHIArgBinOpIntoPHI()
92 NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
DInstCombineSelect.cpp1163 Value *NewLHS = Builder->CreateNot(LHS); 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.cpp129 Value *NewLHS = IsBswapLHS ? IntrLHS->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()
1354 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd() local
1356 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd()
DInstructionCombining.cpp1319 Value *NewLHS = isa<Constant>(LHS) ? C2 : Shuffle->getOperand(0); in SimplifyVectorOp() local
1321 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder); in SimplifyVectorOp()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp653 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local
658 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree()
662 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree()
675 if (NewLHS != OldLHS) { in RewriteExprTree()
679 Op->setOperand(0, NewLHS); in RewriteExprTree()
/external/llvm/include/llvm/Target/
DTargetLowering.h2227 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3108 Constant *NewLHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst() local
3114 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()