Lines Matching refs:newInstr
2196 InstrT *newInstr = in normalizeInfiniteLoopExit() local
2198 MachineInstrBuilder(newInstr).addMBB(loopHeader).addReg(immReg, false); in normalizeInfiniteLoopExit()
2200 SHOWNEWINSTR(newInstr); in normalizeInfiniteLoopExit()
3014 MachineInstr *newInstr = in insertInstrBefore() local
3019 blk->insert(blk->begin(), newInstr); in insertInstrBefore()
3021 blk->push_back(newInstr); in insertInstrBefore()
3024 SHOWNEWINSTR(newInstr); in insertInstrBefore()
3026 return newInstr; in insertInstrBefore()
3037 MachineInstr *newInstr = blk->getParent() in insertInstrEnd() local
3040 blk->push_back(newInstr); in insertInstrEnd()
3043 SHOWNEWINSTR(newInstr); in insertInstrEnd()
3052 MachineInstr *newInstr = in insertInstrBefore() local
3056 blk->insert(instrPos, newInstr); in insertInstrBefore()
3059 SHOWNEWINSTR(newInstr); in insertInstrBefore()
3060 return newInstr; in insertInstrBefore()
3070 MachineInstr *newInstr = in insertCondBranchBefore() local
3074 blk->insert(instrPos, newInstr); in insertCondBranchBefore()
3075 MachineInstrBuilder(newInstr).addReg(oldInstr->getOperand(1).getReg(), in insertCondBranchBefore()
3078 SHOWNEWINSTR(newInstr); in insertCondBranchBefore()
3090 MachineInstr *newInstr = in insertCondBranchBefore() local
3094 blk->insert(insertPos, newInstr); in insertCondBranchBefore()
3095 MachineInstrBuilder(newInstr).addReg(regNum, false); in insertCondBranchBefore()
3097 SHOWNEWINSTR(newInstr); in insertCondBranchBefore()
3105 MachineInstr *newInstr = in insertCondBranchEnd() local
3108 blk->push_back(newInstr); in insertCondBranchEnd()
3109 MachineInstrBuilder(newInstr).addReg(regNum, false); in insertCondBranchEnd()
3111 SHOWNEWINSTR(newInstr); in insertCondBranchEnd()
3122 MachineInstr *newInstr = tii->getMovImmInstr(blk->getParent(), regNum, in insertAssignInstrBefore() local
3124 blk->insert(instrPos, newInstr); in insertAssignInstrBefore()
3126 SHOWNEWINSTR(newInstr); in insertAssignInstrBefore()
3135 MachineInstr *newInstr = tii->getMovImmInstr(blk->getParent(), regNum, in insertAssignInstrBefore() local
3138 blk->insert(blk->begin(), newInstr); in insertAssignInstrBefore()
3140 blk->push_back(newInstr); in insertAssignInstrBefore()
3143 SHOWNEWINSTR(newInstr); in insertAssignInstrBefore()
3154 MachineInstr *newInstr = in insertCompareInstrBefore() local
3157 MachineInstrBuilder(newInstr).addReg(dstReg, RegState::Define); //set target in insertCompareInstrBefore()
3158 MachineInstrBuilder(newInstr).addReg(src1Reg); //set src value in insertCompareInstrBefore()
3159 MachineInstrBuilder(newInstr).addReg(src2Reg); //set src value in insertCompareInstrBefore()
3161 blk->insert(instrPos, newInstr); in insertCompareInstrBefore()
3162 SHOWNEWINSTR(newInstr); in insertCompareInstrBefore()