Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp231 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
232 if (SOPKOpc == -1) in shrinkScalarCompare()
237 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
241 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
245 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
251 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
253 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(Src1)) || in shrinkScalarCompare()
254 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(Src1))) { in shrinkScalarCompare()