Expand description
Ops defined in the LLVM dialect
Structs§
- AShrOp
- Equivalent to LLVM’s AShr opcode.
- AddOp
- Equivalent to LLVM’s Add opcode.
- Address
OfOp - Same as MLIR’s LLVM dialect AddressOfOp. Creates an SSA value containing a pointer to a global value (function, variable etc).
- Alloca
Op - Equivalent to LLVM’s Alloca opcode.
- AndOp
- Equivalent to LLVM’s And opcode.
- Bitcast
Op - Equivalent to LLVM’s Bitcast opcode.
- BrOp
- Equivalent to LLVM’s Unconditional Branch.
- Call
Intrinsic Op - All LLVM intrinsic calls are represented by this Op. Same as MLIR’s llvm.call_intrinsic.
- CallOp
- Equivalent to LLVM’s Store opcode.
- Cond
BrOp - Equivalent to LLVM’s Conditional Branch.
- Constant
Op - Numeric (integer or floating point) constant. See MLIR’s llvm.mlir.constant.
- Extract
Element Op - ExtractElementOp Equivalent to LLVM’s ExtractElement opcode. /// ### Operands
- Extract
Value Op - Equivalent to LLVM’s ExtractValue opcode.
- FAddOp
- Equivalent to LLVM’s
faddinstruction. - FCmpOp
- Equivalent to LLVM’same
fcmpinstruction. - FDivOp
- Equivalent to LLVM’s
fdivinstruction. - FMulOp
- Equivalent to LLVM’s
fmulinstruction. - FNegOp
- Floating-point negation
Equivalent to LLVM’s
fneginstruction. - FPExtOp
- Equivalent to LLVM’s FPExt opcode.
- FPToSI
Op - Equivalent to LLVM’s FPToSI opcode.
- FPToUI
Op - Equivalent to LLVM’s FPToUI opcode.
- FPTrunc
Op - Equivalent to LLVM’s FPTrunc opcode.
- FRemOp
- Equivalent to LLVM’s
freminstruction. - FSubOp
- Equivalent to LLVM’s
fsubinstruction. - Freeze
Op - Freeze value of a type. See MLIR’s llvm.mlir.freeze.
- FuncOp
- Equivalent to LLVM’s
funcoperation. See llvm.func. - Func
OpType Err - GetElement
PtrOp - Equivalent to LLVM’s GetElementPtr.
- Global
Op - Same as MLIR’s LLVM dialect GlobalOp It creates a global variable of the specified LLVM IR dialect type. An initializer can be specified either as an attribute or in the operation’s initializer region, ending with a return.
- ICmpOp
- Equivalent to LLVM’s ICmp opcode.
- Insert
Element Op - Equivalent to LLVM’s InsertElement opcode.
- Insert
Value Op - Equivalent to LLVM’s InsertValue opcode.
- IntTo
PtrOp - Equivalent to LLVM’s IntToPtr opcode.
- LShrOp
- Equivalent to LLVM’s LShr opcode.
- LoadOp
- Equivalent to LLVM’s Load opcode.
- MulOp
- Equivalent to LLVM’s Mul opcode.
- OrOp
- Equivalent to LLVM’s Or opcode.
- Poison
Op - Poison value of a type. See MLIR’s llvm.mlir.poison.
- PtrTo
IntOp - Equivalent to LLVM’s PtrToInt opcode.
- Return
Op - Equivalent to LLVM’s return opcode.
- SDivOp
- Equivalent to LLVM’s SDiv opcode.
- SExtOp
- Equivalent to LLVM’s sext opcode.
- SIToFP
Op - Equivalent to LLVM’s SIToFP opcode.
- SRemOp
- Equivalent to LLVM’s SRem opcode.
- Select
Op - Equivalent to LLVM’s Select opcode.
- ShlOp
- Equivalent to LLVM’s Shl opcode.
- Shuffle
Vector Op - ShuffleVectorOp Equivalent to LLVM’s ShuffleVector opcode.
- StoreOp
- Equivalent to LLVM’s Store opcode.
- SubOp
- Equivalent to LLVM’s Sub opcode.
- Switch
Case - One case of a switch statement.
- Switch
Op - Equivalent to LLVM’s Switch opcode.
- TruncOp
- Equivalent to LLVM’s trunc opcode.
- UDivOp
- Equivalent to LLVM’s UDiv opcode.
- UIToFP
Op - Equivalent to LLVM’s UIToFP opcode.
- URemOp
- Equivalent to LLVM’s URem opcode.
- UndefOp
- Undefined value of a type. See MLIR’s llvm.mlir.undef.
- Unreachable
Op - Equivalent to LLVM’s unreachable opcode. No operands or results.
- Unrelated
Alloc Info - VAArgOp
- Equivalent to LLVM’s
va_argoperation. - XorOp
- Equivalent to LLVM’s Xor opcode.
- ZExtOp
- Equivalent to LLVM’s zext opcode.
- ZeroOp
- Same as MLIR’s LLVM dialect ZeroOp It creates a zero-initialized value of the specified LLVM IR dialect type. Results:
Enums§
- Alloca
OpVerify Err - Call
Intrinsic Verify Err - Constant
OpVerify Err - FCmp
OpVerify Err - FNeg
OpVerify Err - Float
Cast Verify Err - GepIndex
- A way to express whether a GEP index is a constant or an SSA value
- GetElement
PtrOp Err - Global
OpVerify Err - ICmp
OpVerify Err - Insert
Extract Element OpVerify Err - Insert
Extract Value Err - IntTo
PtrOp Err - Load
OpVerify Err - PtrTo
IntOp Err - Select
OpVerify Err - Shuffle
Vector OpVerify Err - Store
OpVerify Err - Switch
OpVerify Err - Symbol
User OpVerify Err - VAArg
OpVerify Err
Statics§
- SHUFFLE_
VECTOR_ UNDEF_ MASK_ ELEM - The undef mask element used in ShuffleVectorOp masks.