Lines Matching refs:RootCFAlu
61 bool mergeIfPossible(MachineInstr *RootCFAlu, const MachineInstr *LatrCFAlu)
104 bool R600ClauseMergePass::mergeIfPossible(MachineInstr *RootCFAlu, in mergeIfPossible() argument
106 assert(isCFAlu(RootCFAlu) && isCFAlu(LatrCFAlu)); in mergeIfPossible()
108 unsigned RootInstCount = getCFAluSize(RootCFAlu), in mergeIfPossible()
115 if (RootCFAlu->getOpcode() == AMDGPU::CF_ALU_PUSH_BEFORE) in mergeIfPossible()
125 RootCFAlu->getOperand(Mode0Idx).getImm() && in mergeIfPossible()
127 RootCFAlu->getOperand(KBank0Idx).getImm() || in mergeIfPossible()
129 RootCFAlu->getOperand(KBank0LineIdx).getImm())) { in mergeIfPossible()
141 RootCFAlu->getOperand(Mode1Idx).getImm() && in mergeIfPossible()
143 RootCFAlu->getOperand(KBank1Idx).getImm() || in mergeIfPossible()
145 RootCFAlu->getOperand(KBank1LineIdx).getImm())) { in mergeIfPossible()
150 RootCFAlu->getOperand(Mode0Idx).setImm( in mergeIfPossible()
152 RootCFAlu->getOperand(KBank0Idx).setImm( in mergeIfPossible()
154 RootCFAlu->getOperand(KBank0LineIdx).setImm( in mergeIfPossible()
158 RootCFAlu->getOperand(Mode1Idx).setImm( in mergeIfPossible()
160 RootCFAlu->getOperand(KBank1Idx).setImm( in mergeIfPossible()
162 RootCFAlu->getOperand(KBank1LineIdx).setImm( in mergeIfPossible()
165 RootCFAlu->getOperand(CntIdx).setImm(CumuledInsts); in mergeIfPossible()
166 RootCFAlu->setDesc(TII->get(LatrCFAlu->getOpcode())); in mergeIfPossible()