llvmpy/docs/source/doc/llvm.core.User.md
2012-08-08 17:49:24 -05:00

676 B

layout title
page User (llvm.core)

User-s are values that refer to other values. The values so refered can be retrived by the properties of User. This is the reverse of the Value.uses. Together these can be used to traverse the use-def chains of the SSA.


llvm.core.User

Base Class

Properties

operands

read-only

The list of operands (values, of type llvm.core.Value) that this value refers to.

operand_count

read-only

The number of operands that this value referes to. Same as len(uses.operands) but faster if you just want the count.