package
0.3.6
Repository: https://github.com/llir/llvm.git
Documentation: pkg.go.dev

# Functions

NewAdd returns a new add expression based on the given operands.
NewAddrSpaceCast returns a new addrspacecast expression based on the given source value and target type.
NewAnd returns a new and expression based on the given operands.
NewArray returns a new array constant based on the given array type and elements.
NewAShr returns a new ashr expression based on the given operands.
NewBitCast returns a new bitcast expression based on the given source value and target type.
NewBlockAddress returns a new blockaddress constant based on the given parent function and basic block.
NewBool returns a new boolean constant based on the given boolean value.
NewCharArray returns a new character array constant based on the given character array contents.
NewCharArrayFromString returns a new character array constant based on the given UTF-8 string contents.
NewDSOLocalEquivalent returns a new dso_local_equivalent constant based on the given function.
NewExtractElement returns a new extractelement expression based on the given vector and element index.
NewExtractValue returns a new extractvalue expression based on the given aggregate value and indicies.
NewFAdd returns a new fadd expression based on the given operands.
NewFCmp returns a new fcmp expression based on the given floating-point comparison predicate and floating-point scalar or vector operands.
NewFDiv returns a new fdiv expression based on the given operands.
NewFloat returns a new floating-point constant based on the given floating-point type and double precision floating-point value.
NewFloatFromString returns a new floating-point constant based on the given floating-point type and floating-point string.
NewFMul returns a new fmul expression based on the given operands.
NewFNeg returns a new fneg expression based on the given operand.
NewFPExt returns a new fpext expression based on the given source value and target type.
NewFPToSI returns a new fptosi expression based on the given source value and target type.
NewFPToUI returns a new fptoui expression based on the given source value and target type.
NewFPTrunc returns a new fptrunc expression based on the given source value and target type.
NewFRem returns a new frem expression based on the given operands.
NewFSub returns a new fsub expression based on the given operands.
NewGetElementPtr returns a new getelementptr expression based on the given element type, source address and element indices.
NewICmp returns a new icmp expression based on the given integer comparison predicate and integer scalar or vector operands.
NewIndex returns a new gep element index.
NewInsertElement returns a new insertelement expression based on the given vector, element and element index.
NewInsertValue returns a new insertvalue expression based on the given aggregate value, element and indicies.
NewInt returns a new integer constant based on the given integer type and 64-bit interger value.
NewIntFromString returns a new integer constant based on the given integer type and string.
NewIntToPtr returns a new inttoptr expression based on the given source value and target type.
NewLShr returns a new lshr expression based on the given operands.
NewMul returns a new mul expression based on the given operands.
NewNoCFI returns a new no_cfi constant based on the given function.
NewNull returns a new null pointer constant based on the given pointer type.
NewOr returns a new or expression based on the given operands.
NewPoison returns a new poison value based on the given type.
NewPtrToInt returns a new ptrtoint expression based on the given source value and target type.
NewSDiv returns a new sdiv expression based on the given operands.
NewSelect returns a new select expression based on the given selection condition and operands.
NewSExt returns a new sext expression based on the given source value and target type.
NewShl returns a new shl expression based on the given operands.
NewShuffleVector returns a new shufflevector expression based on the given vectors and shuffle mask.
NewSIToFP returns a new sitofp expression based on the given source value and target type.
NewSRem returns a new srem expression based on the given operands.
NewStruct returns a new struct constant based on the given struct type and fields.
NewSub returns a new sub expression based on the given operands.
NewTrunc returns a new trunc expression based on the given source value and target type.
NewUDiv returns a new udiv expression based on the given operands.
NewUIToFP returns a new uitofp expression based on the given source value and target type.
NewUndef returns a new undefined value based on the given type.
NewURem returns a new urem expression based on the given operands.
NewVector returns a new vector constant based on the given vector type and elements.
NewXor returns a new xor expression based on the given operands.
NewZeroInitializer returns a new zeroinitializer constant based on the given type.
NewZExt returns a new zext expression based on the given source value and target type.

# Variables

false.
none.
true.

# Structs

Array is an LLVM IR array constant.
BlockAddress is an LLVM IR blockaddress constant.
CharArray is an LLVM IR character array constant.
DSOLocalEquivalent is an LLVM IR dso_local_equivalent constant; a constant representing a function which is functionally equivalent to a given function, but is always defined in the current linkage unit.
ExprAdd is an LLVM IR add expression.
ExprAddrSpaceCast is an LLVM IR addrspacecast expression.
ExprAnd is an LLVM IR and expression.
ExprAShr is an LLVM IR ashr expression.
ExprBitCast is an LLVM IR bitcast expression.
ExprExtractElement is an LLVM IR extractelement expression.
ExprExtractValue is an LLVM IR extractvalue expression.
ExprFAdd is an LLVM IR fadd expression.
ExprFCmp is an LLVM IR fcmp expression.
ExprFDiv is an LLVM IR fdiv expression.
ExprFMul is an LLVM IR fmul expression.
ExprFNeg is an LLVM IR fneg expression.
ExprFPExt is an LLVM IR fpext expression.
ExprFPToSI is an LLVM IR fptosi expression.
ExprFPToUI is an LLVM IR fptoui expression.
ExprFPTrunc is an LLVM IR fptrunc expression.
ExprFRem is an LLVM IR frem expression.
ExprFSub is an LLVM IR fsub expression.
ExprGetElementPtr is an LLVM IR getelementptr expression.
ExprICmp is an LLVM IR icmp expression.
ExprInsertElement is an LLVM IR insertelement expression.
ExprInsertValue is an LLVM IR insertvalue expression.
ExprIntToPtr is an LLVM IR inttoptr expression.
ExprLShr is an LLVM IR lshr expression.
ExprMul is an LLVM IR mul expression.
ExprOr is an LLVM IR or expression.
ExprPtrToInt is an LLVM IR ptrtoint expression.
ExprSDiv is an LLVM IR sdiv expression.
ExprSelect is an LLVM IR select expression.
ExprSExt is an LLVM IR sext expression.
ExprShl is an LLVM IR shl expression.
ExprShuffleVector is an LLVM IR shufflevector expression.
ExprSIToFP is an LLVM IR sitofp expression.
ExprSRem is an LLVM IR srem expression.
ExprSub is an LLVM IR sub expression.
ExprTrunc is an LLVM IR trunc expression.
ExprUDiv is an LLVM IR udiv expression.
ExprUIToFP is an LLVM IR uitofp expression.
ExprURem is an LLVM IR urem expression.
ExprXor is an LLVM IR xor expression.
ExprZExt is an LLVM IR zext expression.
Float is an LLVM IR floating-point constant.
Index is an index of a getelementptr constant expression.
Int is an LLVM IR integer constant.
NoCFI is an LLVM IR no_cfi constant; a constant representing a function which does not get replaced with a reference to the CFI jump table (control-flow integrity).
NoneToken is an LLVM IR none token constant.
Null is an LLVM IR null pointer constant.
Poison is an LLVM IR poison value.
Struct is an LLVM IR struct constant.
Undef is an LLVM IR undefined value.
Vector is an LLVM IR vector constant.
ZeroInitializer is an LLVM IR zeroinitializer constant.

# Interfaces

Constant is an LLVM IR constant; a value that is immutable at runtime, such as an integer or floating-point literal, or the address of a function or global variable.
Expression is an LLVM IR constant expression.