CodeQL library for Rust
codeql/rust-all 0.2.13 (changelog, source)
Search

Class Raw::AsmRegOperand

INTERNAL: Do not use. A register operand in an inline assembly block.

For example:

use core::arch::asm;
asm!("mov {0}, {1}", out(reg) x, in(reg) y);
//                            ^         ^

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAsmDirSpec

Gets the asm dir spec of this asm reg operand, if it exists.

getAsmOperandExpr

Gets the asm operand expression of this asm reg operand, if it exists.

getAsmRegSpec

Gets the asm reg spec of this asm reg operand, if it exists.

toString