Op overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Return the operand Use at compile‐time index Idx.

template<int Idx>
Use&
Op();

Return the const operand Use at compile‐time index Idx.

template<int Idx>
Use const&
Op() const;

Access operand Use by compile‐time index (negative indexes from the end).

template<int Idx_nocapture>
Use&
Op();

Access operand Use by compile‐time index (const overload).

template<int Idx_nocapture>
Use const&
Op() const;

Return Value

  • Reference to the operand Use.

  • Const reference to the operand Use.

  • Mutable reference to the operand use at the compile‐time index.

  • Const reference to the operand use at the compile‐time index.

Created with MrDocs