Attach irreducible-loop header weight metadata to an instruction.
Declared in <llvm/Transforms/Instrumentation/PGOInstrumentation.h>
void
setIrrLoopHeaderMetadata(
Module* M,
Instruction* TI,
uint64_t Count);
| Name | Description |
|---|---|
| M | Module providing the LLVM context for metadata construction. |
| TI | Instruction (typically a loop header terminator) to annotate. |
| Count | Profile weight for the irreducible loop header. |