/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer/ |
D | ctlz.mir | 14 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[COPY]](s32) 15 ; MIPS32: $v0 = COPY [[CTLZ]](s32) 37 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[COPY]](s32) 39 ; MIPS32: [[ADD:%[0-9]+]]:_(s32) = G_ADD [[CTLZ]], [[C1]]
|
D | cttz.mir | 19 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[AND]](s32) 20 ; MIPS32: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[C1]], [[CTLZ]] 48 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[AND]](s32) 49 ; MIPS32: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[C2]], [[CTLZ]] 91 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[AND]](s32) 92 ; MIPS32: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[C3]], [[CTLZ]] 132 ; MIPS32: [[CTLZ:%[0-9]+]]:_(s32) = G_CTLZ [[AND]](s32) 133 ; MIPS32: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[C3]], [[CTLZ]]
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/AMDGPU/ |
D | cttz-ctlz.ll | 8 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 9 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]] 28 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %A, i1 true) 29 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTLZ]] 48 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i16 @llvm.ctlz.i16(i16 %A, i1 true) 49 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i16 16, i16 [[CTLZ]] 128 ; ALL-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 129 ; ALL-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 63, i64 [[CTLZ]] 147 ; ALL-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %A, i1 true) 148 ; ALL-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 31, i32 [[CTLZ]] [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/AMDGPU/ |
D | cttz-ctlz.ll | 8 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 9 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]] 28 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %A, i1 true) 29 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 32, i32 [[CTLZ]] 48 ; SI-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i16 @llvm.ctlz.i16(i16 %A, i1 true) 49 ; SI-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i16 16, i16 [[CTLZ]] 128 ; ALL-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 129 ; ALL-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 63, i64 [[CTLZ]] 147 ; ALL-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %A, i1 true) 148 ; ALL-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i32 31, i32 [[CTLZ]] [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/X86/ |
D | speculate-cttz-ctlz.ll | 9 ; ALL: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 10 ; ALL-NEXT: select i1 [[COND]], i64 64, i64 [[CTLZ]] 28 ; ALL: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %A, i1 true) 29 ; ALL-NEXT: select i1 [[COND]], i32 32, i32 [[CTLZ]] 48 ; ALL: [[CTLZ:%[A-Za-z0-9]+]] = tail call i16 @llvm.ctlz.i16(i16 %A, i1 true) 49 ; ALL-NEXT: select i1 [[COND]], i16 16, i16 [[CTLZ]] 177 ; ALL: [[CTLZ:%[A-Za-z0-9]+]] = tail call i32 @llvm.ctlz.i32(i32 %x, i1 true) 178 ; ALL: [[ZEXT:%[A-Za-z0-9]+]] = zext i32 [[CTLZ]] to i64 200 ; ALL: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %x, i1 true) 201 ; ALL: [[TRUNC:%[A-Za-z0-9]+]] = trunc i64 [[CTLZ]] to i32 [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/PowerPC/ |
D | cttz-ctlz-spec.ll | 8 ; CHECK-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 9 ; CHECK-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]] 28 ; CHECK-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | ctlz.ll | 21 ; SI-DAG: s_flbit_i32_b32 [[CTLZ:s[0-9]+]], [[VAL]] 23 ; SI-DAG: v_mov_b32_e32 [[VCTLZ:v[0-9]+]], [[CTLZ]] 38 ; SI-DAG: v_ffbh_u32_e32 [[CTLZ:v[0-9]+]], [[VAL]] 39 ; SI-DAG: v_cmp_eq_i32_e32 vcc, 0, [[CTLZ]] 40 ; SI: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], [[CTLZ]], 32, vcc 102 ; SI-DAG: v_cmp_eq_i32_e32 vcc, 0, [[CTLZ]] 121 ; SI-DAG: v_cndmask_b32_e32 v[[CTLZ:[0-9]+]], [[VFFBH_HI]], [[VFFBH_LO]] 123 ; SI: {{buffer|flat}}_store_dwordx2 {{.*}}v{{\[}}[[CTLZ]]:[[CTLZ_HI]]{{\]}} 145 ; SI-DAG: v_cndmask_b32_e64 v[[CTLZ:[0-9]+]], [[FFBH_HI]], [[ADD]], [[CMPHI]] 148 ; SI-DAG: v_cndmask_b32_e64 v[[CLTZ_LO:[0-9]+]], v[[CTLZ:[0-9]+]], 64, vcc
|
D | ctlz_zero_undef.ll | 101 ; SI-DAG: v_cndmask_b32_e32 v[[CTLZ:[0-9]+]], [[VFFBH_HI]], [[VFFBH_LO]] 103 ; SI: {{buffer|flat}}_store_dwordx2 v{{\[}}[[CTLZ]]:[[CTLZ_HI]]{{\]}} 124 ; SI-DAG: v_cndmask_b32_e64 v[[CTLZ:[0-9]+]], [[FFBH_HI]], [[FFBH_LO]] 126 ; SI: {{buffer|flat}}_store_dwordx2 {{.*}}v{{\[}}[[CTLZ]]:[[CTLZ_HI]]{{\]}}
|
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/regbankselect/ |
D | ctlz.mir | 15 ; MIPS32: [[CTLZ:%[0-9]+]]:gprb(s32) = G_CTLZ [[COPY]](s32) 16 ; MIPS32: $v0 = COPY [[CTLZ]](s32)
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | fls.ll | 33 ; CHECK-NEXT: [[CTLZ:%.*]] = call i64 @llvm.ctlz.i64(i64 %z, i1 false), !range !0 34 ; CHECK-NEXT: [[TMP1:%.*]] = trunc i64 [[CTLZ]] to i32
|
/external/llvm-project/llvm/test/Transforms/LoopIdiom/ARM/ |
D | ctlz.ll | 4 ; Recognize CTLZ builtin pattern. 6 ; so do not insert builtin if CPU do not support CTLZ 68 ; Recognize CTLZ builtin pattern. 118 ; Recognize CTLZ builtin pattern. 160 ; Recognize CTLZ builtin pattern. 203 ; Recognize CTLZ builtin pattern.
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 1896 { ISD::CTLZ, MVT::v8i64, 1 }, in getIntrinsicInstrCost() 1897 { ISD::CTLZ, MVT::v16i32, 1 }, in getIntrinsicInstrCost() 1898 { ISD::CTLZ, MVT::v32i16, 8 }, in getIntrinsicInstrCost() 1899 { ISD::CTLZ, MVT::v64i8, 20 }, in getIntrinsicInstrCost() 1900 { ISD::CTLZ, MVT::v4i64, 1 }, in getIntrinsicInstrCost() 1901 { ISD::CTLZ, MVT::v8i32, 1 }, in getIntrinsicInstrCost() 1902 { ISD::CTLZ, MVT::v16i16, 4 }, in getIntrinsicInstrCost() 1903 { ISD::CTLZ, MVT::v32i8, 10 }, in getIntrinsicInstrCost() 1904 { ISD::CTLZ, MVT::v2i64, 1 }, in getIntrinsicInstrCost() 1905 { ISD::CTLZ, MVT::v4i32, 1 }, in getIntrinsicInstrCost() [all …]
|
/external/llvm-project/llvm/test/Transforms/LoopIdiom/X86/ |
D | ctlz.ll | 4 ; Recognize CTLZ builtin pattern. 6 ; so do not insert builtin if CPU do not support CTLZ 68 ; Recognize CTLZ builtin pattern. 118 ; Recognize CTLZ builtin pattern. 164 ; Recognize CTLZ builtin pattern. 206 ; Recognize CTLZ builtin pattern. 244 ; Recognize CTLZ builtin pattern. 287 ; Recognize CTLZ builtin pattern. 326 ; Recognize CTLZ builtin pattern. 371 ; Recognize CTLZ builtin pattern.
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/PowerPC/ |
D | cttz-ctlz-spec.ll | 8 ; CHECK-NEXT: [[CTLZ:%[A-Za-z0-9]+]] = tail call i64 @llvm.ctlz.i64(i64 %A, i1 true) 9 ; CHECK-NEXT: [[SEL:%[A-Za-z0-9.]+]] = select i1 [[ICMP]], i64 64, i64 [[CTLZ]]
|
/external/llvm/test/Transforms/SLPVectorizer/X86/ |
D | non-vectorizable-intrinsic.ll | 6 ; CTLZ cannot be vectorized currently because the second argument is a scalar 9 ; Test causes an assert if LLVM tries to vectorize CTLZ.
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 2295 { ISD::CTLZ, MVT::v8i64, 1 }, in getTypeBasedIntrinsicInstrCost() 2296 { ISD::CTLZ, MVT::v16i32, 1 }, in getTypeBasedIntrinsicInstrCost() 2297 { ISD::CTLZ, MVT::v32i16, 8 }, in getTypeBasedIntrinsicInstrCost() 2298 { ISD::CTLZ, MVT::v64i8, 20 }, in getTypeBasedIntrinsicInstrCost() 2299 { ISD::CTLZ, MVT::v4i64, 1 }, in getTypeBasedIntrinsicInstrCost() 2300 { ISD::CTLZ, MVT::v8i32, 1 }, in getTypeBasedIntrinsicInstrCost() 2301 { ISD::CTLZ, MVT::v16i16, 4 }, in getTypeBasedIntrinsicInstrCost() 2302 { ISD::CTLZ, MVT::v32i8, 10 }, in getTypeBasedIntrinsicInstrCost() 2303 { ISD::CTLZ, MVT::v2i64, 1 }, in getTypeBasedIntrinsicInstrCost() 2304 { ISD::CTLZ, MVT::v4i32, 1 }, in getTypeBasedIntrinsicInstrCost() [all …]
|
/external/llvm-project/llvm/test/Transforms/SLPVectorizer/NVPTX/ |
D | non-vectorizable-intrinsic.ll | 7 ; CTLZ cannot be vectorized currently because the second argument is a scalar 10 ; Test causes an assert if LLVM tries to vectorize CTLZ.
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | ctlz_zero_undef.ll | 109 ; SI-DAG: v_cndmask_b32_e32 v[[CTLZ:[0-9]+]], [[VFFBH_HI]], [[VFFBH_LO]] 112 ; VI-DAG: v_mov_b32_e32 v[[CTLZ:[0-9]+]], [[RES]] 113 ; GCN: {{buffer|flat}}_store_dwordx2 v{{\[}}[[CTLZ]]:[[CTLZ_HI]]{{\]}} 134 ; GCN-DAG: v_cndmask_b32_e32 v[[CTLZ:[0-9]+]], [[FFBH_HI]], [[FFBH_LO]] 135 ; GCN: {{buffer|flat}}_store_dwordx2 {{.*}}v{{\[}}[[CTLZ]]:[[CTLZ_HI:[0-9]+]]{{\]}}
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | select-ctlz.mir | 194 ; CHECK: [[CTLZ:%[0-9]+]]:fpr(<2 x s64>) = G_CTLZ [[COPY]](<2 x s64>) 195 ; CHECK: $q0 = COPY [[CTLZ]](<2 x s64>)
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 182 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode() local 254 Value *Tmp0 = Builder.CreateCall(CTLZ, {Divisor, True}); in generateUnsignedDivisionCode() 255 Value *Tmp1 = Builder.CreateCall(CTLZ, {Dividend, True}); in generateUnsignedDivisionCode()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 182 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode() local 254 Value *Tmp0 = Builder.CreateCall(CTLZ, {Divisor, True}); in generateUnsignedDivisionCode() 255 Value *Tmp1 = Builder.CreateCall(CTLZ, {Dividend, True}); in generateUnsignedDivisionCode()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 183 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode() local 255 Value *Tmp0 = Builder.CreateCall(CTLZ, {Divisor, True}); in generateUnsignedDivisionCode() 256 Value *Tmp1 = Builder.CreateCall(CTLZ, {Dividend, True}); in generateUnsignedDivisionCode()
|
/external/llvm/include/llvm/CodeGen/ |
D | ISDOpcodes.h | 342 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ISDOpcodes.h | 474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ISDOpcodes.h | 617 CTLZ, enumerator
|