/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 612 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 …]
|
D | LegalizeIntegerTypes.cpp | 808 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 …]
|
D | LegalizeTypes.h | 361 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/ |
D | LegalizeFloatTypes.cpp | 864 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 …]
|
D | LegalizeIntegerTypes.cpp | 942 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 …]
|
D | TargetLowering.cpp | 151 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()
|
D | LegalizeTypes.h | 386 void IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, 540 void FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS,
|
D | DAGCombiner.cpp | 3789 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/ |
D | Twine.h | 481 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/ |
D | SimplifyIndVar.cpp | 190 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/ |
D | Twine.h | 498 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/ |
D | Twine.h | 509 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/ |
D | InstCombinePHI.cpp | 81 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()
|
D | InstCombineAndOrXor.cpp | 1073 Value *NewLHS = Builder->CreateAnd(Op0LHS, AndRHS, in visitAnd() local 1075 return BinaryOperator::Create(Op0I->getOpcode(), NewLHS, Op0RHS); in visitAnd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 69 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()
|
D | InstCombineSelect.cpp | 1163 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()
|
D | InstCombineAndOrXor.cpp | 129 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()
|
D | InstructionCombining.cpp | 1319 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/ |
D | Reassociate.cpp | 653 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/ |
D | TargetLowering.h | 2227 void softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS,
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 3108 Constant *NewLHS = ConstantExpr::getGetElementPtr( in SimplifyICmpInst() local 3114 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS); in SimplifyICmpInst()
|