Lines Matching refs:Opc

96   bool X86FastEmitExtend(ISD::NodeType Opc, EVT DstVT, unsigned Src, EVT SrcVT,
128 bool X86SelectFPExtOrFPTrunc(const Instruction *I, unsigned Opc,
351 unsigned Opc = 0; in X86FastEmitLoad() local
357 Opc = X86::MOV8rm; in X86FastEmitLoad()
361 Opc = X86::MOV16rm; in X86FastEmitLoad()
365 Opc = X86::MOV32rm; in X86FastEmitLoad()
370 Opc = X86::MOV64rm; in X86FastEmitLoad()
375 Opc = Subtarget->hasAVX() ? X86::VMOVSSrm : X86::MOVSSrm; in X86FastEmitLoad()
378 Opc = X86::LD_Fp32m; in X86FastEmitLoad()
384 Opc = Subtarget->hasAVX() ? X86::VMOVSDrm : X86::MOVSDrm; in X86FastEmitLoad()
387 Opc = X86::LD_Fp64m; in X86FastEmitLoad()
396 Opc = Subtarget->hasAVX() ? X86::VMOVAPSrm : X86::MOVAPSrm; in X86FastEmitLoad()
398 Opc = Subtarget->hasAVX() ? X86::VMOVUPSrm : X86::MOVUPSrm; in X86FastEmitLoad()
403 Opc = Subtarget->hasAVX() ? X86::VMOVAPDrm : X86::MOVAPDrm; in X86FastEmitLoad()
405 Opc = Subtarget->hasAVX() ? X86::VMOVUPDrm : X86::MOVUPDrm; in X86FastEmitLoad()
413 Opc = Subtarget->hasAVX() ? X86::VMOVDQArm : X86::MOVDQArm; in X86FastEmitLoad()
415 Opc = Subtarget->hasAVX() ? X86::VMOVDQUrm : X86::MOVDQUrm; in X86FastEmitLoad()
422 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in X86FastEmitLoad()
442 unsigned Opc = 0; in X86FastEmitStore() local
455 case MVT::i8: Opc = X86::MOV8mr; break; in X86FastEmitStore()
456 case MVT::i16: Opc = X86::MOV16mr; break; in X86FastEmitStore()
458 Opc = (IsNonTemporal && HasSSE2) ? X86::MOVNTImr : X86::MOV32mr; in X86FastEmitStore()
462 Opc = (IsNonTemporal && HasSSE2) ? X86::MOVNTI_64mr : X86::MOV64mr; in X86FastEmitStore()
467 Opc = X86::MOVNTSS; in X86FastEmitStore()
469 Opc = HasAVX ? X86::VMOVSSmr : X86::MOVSSmr; in X86FastEmitStore()
471 Opc = X86::ST_Fp32m; in X86FastEmitStore()
476 Opc = X86::MOVNTSD; in X86FastEmitStore()
478 Opc = HasAVX ? X86::VMOVSDmr : X86::MOVSDmr; in X86FastEmitStore()
480 Opc = X86::ST_Fp64m; in X86FastEmitStore()
485 Opc = HasAVX ? X86::VMOVNTPSmr : X86::MOVNTPSmr; in X86FastEmitStore()
487 Opc = HasAVX ? X86::VMOVAPSmr : X86::MOVAPSmr; in X86FastEmitStore()
489 Opc = HasAVX ? X86::VMOVUPSmr : X86::MOVUPSmr; in X86FastEmitStore()
494 Opc = HasAVX ? X86::VMOVNTPDmr : X86::MOVNTPDmr; in X86FastEmitStore()
496 Opc = HasAVX ? X86::VMOVAPDmr : X86::MOVAPDmr; in X86FastEmitStore()
498 Opc = HasAVX ? X86::VMOVUPDmr : X86::MOVUPDmr; in X86FastEmitStore()
506 Opc = HasAVX ? X86::VMOVNTDQmr : X86::MOVNTDQmr; in X86FastEmitStore()
508 Opc = HasAVX ? X86::VMOVDQAmr : X86::MOVDQAmr; in X86FastEmitStore()
510 Opc = Subtarget->hasAVX() ? X86::VMOVDQUmr : X86::MOVDQUmr; in X86FastEmitStore()
515 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore()
532 unsigned Opc = 0; in X86FastEmitStore() local
537 case MVT::i8: Opc = X86::MOV8mi; break; in X86FastEmitStore()
538 case MVT::i16: Opc = X86::MOV16mi; break; in X86FastEmitStore()
539 case MVT::i32: Opc = X86::MOV32mi; break; in X86FastEmitStore()
543 Opc = X86::MOV64mi32; in X86FastEmitStore()
547 if (Opc) { in X86FastEmitStore()
549 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc)); in X86FastEmitStore()
569 bool X86FastISel::X86FastEmitExtend(ISD::NodeType Opc, EVT DstVT, in X86FastEmitExtend() argument
572 unsigned RR = fastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), Opc, in X86FastEmitExtend()
630 unsigned Opc = 0; in handleConstantAddresses() local
641 Opc = X86::MOV64rm; in handleConstantAddresses()
647 Opc = X86::MOV32rm; in handleConstantAddresses()
653 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg); in handleConstantAddresses()
1318 unsigned Opc = X86::getSETFromCond(CC); in X86SelectCmp() local
1327 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in X86SelectCmp()
1871 unsigned Opc = X86::getCMovFromCond(CC, RC->getSize()); in X86FastEmitCMoveSelect() local
1872 unsigned ResultReg = fastEmitInst_rr(Opc, RC, RHSReg, RHSIsKill, in X86FastEmitCMoveSelect()
1924 unsigned *Opc = nullptr; in X86FastEmitSSESelect() local
1927 case MVT::f32: Opc = &OpcTable[0][0]; break; in X86FastEmitSSESelect()
1928 case MVT::f64: Opc = &OpcTable[1][0]; break; in X86FastEmitSSESelect()
1974 unsigned CmpReg = fastEmitInst_rri(Opc[0], RC, CmpLHSReg, CmpLHSIsKill, in X86FastEmitSSESelect()
1976 unsigned AndReg = fastEmitInst_rr(Opc[1], RC, CmpReg, /*IsKill=*/false, in X86FastEmitSSESelect()
1978 unsigned AndNReg = fastEmitInst_rr(Opc[2], RC, CmpReg, /*IsKill=*/true, in X86FastEmitSSESelect()
1980 ResultReg = fastEmitInst_rr(Opc[3], RC, AndNReg, /*IsKill=*/true, in X86FastEmitSSESelect()
1990 unsigned Opc; in X86FastEmitPseudoSelect() local
1993 case MVT::i8: Opc = X86::CMOV_GR8; break; in X86FastEmitPseudoSelect()
1994 case MVT::i16: Opc = X86::CMOV_GR16; break; in X86FastEmitPseudoSelect()
1995 case MVT::i32: Opc = X86::CMOV_GR32; break; in X86FastEmitPseudoSelect()
1996 case MVT::f32: Opc = X86::CMOV_FR32; break; in X86FastEmitPseudoSelect()
1997 case MVT::f64: Opc = X86::CMOV_FR64; break; in X86FastEmitPseudoSelect()
2046 fastEmitInst_rri(Opc, RC, RHSReg, RHSIsKill, LHSReg, LHSIsKill, CC); in X86FastEmitPseudoSelect()
2162 unsigned Opc = Subtarget->hasAVX() ? X86::VCVTSS2SDrr : X86::CVTSS2SDrr; in X86SelectFPExt() local
2163 return X86SelectFPExtOrFPTrunc(I, Opc, &X86::FR64RegClass); in X86SelectFPExt()
2173 unsigned Opc = Subtarget->hasAVX() ? X86::VCVTSD2SSrr : X86::CVTSD2SSrr; in X86SelectFPTrunc() local
2174 return X86SelectFPExtOrFPTrunc(I, Opc, &X86::FR32RegClass); in X86SelectFPTrunc()
2341 unsigned Opc; in fastLowerIntrinsicCall() local
2346 case MVT::i32: Opc = X86::MOV32rm; RC = &X86::GR32RegClass; break; in fastLowerIntrinsicCall()
2347 case MVT::i64: Opc = X86::MOV64rm; RC = &X86::GR64RegClass; break; in fastLowerIntrinsicCall()
2378 TII.get(Opc), DestReg), SrcReg); in fastLowerIntrinsicCall()
2483 unsigned Opc; in fastLowerIntrinsicCall() local
2487 case MVT::f32: Opc = SqrtOpc[0][HasAVX]; RC = &X86::FR32RegClass; break; in fastLowerIntrinsicCall()
2488 case MVT::f64: Opc = SqrtOpc[1][HasAVX]; RC = &X86::FR64RegClass; break; in fastLowerIntrinsicCall()
2506 MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), in fastLowerIntrinsicCall()
2578 static const unsigned Opc[2][4] = { in fastLowerIntrinsicCall() local
2587 TII.get(Opc[IsDec][VT.SimpleTy-MVT::i8]), ResultReg) in fastLowerIntrinsicCall()
2679 unsigned Opc; in fastLowerIntrinsicCall() local
2682 case MVT::i32: Opc = CvtOpc[IsInputDouble][0][HasAVX]; break; in fastLowerIntrinsicCall()
2683 case MVT::i64: Opc = CvtOpc[IsInputDouble][1][HasAVX]; break; in fastLowerIntrinsicCall()
2706 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in fastLowerIntrinsicCall()
3200 unsigned Opc = ResVT == MVT::f32 ? X86::ST_Fp80m32 : X86::ST_Fp80m64; in fastLowerCall() local
3204 TII.get(Opc)), FI) in fastLowerCall()
3206 Opc = ResVT == MVT::f32 ? X86::MOVSSrm : X86::MOVSDrm; in fastLowerCall()
3208 TII.get(Opc), ResultReg + i), FI); in fastLowerCall()
3325 unsigned Opc = 0; in X86MaterializeInt() local
3329 case MVT::i8: Opc = X86::MOV8ri; break; in X86MaterializeInt()
3330 case MVT::i16: Opc = X86::MOV16ri; break; in X86MaterializeInt()
3331 case MVT::i32: Opc = X86::MOV32ri; break; in X86MaterializeInt()
3334 Opc = X86::MOV32ri; in X86MaterializeInt()
3336 Opc = X86::MOV64ri32; in X86MaterializeInt()
3338 Opc = X86::MOV64ri; in X86MaterializeInt()
3342 if (VT == MVT::i64 && Opc == X86::MOV32ri) { in X86MaterializeInt()
3343 unsigned SrcReg = fastEmitInst_i(Opc, &X86::GR32RegClass, Imm); in X86MaterializeInt()
3350 return fastEmitInst_i(Opc, TLI.getRegClassFor(VT), Imm); in X86MaterializeInt()
3363 unsigned Opc = 0; in X86MaterializeFP() local
3369 Opc = Subtarget->hasAVX() ? X86::VMOVSSrm : X86::MOVSSrm; in X86MaterializeFP()
3372 Opc = X86::LD_Fp32m; in X86MaterializeFP()
3378 Opc = Subtarget->hasAVX() ? X86::VMOVSDrm : X86::MOVSDrm; in X86MaterializeFP()
3381 Opc = X86::LD_Fp64m; in X86MaterializeFP()
3421 TII.get(Opc), ResultReg); in X86MaterializeFP()
3431 TII.get(Opc), ResultReg), in X86MaterializeFP()
3459 unsigned Opc = in X86MaterializeGV() local
3464 TII.get(Opc), ResultReg), AM); in X86MaterializeGV()
3504 unsigned Opc = in fastMaterializeAlloca() local
3511 TII.get(Opc), ResultReg), AM); in fastMaterializeAlloca()
3521 unsigned Opc = 0; in fastMaterializeFloatZero() local
3527 Opc = X86::FsFLD0SS; in fastMaterializeFloatZero()
3530 Opc = X86::LD_Fp032; in fastMaterializeFloatZero()
3536 Opc = X86::FsFLD0SD; in fastMaterializeFloatZero()
3539 Opc = X86::LD_Fp064; in fastMaterializeFloatZero()
3549 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg); in fastMaterializeFloatZero()