Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp613 unsigned CTZ = DemandedMask.countr_zero(); in SimplifyDemandedUseBits() local
615 if (match(I->getOperand(1), m_APInt(C)) && C->countr_zero() == CTZ) { in SimplifyDemandedUseBits()
616 Constant *ShiftC = ConstantInt::get(VTy, CTZ); in SimplifyDemandedUseBits()
1024 unsigned CTZ = DemandedMask.countr_zero(); in SimplifyDemandedUseBits() local
1026 CTZ >= C->getActiveBits()) in SimplifyDemandedUseBits()
1036 unsigned CTZ = DemandedMask.countr_zero(); in SimplifyDemandedUseBits() local
1038 CTZ >= C->getBitWidth() - C->countl_one()) in SimplifyDemandedUseBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInteger.td86 defm CTZ : UnaryInt<cttz, "ctz ", 0x68, 0x7a>;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZb.td391 def CTZ : RVBUnary<0b011000000001, 0b001, OPC_OP_IMM, "ctz">,
607 def : PatGpr<cttz, CTZ>;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedAmpere1B.td656 def : InstRW<[Ampere1BWrite_1cyc_1B], (instregex "^CTZ[WX]")>;
H A DAArch64InstrInfo.td9352 defm CTZ : OneOperandData<0b000110, "ctz", cttz>, Requires<[HasCSSC]>;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2753 unsigned CTZ = DemandedBits.countr_zero(); in SimplifyDemandedBits() local
2755 if (C && C->getAPIntValue().countr_zero() == CTZ) { in SimplifyDemandedBits()
2757 SDValue AmtC = TLO.DAG.getConstant(CTZ, dl, ShiftAmtTy); in SimplifyDemandedBits()