Home
last modified time | relevance | path

Searched refs:CF_ALU (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DR600ClauseMergePass.cpp36 case AMDGPU::CF_ALU: in isCFAlu()
90 int CntIdx = TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::COUNT); in cleanPotentialDisabledCFAlu()
109 int CntIdx = TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::COUNT); in mergeIfPossible()
121 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_MODE0); in mergeIfPossible()
123 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_BANK0); in mergeIfPossible()
125 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_ADDR0); in mergeIfPossible()
137 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_MODE1); in mergeIfPossible()
139 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_BANK1); in mergeIfPossible()
141 TII->getOperandIdx(AMDGPU::CF_ALU, AMDGPU::OpName::KCACHE_ADDR1); in mergeIfPossible()
DR600EmitClauseMarkers.cpp277 AMDGPU::CF_ALU_PUSH_BEFORE : AMDGPU::CF_ALU; in MakeALUClause()
310 if (I->getOpcode() == AMDGPU::CF_ALU) in runOnMachineFunction()
DR600InstrInfo.cpp762 if (It->getOpcode() == AMDGPU::CF_ALU || in FindLastAluClause()
792 assert (CfAlu->getOpcode() == AMDGPU::CF_ALU); in InsertBranch()
808 assert (CfAlu->getOpcode() == AMDGPU::CF_ALU); in InsertBranch()
837 CfAlu->setDesc(get(AMDGPU::CF_ALU)); in RemoveBranch()
862 CfAlu->setDesc(get(AMDGPU::CF_ALU)); in RemoveBranch()
895 } else if (MI.getOpcode() == AMDGPU::CF_ALU) { in isPredicable()
994 if (MI.getOpcode() == AMDGPU::CF_ALU) { in PredicateInstruction()
DR600ControlFlowFinalizer.cpp531 if (MI->getOpcode() == AMDGPU::CF_ALU) in runOnMachineFunction()
543 MI->setDesc(TII->get(AMDGPU::CF_ALU)); in runOnMachineFunction()
549 case AMDGPU::CF_ALU: in runOnMachineFunction()
DR600Packetizer.cpp359 (MI->getOpcode() == AMDGPU::CF_ALU && !MI->getOperand(8).getImm())) { in runOnMachineFunction()
DAMDGPU.td55 "GPU has CF_ALU bug"
DR600Instructions.td638 def CF_ALU : ALU_CLAUSE<8, "ALU">;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ClauseMergePass.cpp37 case R600::CF_ALU: in isCFAlu()
101 int CntIdx = TII->getOperandIdx(R600::CF_ALU, R600::OpName::COUNT); in cleanPotentialDisabledCFAlu()
120 int CntIdx = TII->getOperandIdx(R600::CF_ALU, R600::OpName::COUNT); in mergeIfPossible()
132 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_MODE0); in mergeIfPossible()
134 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_BANK0); in mergeIfPossible()
136 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_ADDR0); in mergeIfPossible()
148 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_MODE1); in mergeIfPossible()
150 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_BANK1); in mergeIfPossible()
152 TII->getOperandIdx(R600::CF_ALU, R600::OpName::KCACHE_ADDR1); in mergeIfPossible()
DR600EmitClauseMarkers.cpp292 R600::CF_ALU_PUSH_BEFORE : R600::CF_ALU; in MakeALUClause()
325 if (I != MBB.end() && I->getOpcode() == R600::CF_ALU) in runOnMachineFunction()
DR600InstrInfo.cpp750 if (It->getOpcode() == R600::CF_ALU || in FindLastAluClause()
782 assert (CfAlu->getOpcode() == R600::CF_ALU); in insertBranch()
798 assert (CfAlu->getOpcode() == R600::CF_ALU); in insertBranch()
828 CfAlu->setDesc(get(R600::CF_ALU)); in removeBranch()
853 CfAlu->setDesc(get(R600::CF_ALU)); in removeBranch()
886 } else if (MI.getOpcode() == R600::CF_ALU) { in isPredicable()
976 if (MI.getOpcode() == R600::CF_ALU) { in PredicateInstruction()
DR600Processors.td41 "GPU has CF_ALU bug"
DR600ControlFlowFinalizer.cpp545 if (MI->getOpcode() == R600::CF_ALU) in runOnMachineFunction()
558 MI->setDesc(TII->get(R600::CF_ALU)); in runOnMachineFunction()
564 case R600::CF_ALU: in runOnMachineFunction()
DR600Packetizer.cpp358 (MI->getOpcode() == R600::CF_ALU && !MI->getOperand(8).getImm())) { in runOnMachineFunction()
DR600Instructions.td604 def CF_ALU : ALU_CLAUSE<8, "ALU">;
/external/mesa3d/src/gallium/drivers/r600/
Dr600_isa.c502 {"ALU", { 0x08, 0x08, 0x08, 0x08 }, CF_CLAUSE | CF_ALU },
503 {"ALU_PUSH_BEFORE", { 0x09, 0x09, 0x09, 0x09 }, CF_CLAUSE | CF_ALU },
504 {"ALU_POP_AFTER", { 0x0A, 0x0A, 0x0A, 0x0A }, CF_CLAUSE | CF_ALU },
505 {"ALU_POP2_AFTER", { 0x0B, 0x0B, 0x0B, 0x0B }, CF_CLAUSE | CF_ALU },
506 {"ALU_EXT", { -1, -1, 0x0C, 0x0C }, CF_CLAUSE | CF_ALU | CF_ALU_EXT },
507 {"ALU_CONTINUE", { 0x0D, 0x0D, 0x0D, -1 }, CF_CLAUSE | CF_ALU },
508 {"ALU_BREAK", { 0x0E, 0x0E, 0x0E, -1 }, CF_CLAUSE | CF_ALU },
509 {"ALU_ELSE_AFTER", { 0x0F, 0x0F, 0x0F, 0x0F }, CF_CLAUSE | CF_ALU },
586 if (op->flags & CF_ALU) in r600_isa_init()
Dr600_isa.h140 CF_ALU = (1<<2), /* alu clause execution */ enumerator
Deg_asm.c41 if (cfop->flags & CF_ALU) { /* ALU clauses */ in eg_bytecode_cf_build()
Dr600_asm.c1645 } else if (cfop->flags & CF_ALU) { in r600_bytecode_cf_build()
1746 if (cfop->flags & CF_ALU) { in r600_bytecode_build()
2078 if (cfop->flags & CF_ALU) { in r600_bytecode_disasm()
Dr600_shader.c3924 …if (!last || last->flags & CF_ALU || ctx.bc->cf_last->op == CF_OP_LOOP_END || ctx.bc->cf_last->op … in r600_shader_from_tgsi()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_dump.cpp50 if ((n.bc.op_ptr->flags & CF_ALU) && n.bc.is_alu_extended()) { in visit()
168 if (n.bc.op_ptr->flags & CF_ALU) { in dump()
Dsb_bc_builder.cpp53 if (flags & CF_ALU) { in build()
70 if (flags & CF_ALU) { in build()
147 if (cfop->flags & CF_ALU) in build_cf()
Dsb_bc_parser.cpp220 if (flags & CF_ALU) { in decode_cf()
743 if (flags & CF_ALU) { in prepare_ir()
Dsb_bc.h483 assert(op_ptr->flags & CF_ALU); in is_alu_extended()
Dsb_bc_finalize.cpp98 if (!ctx.is_cayman() && last_cf->bc.op_ptr->flags & CF_ALU) { in run()