Lines Matching refs:AMDGPU
13 #include "AMDGPU.h"
259 /// because the AMDGPU instruction is not recognized as terminator fix this
439 if (I->getOpcode() == AMDGPU::PRED_X) {
533 case AMDGPU::JUMP_COND:
534 case AMDGPU::JUMP: return AMDGPU::IF_PREDICATE_SET;
535 case AMDGPU::BRANCH_COND_i32:
536 case AMDGPU::BRANCH_COND_f32: return AMDGPU::IF_LOGICALNZ_f32;
544 case AMDGPU::JUMP_COND:
545 case AMDGPU::JUMP: return AMDGPU::IF_PREDICATE_SET;
546 case AMDGPU::BRANCH_COND_i32:
547 case AMDGPU::BRANCH_COND_f32: return AMDGPU::IF_LOGICALZ_f32;
555 case AMDGPU::JUMP_COND:
556 case AMDGPU::JUMP: return AMDGPU::CONTINUE_LOGICALNZ_i32;
564 case AMDGPU::JUMP_COND:
565 case AMDGPU::JUMP: return AMDGPU::CONTINUE_LOGICALZ_i32;
593 case AMDGPU::JUMP_COND:
594 case AMDGPU::BRANCH_COND_i32:
595 case AMDGPU::BRANCH_COND_f32: return true;
604 case AMDGPU::JUMP:
605 case AMDGPU::BRANCH:
654 if (instr->getOpcode() == AMDGPU::RETURN)
664 if (MI->getOpcode() == AMDGPU::CONTINUE)
721 if (Pre->getOpcode() == AMDGPU::CONTINUE
722 && It->getOpcode() == AMDGPU::ENDLOOP)
1412 //insert AMDGPU::ENDIF to avoid special case "input landBlk == NULL"
1413 MachineBasicBlock::iterator I = insertInstrBefore(LandBlk, AMDGPU::ENDIF);
1420 insertCondBranchBefore(LandBlk, I, AMDGPU::IF_PREDICATE_SET,
1428 insertCondBranchBefore(LandBlk, I, AMDGPU::IF_PREDICATE_SET, InitReg,
1438 insertInstrBefore(I, AMDGPU::ELSE);
1450 insertInstrBefore(I, AMDGPU::ENDIF);
1548 insertInstrBefore(I, AMDGPU::ELSE);
1557 insertInstrBefore(I, AMDGPU::ENDIF);
1571 insertInstrBefore(DstBlk, AMDGPU::WHILELOOP, DebugLoc());
1572 insertInstrEnd(DstBlk, AMDGPU::ENDLOOP, DebugLoc());
1589 insertCondBranchBefore(ExitingMBB, I, AMDGPU::IF_PREDICATE_SET, AMDGPU::PREDICATE_BIT, DL);
1590 insertInstrBefore(I, AMDGPU::BREAK);
1591 insertInstrBefore(I, AMDGPU::ENDIF);
1620 insertInstrEnd(ContingMBB, AMDGPU::CONTINUE, DL);
1621 insertInstrEnd(ContingMBB, AMDGPU::ENDIF, DL);
1636 insertInstrEnd(ContingMBB, AMDGPU::CONTINUE,
1690 //look for the input branchinstr, not the AMDGPU branchinstr
1738 MachineInstr *NewMI = insertInstrBefore(I, AMDGPU::BRANCH_COND_i32);
1782 insertInstrEnd(DummyExitBlk, AMDGPU::RETURN);