<div dir="ltr">Hello,<div><br></div><div>The "noduplicate" attribute of call instructions is sometimes queried directly and sometimes through the cannotDuplicate() predicate. This patch streamlines all queries to use the cannotDuplicate() predicate. It also adds this predicate to InvokeInst, to mirror what CallInst has.</div>

<div><br></div><div>In addition, setCannotDuplicate() is removed because it's not being used anywhere in the codebase.</div><div><br></div><div>PTAL,</div><div>Eli</div><div><br></div></div>