Lines Matching refs:NewOpc
2973 unsigned NewOpc = 0; in foldMemoryOperandImpl() local
2977 case X86::TEST8rr: NewOpc = X86::CMP8ri; RCSize = 1; break; in foldMemoryOperandImpl()
2978 case X86::TEST16rr: NewOpc = X86::CMP16ri8; RCSize = 2; break; in foldMemoryOperandImpl()
2979 case X86::TEST32rr: NewOpc = X86::CMP32ri8; RCSize = 4; break; in foldMemoryOperandImpl()
2980 case X86::TEST64rr: NewOpc = X86::CMP64ri8; RCSize = 8; break; in foldMemoryOperandImpl()
2987 MI->setDesc(get(NewOpc)); in foldMemoryOperandImpl()
3037 unsigned NewOpc = 0; in foldMemoryOperandImpl() local
3040 case X86::TEST8rr: NewOpc = X86::CMP8ri; break; in foldMemoryOperandImpl()
3041 case X86::TEST16rr: NewOpc = X86::CMP16ri8; break; in foldMemoryOperandImpl()
3042 case X86::TEST32rr: NewOpc = X86::CMP32ri8; break; in foldMemoryOperandImpl()
3043 case X86::TEST64rr: NewOpc = X86::CMP64ri8; break; in foldMemoryOperandImpl()
3046 MI->setDesc(get(NewOpc)); in foldMemoryOperandImpl()
3268 unsigned NewOpc = 0; in unfoldMemoryOperand() local
3284 case X86::CMP64ri32: NewOpc = X86::TEST64rr; break; in unfoldMemoryOperand()
3286 case X86::CMP32ri: NewOpc = X86::TEST32rr; break; in unfoldMemoryOperand()
3288 case X86::CMP16ri: NewOpc = X86::TEST16rr; break; in unfoldMemoryOperand()
3289 case X86::CMP8ri: NewOpc = X86::TEST8rr; break; in unfoldMemoryOperand()
3291 DataMI->setDesc(get(NewOpc)); in unfoldMemoryOperand()