/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,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 852 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local 855 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC() 856 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC() 858 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), 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 923 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC() 924 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC() 926 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC() [all …]
|
D | LegalizeIntegerTypes.cpp | 1348 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument 1358 SDValue OpL = GetPromotedInteger(NewLHS); in PromoteSetCCOperands() 1369 if (OpLEffectiveBits <= NewLHS.getScalarValueSizeInBits() && in PromoteSetCCOperands() 1371 NewLHS = OpL; in PromoteSetCCOperands() 1374 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 1383 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 1390 NewLHS = SExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 3803 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument 3808 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands() 3816 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands() [all …]
|
/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/llvm-project/llvm/include/llvm/ADT/ |
D | Twine.h | 501 Child NewLHS, NewRHS; in concat() local 502 NewLHS.twine = this; in concat() 506 NewLHS = LHS; in concat() 514 return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind); in concat()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Twine.h | 501 Child NewLHS, NewRHS; in concat() local 502 NewLHS.twine = this; in concat() 506 NewLHS = LHS; in concat() 514 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/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 890 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); in SoftenFloatOp_BR_CC() local 893 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_BR_CC() 894 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_BR_CC() 896 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), 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 961 EVT VT = NewLHS.getValueType(); in SoftenFloatOp_SELECT_CC() 962 NewLHS = GetSoftenedFloat(NewLHS); in SoftenFloatOp_SELECT_CC() 964 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N), in SoftenFloatOp_SELECT_CC() [all …]
|
D | LegalizeIntegerTypes.cpp | 1552 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, in PromoteSetCCOperands() argument 1562 SDValue OpL = GetPromotedInteger(NewLHS); in PromoteSetCCOperands() 1573 if (OpLEffectiveBits <= NewLHS.getScalarValueSizeInBits() && in PromoteSetCCOperands() 1575 NewLHS = OpL; in PromoteSetCCOperands() 1578 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 1587 NewLHS = SExtOrZExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 1594 NewLHS = SExtPromotedInteger(NewLHS); in PromoteSetCCOperands() 4184 void DAGTypeLegalizer::IntegerExpandSetCCOperands(SDValue &NewLHS, in IntegerExpandSetCCOperands() argument 4189 GetExpandedInteger(NewLHS, LHSLo, LHSHi); in IntegerExpandSetCCOperands() 4197 NewLHS = DAG.getNode(ISD::AND, dl, in IntegerExpandSetCCOperands() [all …]
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 336 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in FoldPHIArgBinOpIntoPHI() local 338 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in FoldPHIArgBinOpIntoPHI() 340 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in FoldPHIArgBinOpIntoPHI() 341 InsertNewInstBefore(NewLHS, PN); in FoldPHIArgBinOpIntoPHI() 342 LHSVal = NewLHS; in FoldPHIArgBinOpIntoPHI() 354 if (NewLHS || NewRHS) { in FoldPHIArgBinOpIntoPHI() 357 if (NewLHS) { in FoldPHIArgBinOpIntoPHI() 359 NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i)); in FoldPHIArgBinOpIntoPHI()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 422 PHINode *NewLHS = nullptr, *NewRHS = nullptr; in foldPHIArgBinOpIntoPHI() local 424 NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(), in foldPHIArgBinOpIntoPHI() 426 NewLHS->addIncoming(InLHS, PN.getIncomingBlock(0)); in foldPHIArgBinOpIntoPHI() 427 InsertNewInstBefore(NewLHS, PN); in foldPHIArgBinOpIntoPHI() 428 LHSVal = NewLHS; in foldPHIArgBinOpIntoPHI() 440 if (NewLHS || NewRHS) { in foldPHIArgBinOpIntoPHI() 443 if (NewLHS) { in foldPHIArgBinOpIntoPHI() 445 NewLHS->addIncoming(NewInLHS, PN.getIncomingBlock(i)); in foldPHIArgBinOpIntoPHI()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 220 Value *NewLHS = CheapExpansions[InvariantLHS]; in makeIVComparisonInvariant() local 223 if (!NewLHS) in makeIVComparisonInvariant() 225 NewLHS = ConstLHS->getValue(); in makeIVComparisonInvariant() 230 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant() 238 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SMTConv.h | 350 llvm::SMTExprRef NewLHS = LHS; 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/clang/lib/Basic/ |
D | Module.cpp | 81 SmallString<128> NewLHS = LHS.slice(0, Pos); in isPlatformEnvironment() local 82 NewLHS += LHS.slice(Pos+1, LHS.size()); in isPlatformEnvironment() 83 return NewLHS == RHS; in isPlatformEnvironment()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 222 Value *NewLHS = CheapExpansions[InvariantLHS]; in makeIVComparisonInvariant() local 225 if (!NewLHS) in makeIVComparisonInvariant() 227 NewLHS = ConstLHS->getValue(); in makeIVComparisonInvariant() 232 if (!NewLHS || !NewRHS) in makeIVComparisonInvariant() 240 ICmp->setOperand(0, NewLHS); in makeIVComparisonInvariant()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 677 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local 682 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree() 686 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree() 699 if (NewLHS != OldLHS) { in RewriteExprTree() 703 Op->setOperand(0, NewLHS); in RewriteExprTree()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 678 Value *NewLHS = Ops[i].Op; in RewriteExprTree() local 683 if (NewLHS == OldLHS && NewRHS == OldRHS) in RewriteExprTree() 687 if (NewLHS == OldRHS && NewRHS == OldLHS) { in RewriteExprTree() 700 if (NewLHS != OldLHS) { in RewriteExprTree() 704 Op->setOperand(0, NewLHS); in RewriteExprTree()
|