Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp152 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in matchAArch64MulConstCombine() local
153 if (TrailingZeroes) { in matchAArch64MulConstCombine()
171 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in matchAArch64MulConstCombine()
210 if (NegateResult && TrailingZeroes) in matchAArch64MulConstCombine()
220 assert(!(NegateResult && TrailingZeroes) && in matchAArch64MulConstCombine()
228 if (TrailingZeroes) { in matchAArch64MulConstCombine()
229 B.buildShl(DstReg, Res, B.buildConstant(LLT::scalar(64), TrailingZeroes)); in matchAArch64MulConstCombine()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp965 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() local
966 if (TrailingZeroes >= 8) { in EmitArrayConstant()
984 FillerType = llvm::ArrayType::get(FillerType, TrailingZeroes); in EmitArrayConstant()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14297 unsigned TrailingZeroes = ConstValue.countTrailingZeros(); in performMulCombine() local
14298 if (TrailingZeroes) { in performMulCombine()
14312 APInt ShiftedConstValue = ConstValue.ashr(TrailingZeroes); in performMulCombine()
14357 assert(!(NegateResult && TrailingZeroes) && in performMulCombine()
14363 if (TrailingZeroes) in performMulCombine()
14365 DAG.getConstant(TrailingZeroes, DL, MVT::i64)); in performMulCombine()