Verifier for static convergence‐control token rules over IR or MIR.

Synopsis

Declared in <llvm/ADT/GenericConvergenceVerifier.h>

template<typename ContextT>
class GenericConvergenceVerifier;

Description

Specializes on an SSA context so the same checks apply to LLVM IR and Machine IR. Call initialize, visit each block and instruction, then verify against a dominator tree.

Type Aliases

Name

Description

BlockT

Basic‐block type from the SSA context.

CycleInfoT

Cycle‐info analysis specialized for this context.

DominatorTreeT

Dominator‐tree type from the SSA context.

FunctionT

Function type from the SSA context.

InstructionT

Instruction type from the SSA context.

ValueRefT

SSA value reference type from the SSA context.

Member Functions

Name

Description

clear

Reset verifier state for a new function.

initialize

Bind failure reporting and the function under verification.

sawTokens

Whether any controlled convergence tokens were observed.

verify

Finish verification against dominator tree DT after all visits.

visit

visit overloads

Created with MrDocs