Structs§
- AShr
- Add
- Addr
Space Cast - And
- BitCast
- Constant
Ref - A
ConstantRef
is a reference to aConstant
. Most importantly, it implementsAsRef<Constant>
andDeref<Target = Constant>
. It also has a cheapClone
– only the reference is cloned, not the underlyingConstant
. - Extract
Element - Extract
Value - FAdd
- FCmp
- FDiv
- FMul
- FPExt
- FPToSI
- FPToUI
- FPTrunc
- FRem
- FSub
- GetElement
Ptr - ICmp
- Insert
Element - Insert
Value - IntTo
Ptr - LShr
- Mul
- Or
- PtrTo
Int - SDiv
- SExt
- SIToFP
- SRem
- Select
- Shl
- Shuffle
Vector - Sub
- Trunc
- UDiv
- UIToFP
- URem
- Xor
- ZExt
Enums§
- Constant
- See LLVM 14 docs on Constants. Constants can be either values, or expressions involving other constants (see LLVM 14 docs on Constant Expressions).
- Float
- All of these
Float
variants should have data associated with them, but Rust only hasf32
andf64
floating-point types, and furthermore, it’s not clear how to get 16-, 80-, or 128-bit FP constant values through the LLVM C API (the getters seem to only be exposed in the C++ API?)