/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 512 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), Op0C, Op1); local 519 NewRHS);
|
H A D | InstCombinePHI.cpp | 81 PHINode *NewLHS = 0, *NewRHS = 0; local 91 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), 93 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); 94 InsertNewInstBefore(NewRHS, PN); 95 RHSVal = NewRHS; 99 if (NewLHS || NewRHS) { 106 if (NewRHS) { 108 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i));
|
H A D | InstCombineAndOrXor.cpp | 1066 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, local 1068 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); 2174 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); local 2176 // NewRHS. 2178 NewRHS = ConstantExpr::getAnd(NewRHS, 2182 I.setOperand(1, NewRHS);
|
H A D | InstCombineCompares.cpp | 1011 APInt NewRHS = RHS->getValue().zext(SrcBits); local 1012 NewRHS |= KnownOne; 1014 ConstantInt::get(ICI.getContext(), NewRHS));
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 529 Constant *NewRHS = ConstantExpr::get(I.getOpcode(), Op0C, Op1); local 536 NewRHS);
|
H A D | InstCombinePHI.cpp | 69 PHINode *NewLHS = nullptr, *NewRHS = nullptr; local 79 NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(), 81 NewRHS->addIncoming(InRHS, PN.getIncomingBlock(0)); 82 InsertNewInstBefore(NewRHS, PN); 83 RHSVal = NewRHS; 87 if (NewLHS || NewRHS) { 94 if (NewRHS) { 96 NewRHS->addIncoming(NewInRHS, PN.getIncomingBlock(i));
|
H A D | InstCombineSelect.cpp | 1164 Value *NewRHS = Builder->CreateNot(RHS); local 1166 ? Builder->CreateICmpSLT(NewLHS, NewRHS) 1167 : Builder->CreateICmpULT(NewLHS, NewRHS); 1169 Builder->CreateNot(Builder->CreateSelect(NewCmp, NewLHS, NewRHS));
|
H A D | InstCombineAndOrXor.cpp | 132 Value *NewRHS = IsBswapRHS ? IntrRHS->getOperand(0) : local 137 BinOp = Builder->CreateAnd(NewLHS, NewRHS); 139 BinOp = Builder->CreateOr(NewLHS, NewRHS); 141 BinOp = Builder->CreateXor(NewLHS, NewRHS); 1347 Value *NewRHS = Builder->CreateAnd(Op0RHS, AndRHS, local 1349 return BinaryOperator::Create(Op0I->getOpcode(), Op0LHS, NewRHS); 2592 Constant *NewRHS = ConstantExpr::getOr(Op0CI, RHS); local 2594 // NewRHS. 2596 NewRHS = ConstantExpr::getAnd(NewRHS, [all...] |
H A D | InstructionCombining.cpp | 1320 Value *NewRHS = isa<Constant>(LHS) ? Shuffle->getOperand(0) : C2; local 1321 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder);
|
H A D | InstCombineCompares.cpp | 911 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, DL, Nodes); 914 // GEP having PtrBase as the pointer base, and has returned in NewRHS the 917 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), Index, NewRHS); 1564 APInt NewRHS = RHS->getValue().zext(SrcBits); local 1565 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); 1567 Builder->getInt(NewRHS));
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 190 Value *NewLHS = nullptr, *NewRHS = nullptr; local 197 NewRHS = 202 i != e && (!NewLHS || !NewRHS); 247 if (!NewRHS && IncomingS == InvariantRHS) 248 NewRHS = Incoming; 251 if (!NewLHS || !NewRHS) 260 ICmp->setOperand(1, NewRHS);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 654 Value *NewRHS = Ops[i+1].Op; local 658 if (NewLHS == OldLHS && NewRHS == OldRHS) 662 if (NewLHS == OldRHS && NewRHS == OldLHS) { 681 if (NewRHS != OldRHS) { 685 Op->setOperand(1, NewRHS); 698 Value *NewRHS = Ops[i].Op; local 699 if (NewRHS != Op->getOperand(1)) { 701 if (NewRHS == Op->getOperand(0)) { 710 Op->setOperand(1, NewRHS);
|
H A D | LoopStrengthReduce.cpp | 2022 Value *NewRHS = nullptr; local 2028 NewRHS = BO->getOperand(0); 2032 NewRHS = BO->getOperand(0); 2033 if (!NewRHS) 2036 NewRHS = Sel->getOperand(1); 2038 NewRHS = Sel->getOperand(2); 2040 NewRHS = SU->getValue(); 2053 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp");
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeFloatTypes.cpp | 612 void DAGTypeLegalizer::SoftenSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, argument 615 SDValue RHSInt = GetSoftenedFloat(NewRHS); 683 NewRHS = DAG.getConstant(0, RetVT); 687 NewLHS, NewRHS, DAG.getCondCode(CCCode)); 690 NewRHS, DAG.getCondCode(TLI.getCmpLibcallCC(LC2))); 692 NewRHS = SDValue(); 713 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 715 SoftenSetCCOperands(NewLHS, NewRHS, CCCode, N->getDebugLoc()); 719 if (NewRHS.getNode() == 0) { 720 NewRHS 755 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 774 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 1293 FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, ISD::CondCode &CCCode, DebugLoc dl) argument 1324 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 1405 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 1423 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local [all...] |
H A D | LegalizeIntegerTypes.cpp | 808 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, argument 825 NewRHS = ZExtPromotedInteger(NewRHS); 832 NewRHS = SExtPromotedInteger(NewRHS); 2469 SDValue &NewRHS, 2474 GetExpandedInteger(NewRHS, RHSLo, RHSHi); 2483 NewRHS = RHSLo; 2490 NewRHS = DAG.getNode(ISD::XOR, dl, LHSLo.getValueType(), LHSHi, RHSHi); 2491 NewLHS = DAG.getNode(ISD::OR, dl, NewLHS.getValueType(), NewLHS, NewRHS); 2468 IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, ISD::CondCode &CCCode, DebugLoc dl) argument 2569 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 2587 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 2605 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local [all...] |
H A D | DAGCombiner.cpp | 3226 SDValue NewRHS = DAG.getNode(N->getOpcode(), LHS->getOperand(1).getDebugLoc(), local 3236 return DAG.getNode(LHS->getOpcode(), N->getDebugLoc(), VT, NewShift, NewRHS);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeFloatTypes.cpp | 864 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 869 NewRHS = GetSoftenedFloat(NewRHS); 870 TLI.softenSetCCOperands(DAG, VT, NewLHS, NewRHS, CCCode, SDLoc(N)); 874 if (!NewRHS.getNode()) { 875 NewRHS = DAG.getConstant(0, SDLoc(N), NewLHS.getValueType()); 881 DAG.getCondCode(CCCode), NewLHS, NewRHS, 916 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 921 NewRHS = GetSoftenedFloat(NewRHS); 939 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 1534 FloatExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, ISD::CondCode &CCCode, const SDLoc &dl) argument 1565 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 1660 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 1678 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local [all...] |
H A D | LegalizeIntegerTypes.cpp | 942 void DAGTypeLegalizer::PromoteSetCCOperands(SDValue &NewLHS,SDValue &NewRHS, argument 952 SDValue OpR = GetPromotedInteger(NewRHS); 961 cast<VTSDNode>(OpR->getOperand(1))->getVT() == NewRHS.getValueType()) { 963 NewRHS = OpR; 966 NewRHS = ZExtPromotedInteger(NewRHS); 978 NewRHS = ZExtPromotedInteger(NewRHS); 985 NewRHS = SExtPromotedInteger(NewRHS); 2791 IntegerExpandSetCCOperands(SDValue &NewLHS, SDValue &NewRHS, ISD::CondCode &CCCode, const SDLoc &dl) argument 2938 SDValue NewLHS = N->getOperand(2), NewRHS = N->getOperand(3); local 2956 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local 2974 SDValue NewLHS = N->getOperand(0), NewRHS = N->getOperand(1); local [all...] |
H A D | TargetLowering.cpp | 151 SDValue &NewLHS, SDValue &NewRHS, 254 SDValue Ops[2] = {NewLHS, NewRHS}; 257 NewRHS = DAG.getConstant(0, dl, RetVT); 267 NewLHS, NewRHS, DAG.getCondCode(CCCode)); 273 NewLHS, NewRHS, DAG.getCondCode(getCmpLibcallCC(LC2))); 275 NewRHS = SDValue(); 150 softenSetCCOperands(SelectionDAG &DAG, EVT VT, SDValue &NewLHS, SDValue &NewRHS, ISD::CondCode &CCCode, const SDLoc &dl) const argument
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 3112 Constant *NewRHS = ConstantExpr::getGetElementPtr( local 3114 return ConstantExpr::getICmp(Pred, NewLHS, NewRHS);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 1708 Value *NewRHS = 0; local 1715 NewRHS = BO->getOperand(0); 1720 NewRHS = BO->getOperand(0); 1721 if (!NewRHS) 1724 NewRHS = Sel->getOperand(1); 1726 NewRHS = Sel->getOperand(2); 1728 NewRHS = SU->getValue(); 1741 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp");
|