Lines Matching full:expand

36 static cl::opt<bool> BPFExpandMemcpyInOrder("bpf-expand-memcpy-in-order",
38 cl::desc("Expand memcpy into load/store pairs in order"));
68 setOperationAction(ISD::BR_JT, MVT::Other, Expand); in BPFTargetLowering()
69 setOperationAction(ISD::BRIND, MVT::Other, Expand); in BPFTargetLowering()
70 setOperationAction(ISD::BRCOND, MVT::Other, Expand); in BPFTargetLowering()
75 setOperationAction(ISD::STACKSAVE, MVT::Other, Expand); in BPFTargetLowering()
76 setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand); in BPFTargetLowering()
100 setOperationAction(ISD::SDIVREM, VT, Expand); in BPFTargetLowering()
101 setOperationAction(ISD::UDIVREM, VT, Expand); in BPFTargetLowering()
106 setOperationAction(ISD::MULHU, VT, Expand); in BPFTargetLowering()
107 setOperationAction(ISD::MULHS, VT, Expand); in BPFTargetLowering()
108 setOperationAction(ISD::UMUL_LOHI, VT, Expand); in BPFTargetLowering()
109 setOperationAction(ISD::SMUL_LOHI, VT, Expand); in BPFTargetLowering()
110 setOperationAction(ISD::ROTR, VT, Expand); in BPFTargetLowering()
111 setOperationAction(ISD::ROTL, VT, Expand); in BPFTargetLowering()
112 setOperationAction(ISD::SHL_PARTS, VT, Expand); in BPFTargetLowering()
113 setOperationAction(ISD::SRL_PARTS, VT, Expand); in BPFTargetLowering()
114 setOperationAction(ISD::SRA_PARTS, VT, Expand); in BPFTargetLowering()
115 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
116 setOperationAction(ISD::CTTZ, VT, Expand); in BPFTargetLowering()
117 setOperationAction(ISD::CTLZ, VT, Expand); in BPFTargetLowering()
118 setOperationAction(ISD::CTTZ_ZERO_UNDEF, VT, Expand); in BPFTargetLowering()
119 setOperationAction(ISD::CTLZ_ZERO_UNDEF, VT, Expand); in BPFTargetLowering()
121 setOperationAction(ISD::SETCC, VT, Expand); in BPFTargetLowering()
122 setOperationAction(ISD::SELECT, VT, Expand); in BPFTargetLowering()
132 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); in BPFTargetLowering()
134 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i8, Expand); in BPFTargetLowering()
135 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i16, Expand); in BPFTargetLowering()
136 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i32, Expand); in BPFTargetLowering()
146 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i8, Expand); in BPFTargetLowering()
147 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i16, Expand); in BPFTargetLowering()
148 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i32, Expand); in BPFTargetLowering()
160 // LLVM generic code will try to expand memcpy into load/store pairs at this in BPFTargetLowering()
166 // When -bpf-expand-memcpy-in-order specified, we want to defer the expand in BPFTargetLowering()
777 // Because we will expand BPFISD::MEMCPY into load/store pairs, we will need in EmitInstrWithCustomInserterMemcpy()