Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1044 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic() local
1045 assert(ZeroIsPoison && "Must be known (immarg)"); in intrinsic()
1046 assert(ZeroIsPoison->getBitWidth() == 1 && "Must be boolean"); in intrinsic()
1047 return Ops[0].ctlz(ZeroIsPoison->getBoolValue()); in intrinsic()
1050 const APInt *ZeroIsPoison = Ops[1].getSingleElement(); in intrinsic() local
1051 assert(ZeroIsPoison && "Must be known (immarg)"); in intrinsic()
1052 assert(ZeroIsPoison->getBitWidth() == 1 && "Must be boolean"); in intrinsic()
1053 return Ops[0].cttz(ZeroIsPoison->getBoolValue()); in intrinsic()
1804 ConstantRange ConstantRange::ctlz(bool ZeroIsPoison) const { in ctlz()
1809 if (ZeroIsPoison && contains(Zero)) { in ctlz()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantRange.h548 ConstantRange ctlz(bool ZeroIsPoison = false) const;
552 ConstantRange cttz(bool ZeroIsPoison = false) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp900 Type *RetTy, ElementCount EC, bool ZeroIsPoison, in getBitWidthForCttzElements() argument
907 if (ZeroIsPoison) in getBitWidthForCttzElements()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1780 bool ZeroIsPoison = !cast<ConstantInt>(Args[1])->isZero(); in getIntrinsicInstrCost() local
1786 RetTy, ArgType.getVectorElementCount(), ZeroIsPoison, &VScaleRange); in getIntrinsicInstrCost()
H A DTargetLowering.h474 bool ZeroIsPoison,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8038 bool ZeroIsPoison = in visitIntrinsicCall() local
8044 I.getType(), OpVT.getVectorElementCount(), ZeroIsPoison, &VScaleRange); in visitIntrinsicCall()