Lines Matching refs:DCI

8334                             TargetLowering::DAGCombinerInfo &DCI,  in combineSelectAndUse()  argument
8336 SelectionDAG &DAG = DCI.DAG; in combineSelectAndUse()
8360 TargetLowering::DAGCombinerInfo &DCI) { in combineSelectAndUseCommutative() argument
8364 SDValue Result = combineSelectAndUse(N, N0, N1, DCI, AllOnes); in combineSelectAndUseCommutative()
8369 SDValue Result = combineSelectAndUse(N, N1, N0, DCI, AllOnes); in combineSelectAndUseCommutative()
8379 TargetLowering::DAGCombinerInfo &DCI, in AddCombineToVPADDL() argument
8384 if (DCI.isBeforeLegalize() || !Subtarget->hasNEON() in AddCombineToVPADDL()
8438 SelectionDAG &DAG = DCI.DAG; in AddCombineToVPADDL()
8477 TargetLowering::DAGCombinerInfo &DCI, in AddCombineTo64bitMLAL() argument
8483 if (DCI.isBeforeLegalize()) return SDValue(); in AddCombineTo64bitMLAL()
8588 SelectionDAG &DAG = DCI.DAG; in AddCombineTo64bitMLAL()
8615 TargetLowering::DAGCombinerInfo &DCI, in PerformADDCCombine() argument
8618 return AddCombineTo64bitMLAL(N, DCI, Subtarget); in PerformADDCCombine()
8627 TargetLowering::DAGCombinerInfo &DCI, in PerformADDCombineWithOperands() argument
8631 SDValue Result = AddCombineToVPADDL(N, N0, N1, DCI, Subtarget); in PerformADDCombineWithOperands()
8637 SDValue Result = combineSelectAndUse(N, N0, N1, DCI); in PerformADDCombineWithOperands()
8646 TargetLowering::DAGCombinerInfo &DCI, in PerformADDCombine() argument
8652 SDValue Result = PerformADDCombineWithOperands(N, N0, N1, DCI, Subtarget); in PerformADDCombine()
8657 return PerformADDCombineWithOperands(N, N1, N0, DCI, Subtarget); in PerformADDCombine()
8663 TargetLowering::DAGCombinerInfo &DCI) { in PerformSUBCombine() argument
8669 SDValue Result = combineSelectAndUse(N, N1, N0, DCI); in PerformSUBCombine()
8692 TargetLowering::DAGCombinerInfo &DCI, in PerformVMULCombine() argument
8697 SelectionDAG &DAG = DCI.DAG; in PerformVMULCombine()
8723 TargetLowering::DAGCombinerInfo &DCI, in PerformMULCombine() argument
8725 SelectionDAG &DAG = DCI.DAG; in PerformMULCombine()
8730 if (DCI.isBeforeLegalize() || DCI.isCalledByLegalizer()) in PerformMULCombine()
8735 return PerformVMULCombine(N, DCI, Subtarget); in PerformMULCombine()
8802 DCI.CombineTo(N, Res, false); in PerformMULCombine()
8807 TargetLowering::DAGCombinerInfo &DCI, in PerformANDCombine() argument
8814 SelectionDAG &DAG = DCI.DAG; in PerformANDCombine()
8841 SDValue Result = combineSelectAndUseCommutative(N, true, DCI); in PerformANDCombine()
8851 TargetLowering::DAGCombinerInfo &DCI, in PerformORCombine() argument
8857 SelectionDAG &DAG = DCI.DAG; in PerformORCombine()
8884 SDValue Result = combineSelectAndUseCommutative(N, false, DCI); in PerformORCombine()
8979 DCI.CombineTo(N, Res, false); in PerformORCombine()
9005 DCI.CombineTo(N, Res, false); in PerformORCombine()
9021 DCI.CombineTo(N, Res, false); in PerformORCombine()
9041 DCI.CombineTo(N, Res, false); in PerformORCombine()
9048 TargetLowering::DAGCombinerInfo &DCI, in PerformXORCombine() argument
9051 SelectionDAG &DAG = DCI.DAG; in PerformXORCombine()
9058 SDValue Result = combineSelectAndUseCommutative(N, false, DCI); in PerformXORCombine()
9143 TargetLowering::DAGCombinerInfo &DCI) { in PerformBFICombine() argument
9160 return DCI.DAG.getNode(ARMISD::BFI, SDLoc(N), N->getValueType(0), in PerformBFICombine()
9181 DCI.DAG.ReplaceAllUsesWith(CombineBFI, CombineBFI.getOperand(0)); in PerformBFICombine()
9190 From1 = DCI.DAG.getNode( in PerformBFICombine()
9192 DCI.DAG.getConstant(NewFromMask.countTrailingZeros(), dl, VT)); in PerformBFICombine()
9193 return DCI.DAG.getNode(ARMISD::BFI, dl, VT, N->getOperand(0), From1, in PerformBFICombine()
9194 DCI.DAG.getConstant(~NewToMask, dl, VT)); in PerformBFICombine()
9202 TargetLowering::DAGCombinerInfo &DCI, in PerformVMOVRRDCombine() argument
9207 return DCI.CombineTo(N, InDouble.getOperand(0), InDouble.getOperand(1)); in PerformVMOVRRDCombine()
9218 SelectionDAG &DAG = DCI.DAG; in PerformVMOVRRDCombine()
9234 if (DCI.DAG.getDataLayout().isBigEndian()) in PerformVMOVRRDCombine()
9236 SDValue Result = DCI.CombineTo(N, NewLD1, NewLD2); in PerformVMOVRRDCombine()
9278 TargetLowering::DAGCombinerInfo &DCI, in PerformBUILD_VECTORCombine() argument
9284 SelectionDAG &DAG = DCI.DAG; in PerformBUILD_VECTORCombine()
9303 DCI.AddToWorklist(V.getNode()); in PerformBUILD_VECTORCombine()
9312 PerformARMBUILD_VECTORCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) { in PerformARMBUILD_VECTORCombine() argument
9365 SelectionDAG &DAG = DCI.DAG; in PerformARMBUILD_VECTORCombine()
9391 DCI.AddToWorklist(V.getNode()); in PerformARMBUILD_VECTORCombine()
9398 DCI.AddToWorklist(Vec.getNode()); in PerformARMBUILD_VECTORCombine()
9405 TargetLowering::DAGCombinerInfo &DCI) { in PerformInsertEltCombine() argument
9414 SelectionDAG &DAG = DCI.DAG; in PerformInsertEltCombine()
9421 DCI.AddToWorklist(Vec.getNode()); in PerformInsertEltCombine()
9422 DCI.AddToWorklist(V.getNode()); in PerformInsertEltCombine()
9487 TargetLowering::DAGCombinerInfo &DCI) { in CombineBaseUpdate() argument
9488 SelectionDAG &DAG = DCI.DAG; in CombineBaseUpdate()
9683 DCI.CombineTo(N, NewResults); in CombineBaseUpdate()
9684 DCI.CombineTo(User, SDValue(UpdN.getNode(), NumResultVecs)); in CombineBaseUpdate()
9692 TargetLowering::DAGCombinerInfo &DCI) { in PerformVLDCombine() argument
9693 if (DCI.isBeforeLegalize() || DCI.isCalledByLegalizer()) in PerformVLDCombine()
9696 return CombineBaseUpdate(N, DCI); in PerformVLDCombine()
9703 static bool CombineVLDDUP(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) { in CombineVLDDUP() argument
9704 SelectionDAG &DAG = DCI.DAG; in CombineVLDDUP()
9766 DCI.CombineTo(User, SDValue(VLDDup.getNode(), ResNo)); in CombineVLDDUP()
9775 DCI.CombineTo(VLD, VLDDupResults); in CombineVLDDUP()
9783 TargetLowering::DAGCombinerInfo &DCI) { in PerformVDUPLANECombine() argument
9788 if (CombineVLDDUP(N, DCI)) in PerformVDUPLANECombine()
9809 return DCI.DAG.getNode(ISD::BITCAST, SDLoc(N), VT, Op); in PerformVDUPLANECombine()
9813 TargetLowering::DAGCombinerInfo &DCI) { in PerformLOADCombine() argument
9818 DCI.DAG.getTargetLoweringInfo().isTypeLegal(VT)) in PerformLOADCombine()
9819 return CombineBaseUpdate(N, DCI); in PerformLOADCombine()
9827 TargetLowering::DAGCombinerInfo &DCI) { in PerformSTORECombine() argument
9838 SelectionDAG &DAG = DCI.DAG; in PerformSTORECombine()
9921 SelectionDAG &DAG = DCI.DAG; in PerformSTORECombine()
9944 SelectionDAG &DAG = DCI.DAG; in PerformSTORECombine()
9955 DCI.AddToWorklist(Vec.getNode()); in PerformSTORECombine()
9956 DCI.AddToWorklist(ExtElt.getNode()); in PerformSTORECombine()
9957 DCI.AddToWorklist(V.getNode()); in PerformSTORECombine()
9966 DCI.DAG.getTargetLoweringInfo().isTypeLegal(VT)) in PerformSTORECombine()
9967 return CombineBaseUpdate(N, DCI); in PerformSTORECombine()
10566 DAGCombinerInfo &DCI) const { in PerformDAGCombine()
10569 case ISD::ADDC: return PerformADDCCombine(N, DCI, Subtarget); in PerformDAGCombine()
10570 case ISD::ADD: return PerformADDCombine(N, DCI, Subtarget); in PerformDAGCombine()
10571 case ISD::SUB: return PerformSUBCombine(N, DCI); in PerformDAGCombine()
10572 case ISD::MUL: return PerformMULCombine(N, DCI, Subtarget); in PerformDAGCombine()
10573 case ISD::OR: return PerformORCombine(N, DCI, Subtarget); in PerformDAGCombine()
10574 case ISD::XOR: return PerformXORCombine(N, DCI, Subtarget); in PerformDAGCombine()
10575 case ISD::AND: return PerformANDCombine(N, DCI, Subtarget); in PerformDAGCombine()
10576 case ARMISD::BFI: return PerformBFICombine(N, DCI); in PerformDAGCombine()
10577 case ARMISD::VMOVRRD: return PerformVMOVRRDCombine(N, DCI, Subtarget); in PerformDAGCombine()
10578 case ARMISD::VMOVDRR: return PerformVMOVDRRCombine(N, DCI.DAG); in PerformDAGCombine()
10579 case ISD::STORE: return PerformSTORECombine(N, DCI); in PerformDAGCombine()
10580 case ISD::BUILD_VECTOR: return PerformBUILD_VECTORCombine(N, DCI, Subtarget); in PerformDAGCombine()
10581 case ISD::INSERT_VECTOR_ELT: return PerformInsertEltCombine(N, DCI); in PerformDAGCombine()
10582 case ISD::VECTOR_SHUFFLE: return PerformVECTOR_SHUFFLECombine(N, DCI.DAG); in PerformDAGCombine()
10583 case ARMISD::VDUPLANE: return PerformVDUPLANECombine(N, DCI); in PerformDAGCombine()
10586 return PerformVCVTCombine(N, DCI.DAG, Subtarget); in PerformDAGCombine()
10588 return PerformVDIVCombine(N, DCI.DAG, Subtarget); in PerformDAGCombine()
10589 case ISD::INTRINSIC_WO_CHAIN: return PerformIntrinsicCombine(N, DCI.DAG); in PerformDAGCombine()
10592 case ISD::SRL: return PerformShiftCombine(N, DCI.DAG, Subtarget); in PerformDAGCombine()
10595 case ISD::ANY_EXTEND: return PerformExtendCombine(N, DCI.DAG, Subtarget); in PerformDAGCombine()
10596 case ARMISD::CMOV: return PerformCMOVCombine(N, DCI.DAG); in PerformDAGCombine()
10597 case ISD::LOAD: return PerformLOADCombine(N, DCI); in PerformDAGCombine()
10601 return PerformVLDCombine(N, DCI); in PerformDAGCombine()
10603 return PerformARMBUILD_VECTORCombine(N, DCI); in PerformDAGCombine()
10621 return PerformVLDCombine(N, DCI); in PerformDAGCombine()