• Home
  • Raw
  • Download

Lines Matching refs:getOperand

112                                                    MI->getOperand(0).getReg(),  in EmitInstrWithCustomInserter()
113 MI->getOperand(1).getReg()); in EmitInstrWithCustomInserter()
121 MI->getOperand(0).getReg(), in EmitInstrWithCustomInserter()
122 MI->getOperand(1).getReg()); in EmitInstrWithCustomInserter()
130 MI->getOperand(0).getReg(), in EmitInstrWithCustomInserter()
131 MI->getOperand(1).getReg()); in EmitInstrWithCustomInserter()
137 unsigned maskedRegister = MI->getOperand(0).getReg(); in EmitInstrWithCustomInserter()
145 TII->buildMovImm(*BB, I, MI->getOperand(0).getReg(), in EmitInstrWithCustomInserter()
146 MI->getOperand(1).getFPImm()->getValueAPF() in EmitInstrWithCustomInserter()
150 TII->buildMovImm(*BB, I, MI->getOperand(0).getReg(), in EmitInstrWithCustomInserter()
151 MI->getOperand(1).getImm()); in EmitInstrWithCustomInserter()
155 MI->getOperand(0).getReg(), AMDGPU::ALU_CONST); in EmitInstrWithCustomInserter()
157 MI->getOperand(1).getImm()); in EmitInstrWithCustomInserter()
166 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
167 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
177 .addOperand(MI->getOperand(3)) in EmitInstrWithCustomInserter()
178 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
179 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
180 .addOperand(MI->getOperand(6)); in EmitInstrWithCustomInserter()
182 .addOperand(MI->getOperand(2)) in EmitInstrWithCustomInserter()
183 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
184 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
185 .addOperand(MI->getOperand(6)); in EmitInstrWithCustomInserter()
187 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
188 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
189 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
190 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
191 .addOperand(MI->getOperand(6)) in EmitInstrWithCustomInserter()
202 .addOperand(MI->getOperand(3)) in EmitInstrWithCustomInserter()
203 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
204 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
205 .addOperand(MI->getOperand(6)); in EmitInstrWithCustomInserter()
207 .addOperand(MI->getOperand(2)) in EmitInstrWithCustomInserter()
208 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
209 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
210 .addOperand(MI->getOperand(6)); in EmitInstrWithCustomInserter()
212 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
213 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
214 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
215 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
216 .addOperand(MI->getOperand(6)) in EmitInstrWithCustomInserter()
224 .addOperand(MI->getOperand(0)); in EmitInstrWithCustomInserter()
231 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
236 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
245 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
250 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
259 unsigned InstExportType = MI->getOperand(1).getImm(); in EmitInstrWithCustomInserter()
265 unsigned CurrentInstExportType = NextExportInst->getOperand(1) in EmitInstrWithCustomInserter()
278 .addOperand(MI->getOperand(0)) in EmitInstrWithCustomInserter()
279 .addOperand(MI->getOperand(1)) in EmitInstrWithCustomInserter()
280 .addOperand(MI->getOperand(2)) in EmitInstrWithCustomInserter()
281 .addOperand(MI->getOperand(3)) in EmitInstrWithCustomInserter()
282 .addOperand(MI->getOperand(4)) in EmitInstrWithCustomInserter()
283 .addOperand(MI->getOperand(5)) in EmitInstrWithCustomInserter()
284 .addOperand(MI->getOperand(6)) in EmitInstrWithCustomInserter()
322 SDValue Chain = Op.getOperand(0); in LowerOperation()
324 cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue(); in LowerOperation()
329 int64_t RegIndex = cast<ConstantSDNode>(Op.getOperand(3))->getZExtValue(); in LowerOperation()
332 return DAG.getCopyToReg(Chain, Op.getDebugLoc(), Reg, Op.getOperand(2)); in LowerOperation()
337 Op.getOperand(2), // Export Value in LowerOperation()
338 Op.getOperand(3), // ArrayBase in LowerOperation()
339 Op.getOperand(4), // Type in LowerOperation()
357 cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue(); in LowerOperation()
363 int64_t RegIndex = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue(); in LowerOperation()
369 int slot = cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue(); in LowerOperation()
370 int ijb = cast<ConstantSDNode>(Op.getOperand(2))->getSExtValue(); in LowerOperation()
448 case ISD::FP_TO_UINT: Results.push_back(LowerFPTOUINT(N->getOperand(0), DAG)); in ReplaceNodeResults()
511 Op.getOperand(0), in LowerROTL()
512 Op.getOperand(0), in LowerROTL()
515 Op.getOperand(1))); in LowerROTL()
532 SDValue LHS = Op.getOperand(0); in LowerSELECT_CC()
533 SDValue RHS = Op.getOperand(1); in LowerSELECT_CC()
534 SDValue True = Op.getOperand(2); in LowerSELECT_CC()
535 SDValue False = Op.getOperand(3); in LowerSELECT_CC()
536 SDValue CC = Op.getOperand(4); in LowerSELECT_CC()
652 Op.getOperand(0), in LowerSELECT()
654 Op.getOperand(1), in LowerSELECT()
655 Op.getOperand(2), in LowerSELECT()
717 SDValue Chain = Op.getOperand(0); in LowerSTORE()
718 SDValue Value = Op.getOperand(1); in LowerSTORE()
719 SDValue Ptr = Op.getOperand(2); in LowerSTORE()
829 SDValue Chain = Op.getOperand(0); in LowerLOAD()
830 SDValue Ptr = Op.getOperand(1); in LowerLOAD()
900 Op.getOperand(2)); in LowerLOAD()
911 Op.getOperand(2)); in LowerLOAD()
925 SDValue LogBase = DAG.getNode(ISD::FLOG2, DL, VT, Op.getOperand(0)); in LowerFPOW()
926 SDValue MulLogBase = DAG.getNode(ISD::FMUL, DL, VT, Op.getOperand(1), LogBase); in LowerFPOW()
985 SDValue Arg = N->getOperand(0); in PerformDAGCombine()
988 Arg.getOperand(0)); in PerformDAGCombine()
999 SDValue FNeg = N->getOperand(0); in PerformDAGCombine()
1003 SDValue SelectCC = FNeg.getOperand(0); in PerformDAGCombine()
1005 SelectCC.getOperand(0).getValueType() != MVT::f32 || // LHS in PerformDAGCombine()
1006 SelectCC.getOperand(2).getValueType() != MVT::f32 || // True in PerformDAGCombine()
1007 !isHWTrueValue(SelectCC.getOperand(2)) || in PerformDAGCombine()
1008 !isHWFalseValue(SelectCC.getOperand(3))) { in PerformDAGCombine()
1013 SelectCC.getOperand(0), // LHS in PerformDAGCombine()
1014 SelectCC.getOperand(1), // RHS in PerformDAGCombine()
1017 SelectCC.getOperand(4)); // CC in PerformDAGCombine()
1024 SDValue Arg = N->getOperand(0); in PerformDAGCombine()
1026 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N->getOperand(1))) { in PerformDAGCombine()
1028 return Arg->getOperand(Element); in PerformDAGCombine()
1032 Arg.getOperand(0).getOpcode() == ISD::BUILD_VECTOR) { in PerformDAGCombine()
1033 if (ConstantSDNode *Const = dyn_cast<ConstantSDNode>(N->getOperand(1))) { in PerformDAGCombine()
1036 Arg->getOperand(0).getOperand(Element)); in PerformDAGCombine()
1047 SDValue LHS = N->getOperand(0); in PerformDAGCombine()
1052 SDValue RHS = N->getOperand(1); in PerformDAGCombine()
1053 SDValue True = N->getOperand(2); in PerformDAGCombine()
1054 SDValue False = N->getOperand(3); in PerformDAGCombine()
1055 ISD::CondCode NCC = cast<CondCodeSDNode>(N->getOperand(4))->get(); in PerformDAGCombine()
1057 if (LHS.getOperand(2).getNode() != True.getNode() || in PerformDAGCombine()
1058 LHS.getOperand(3).getNode() != False.getNode() || in PerformDAGCombine()
1067 ISD::CondCode LHSCC = cast<CondCodeSDNode>(LHS.getOperand(4))->get(); in PerformDAGCombine()
1069 LHS.getOperand(0).getValueType().isInteger()); in PerformDAGCombine()
1071 LHS.getOperand(0), in PerformDAGCombine()
1072 LHS.getOperand(1), in PerformDAGCombine()
1073 LHS.getOperand(2), in PerformDAGCombine()
1074 LHS.getOperand(3), in PerformDAGCombine()
1080 SDValue Arg = N->getOperand(1); in PerformDAGCombine()
1090 N->getOperand(0), // Chain in PerformDAGCombine()
1092 N->getOperand(2), // ArrayBase in PerformDAGCombine()
1093 N->getOperand(3), // Type in PerformDAGCombine()
1094 N->getOperand(4), // SWZ_X in PerformDAGCombine()
1095 N->getOperand(5), // SWZ_Y in PerformDAGCombine()
1096 N->getOperand(6), // SWZ_Z in PerformDAGCombine()
1097 N->getOperand(7) // SWZ_W in PerformDAGCombine()
1100 if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(Arg.getOperand(i))) { in PerformDAGCombine()
1106 NewBldVec[i] = Arg.getOperand(i); in PerformDAGCombine()
1109 NewBldVec[i] = Arg.getOperand(i); in PerformDAGCombine()