Home
last modified time | relevance | path

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

/dports/devel/llvm70/llvm-7.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp253 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode());
254 if (SOPKOpc == -1)
259 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) {
263 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ?
267 MI.setDesc(TII->get(SOPKOpc));
273 const MCInstrDesc &NewDesc = TII->get(SOPKOpc);
275 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) ||
276 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) {
/dports/devel/llvm80/llvm-8.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp187 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
188 if (SOPKOpc == -1) in shrinkScalarCompare()
193 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
197 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
201 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
207 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
209 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
210 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp197 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
198 if (SOPKOpc == -1) in shrinkScalarCompare()
203 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
207 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
211 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
217 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
219 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
220 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp192 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
193 if (SOPKOpc == -1) in shrinkScalarCompare()
198 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
202 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
206 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
212 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
214 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
215 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp197 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
198 if (SOPKOpc == -1) in shrinkScalarCompare()
203 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
207 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
211 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
217 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
219 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
220 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp192 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
193 if (SOPKOpc == -1) in shrinkScalarCompare()
198 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
202 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
206 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
212 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
214 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
215 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp192 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
193 if (SOPKOpc == -1) in shrinkScalarCompare()
198 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
202 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
206 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
212 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
214 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
215 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp192 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
193 if (SOPKOpc == -1) in shrinkScalarCompare()
198 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
202 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
206 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
212 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
214 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
215 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp193 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
194 if (SOPKOpc == -1) in shrinkScalarCompare()
199 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
203 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
207 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
213 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
215 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
216 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIShrinkInstructions.cpp186 int SOPKOpc = AMDGPU::getSOPKOp(MI.getOpcode()); in shrinkScalarCompare() local
187 if (SOPKOpc == -1) in shrinkScalarCompare()
192 if (SOPKOpc == AMDGPU::S_CMPK_EQ_U32 || SOPKOpc == AMDGPU::S_CMPK_LG_U32) { in shrinkScalarCompare()
196 SOPKOpc = (SOPKOpc == AMDGPU::S_CMPK_EQ_U32) ? in shrinkScalarCompare()
200 MI.setDesc(TII->get(SOPKOpc)); in shrinkScalarCompare()
206 const MCInstrDesc &NewDesc = TII->get(SOPKOpc); in shrinkScalarCompare()
208 if ((TII->sopkIsZext(SOPKOpc) && isKUImmOperand(TII, Src1)) || in shrinkScalarCompare()
209 (!TII->sopkIsZext(SOPKOpc) && isKImmOperand(TII, Src1))) { in shrinkScalarCompare()