[#llvm-SchedBoundary-pickOnlyChoice] = xref:llvm.adoc[llvm]::xref:llvm/SchedBoundary.adoc[SchedBoundary]::pickOnlyChoice :relfileprefix: ../../ :mrdocs: Return the sole available candidate, or null if there are several. == Synopsis Declared in `<llvm/CodeGen/MachineScheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/SUnit.adoc[SUnit]* pickOnlyChoice(); ---- == Description Call this before applying any other heuristics to the Available queue. Updates the Available/Pending Q's if necessary and returns the single available instruction, or NULL if there are multiple candidates. == Return Value The sole available candidate, or null if there are several. [.small]#Created with https://www.mrdocs.com[MrDocs]#