| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | sve-ptest-removal-whilehi.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilehs.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilele.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilels.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilege.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilelo.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilelt.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-whilegt.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 63 ; CHECK-NOT: PTEST 98 ; CHECK-NOT: PTEST 133 ; CHECK-NOT: PTEST 168 ; CHECK-NOT: PTEST 203 ; CHECK-NOT: PTEST 238 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 305 ; PTEST is not redundant when it's Pg operand is not an all active predicate [all …]
|
| H A D | sve-ptest-removal-cmpeq.mir | 68 ; CHECK-NOT: PTEST 104 ; CHECK-NOT: PTEST 140 ; CHECK-NOT: PTEST 173 ; CHECK-NOT: PTEST 207 ; CHECK-NOT: PTEST 240 ; CHECK-NOT: PTEST 273 ; CHECK-NOT: PTEST 306 ; CHECK-NOT: PTEST 342 ; CHECK-NOT: PTEST 378 ; CHECK-NOT: PTEST [all …]
|
| H A D | sve-ptest-removal-whilerw.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 65 ; CHECK-NOT: PTEST 100 ; CHECK-NOT: PTEST 135 ; CHECK-NOT: PTEST 167 ; PTEST is not redundant when it's Pg operand is not an all active predicate 207 ; PTEST is not redundant when it's Pg operand is not an all active predicate 247 ; PTEST is not redundant when it's Pg operand is not an all active predicate 287 ; PTEST is not redundant when it's Pg operand is not an all active predicate
|
| H A D | sve-ptest-removal-whilewr.mir | 3 # Test instruction sequences where PTEST is redundant and thus gets removed. 25 ; just asserting there is no PTEST instruction. 65 ; CHECK-NOT: PTEST 100 ; CHECK-NOT: PTEST 135 ; CHECK-NOT: PTEST 167 ; PTEST is not redundant when it's Pg operand is not an all active predicate 207 ; PTEST is not redundant when it's Pg operand is not an all active predicate 247 ; PTEST is not redundant when it's Pg operand is not an all active predicate 287 ; PTEST is not redundant when it's Pg operand is not an all active predicate
|
| H A D | sve-ptest-removal-rdffr.mir | 2 # Test that RDFFR followed by PTEST is replaced with RDFFRS. 13 ; CHECK-NOT: PTEST 34 ; CHECK: PTEST
|
| H A D | sve-intrinsics-pred-testing.ll | 6 ; PTEST
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 320 PTEST, enumerator
|
| H A D | AArch64SVEInstrInfo.td | 297 def AArch64ptest : SDNode<"AArch64ISD::PTEST", SDT_AArch64PTest>;
|
| H A D | AArch64ISelLowering.cpp | 2257 MAKE_CASE(AArch64ISD::PTEST) in getTargetNodeName() 16331 SDValue Test = DAG.getNode(AArch64ISD::PTEST, DL, MVT::Other, Pg, Op); in getPTest()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 423 PTEST, enumerator
|
| H A D | X86InstrFragmentsSIMD.td | 290 def X86ptest : SDNode<"X86ISD::PTEST", SDTX86CmpPTest>;
|
| H A D | X86.td | 599 "Prefer AVX512 mask registers over PTEST/MOVMSK">;
|
| H A D | X86ISelLowering.cpp | 23503 return DAG.getNode(X86ISD::PTEST, DL, MVT::i32, V, V); in LowerVectorAllZero() 27179 unsigned TestOpc = X86ISD::PTEST; in LowerINTRINSIC_WO_CHAIN() 33597 NODE_NAME_CASE(PTEST) in getTargetNodeName() 45392 if (EFLAGS.getOpcode() != X86ISD::PTEST && in combinePTESTCC() 45637 return DAG.getNode(X86ISD::PTEST, SDLoc(EFLAGS), MVT::i32, V, V); in combineSetCCMOVMSK() 45652 return DAG.getNode(X86ISD::PTEST, SDLoc(EFLAGS), MVT::i32, V, V); in combineSetCCMOVMSK() 45692 return DAG.getNode(X86ISD::PTEST, SDLoc(EFLAGS), MVT::i32, V, V); in combineSetCCMOVMSK() 52056 SDValue PT = DAG.getNode(X86ISD::PTEST, DL, MVT::i32, BCCmp, BCCmp); in combineVectorSizedSetCCEquality()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | setcc-wide-types.ll | 9 ; Equality checks of 128/256-bit values can use PMOVMSK or PTEST to avoid scalarization.
|