Lines Matching refs:AMDGPU

79   if (Opcode == AMDGPU::CF_ALU_PUSH_BEFORE && ST->hasCaymanISA() &&  in requiresWorkAroundForInst()
88 case AMDGPU::CF_ALU_PUSH_BEFORE: in requiresWorkAroundForInst()
89 case AMDGPU::CF_ALU_ELSE_AFTER: in requiresWorkAroundForInst()
90 case AMDGPU::CF_ALU_BREAK: in requiresWorkAroundForInst()
91 case AMDGPU::CF_ALU_CONTINUE: in requiresWorkAroundForInst()
153 case AMDGPU::CF_PUSH_EG: in pushBranch()
154 case AMDGPU::CF_ALU_PUSH_BEFORE: in pushBranch()
227 case AMDGPU::KILL: in IsTrivialInst()
228 case AMDGPU::RETURN: in IsTrivialInst()
240 Opcode = isEg ? AMDGPU::CF_TC_EG : AMDGPU::CF_TC_R600; in getHWInstrDesc()
243 Opcode = isEg ? AMDGPU::CF_VC_EG : AMDGPU::CF_VC_R600; in getHWInstrDesc()
246 Opcode = isEg ? AMDGPU::CF_CALL_FS_EG : AMDGPU::CF_CALL_FS_R600; in getHWInstrDesc()
249 Opcode = isEg ? AMDGPU::WHILE_LOOP_EG : AMDGPU::WHILE_LOOP_R600; in getHWInstrDesc()
252 Opcode = isEg ? AMDGPU::END_LOOP_EG : AMDGPU::END_LOOP_R600; in getHWInstrDesc()
255 Opcode = isEg ? AMDGPU::LOOP_BREAK_EG : AMDGPU::LOOP_BREAK_R600; in getHWInstrDesc()
258 Opcode = isEg ? AMDGPU::CF_CONTINUE_EG : AMDGPU::CF_CONTINUE_R600; in getHWInstrDesc()
261 Opcode = isEg ? AMDGPU::CF_JUMP_EG : AMDGPU::CF_JUMP_R600; in getHWInstrDesc()
264 Opcode = isEg ? AMDGPU::CF_ELSE_EG : AMDGPU::CF_ELSE_R600; in getHWInstrDesc()
267 Opcode = isEg ? AMDGPU::POP_EG : AMDGPU::POP_R600; in getHWInstrDesc()
271 Opcode = AMDGPU::CF_END_CM; in getHWInstrDesc()
274 Opcode = isEg ? AMDGPU::CF_END_EG : AMDGPU::CF_END_R600; in getHWInstrDesc()
292 if (AMDGPU::R600_Reg128RegClass.contains(Reg)) in isCompatibleWithClause()
297 &AMDGPU::R600_Reg128RegClass); in isCompatibleWithClause()
301 if (AMDGPU::R600_Reg128RegClass.contains(Reg)) in isCompatibleWithClause()
306 &AMDGPU::R600_Reg128RegClass); in isCompatibleWithClause()
346 AMDGPU::ALU_LITERAL_X, in getLiteral()
347 AMDGPU::ALU_LITERAL_Y, in getLiteral()
348 AMDGPU::ALU_LITERAL_Z, in getLiteral()
349 AMDGPU::ALU_LITERAL_W in getLiteral()
354 if (Src.first->getReg() != AMDGPU::ALU_LITERAL_X) in getLiteral()
364 TII->getOperandIdx(MI.getOpcode(), AMDGPU::OpName::literal)); in getLiteral()
387 TII->get(AMDGPU::LITERALS)) in insertLiterals()
429 TII->get(AMDGPU::LITERALS)); in MakeALUClause()
458 BuildMI(BB, InsertPos->getDebugLoc(), TII->get(AMDGPU::FETCH_CLAUSE)) in EmitFetchClause()
472 BuildMI(BB, InsertPos->getDebugLoc(), TII->get(AMDGPU::ALU_CLAUSE)) in EmitALUClause()
529 if (MI->getOpcode() != AMDGPU::ENDIF) in runOnMachineFunction()
531 if (MI->getOpcode() == AMDGPU::CF_ALU) in runOnMachineFunction()
537 case AMDGPU::CF_ALU_PUSH_BEFORE: in runOnMachineFunction()
540 BuildMI(MBB, MI, MBB.findDebugLoc(MI), TII->get(AMDGPU::CF_PUSH_EG)) in runOnMachineFunction()
543 MI->setDesc(TII->get(AMDGPU::CF_ALU)); in runOnMachineFunction()
545 CFStack.pushBranch(AMDGPU::CF_PUSH_EG); in runOnMachineFunction()
547 CFStack.pushBranch(AMDGPU::CF_ALU_PUSH_BEFORE); in runOnMachineFunction()
549 case AMDGPU::CF_ALU: in runOnMachineFunction()
555 case AMDGPU::WHILELOOP: { in runOnMachineFunction()
568 case AMDGPU::ENDLOOP: { in runOnMachineFunction()
580 case AMDGPU::IF_PREDICATE_SET: { in runOnMachineFunction()
592 case AMDGPU::ELSE: { in runOnMachineFunction()
606 case AMDGPU::ENDIF: { in runOnMachineFunction()
628 case AMDGPU::BREAK: { in runOnMachineFunction()
637 case AMDGPU::CONTINUE: { in runOnMachineFunction()
646 case AMDGPU::RETURN: { in runOnMachineFunction()
650 BuildMI(MBB, I, MBB.findDebugLoc(MI), TII->get(AMDGPU::PAD)); in runOnMachineFunction()
671 TII->get(AMDGPU::CF_ALU_POP_AFTER)) in runOnMachineFunction()