Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/llir/llvm
/ functions
Functions
1,729 in github.com/llir/llvm
⨍
Functions
1,729
◇
Types & classes
270
↓ 1 callers
Method
LLString
LLString returns the LLVM syntax representation of the metadata tuple. '!' MDFields
ir/metadata/metadata.go:88
↓ 1 callers
Method
LLString
LLString returns the LLVM syntax representation of the DIArgList metadata node. '!DIArgList' '(' Fields=(DIArgListField separator ',')* ')'
ir/metadata/metadata.go:232
↓ 1 callers
Function
LabelID
LabelID encodes a label ID to its LLVM IR assembly representation. Examples: "42" -> 42: References: http://www.llvm.org/docs/LangRef.html#identifie
internal/enc/enc.go:108
↓ 1 callers
Function
NewAShr
NewAShr returns a new ashr instruction based on the given operands.
ir/inst_bitwise.go:162
↓ 1 callers
Function
NewAShr
NewAShr returns a new ashr expression based on the given operands.
ir/constant/expr_bitwise.go:131
↓ 1 callers
Function
NewAdd
NewAdd returns a new add instruction based on the given operands.
ir/inst_binary.go:34
↓ 1 callers
Function
NewAdd
NewAdd returns a new add expression based on the given operands.
ir/constant/expr_binary.go:29
↓ 1 callers
Function
NewAddrSpaceCast
NewAddrSpaceCast returns a new addrspacecast instruction based on the given source value and target type.
ir/inst_conversion.go:683
↓ 1 callers
Function
NewAddrSpaceCast
NewAddrSpaceCast returns a new addrspacecast expression based on the given source value and target type.
ir/constant/expr_conversion.go:455
↓ 1 callers
Function
NewAlias
NewAlias returns a new alias based on the given alias name and aliasee.
ir/alias.go:40
↓ 1 callers
Function
NewAlloca
NewAlloca returns a new alloca instruction based on the given element type.
ir/inst_memory.go:45
↓ 1 callers
Function
NewAnd
NewAnd returns a new and instruction based on the given operands.
ir/inst_bitwise.go:224
↓ 1 callers
Function
NewAnd
NewAnd returns a new and expression based on the given operands.
ir/constant/expr_bitwise.go:179
↓ 1 callers
Function
NewArray
NewArray returns a new array constant based on the given array type and elements. The array type is infered from the type of the elements if t is nil.
ir/constant/const_array.go:24
↓ 1 callers
Function
NewAtomicRMW
NewAtomicRMW returns a new atomicrmw instruction based on the given atomic operation, destination address, operand and atomic ordering.
ir/inst_memory.go:428
↓ 1 callers
Function
NewBitCast
NewBitCast returns a new bitcast instruction based on the given source value and target type.
ir/inst_conversion.go:631
↓ 1 callers
Function
NewBitCast
NewBitCast returns a new bitcast expression based on the given source value and target type.
ir/constant/expr_conversion.go:419
↓ 1 callers
Function
NewBlock
NewBlock returns a new basic block based on the given label name. An empty label name indicates an unnamed basic block.
ir/block.go:34
↓ 1 callers
Function
NewBlockAddress
NewBlockAddress returns a new blockaddress constant based on the given parent function and basic block.
ir/constant/const_blockaddress.go:22
↓ 1 callers
Function
NewBool
NewBool returns a new boolean constant based on the given boolean value.
ir/constant/const_int.go:29
↓ 1 callers
Function
NewBr
NewBr returns a new unconditional br terminator based on the given target basic block.
ir/terminator.go:115
↓ 1 callers
Function
NewCall
NewCall returns a new call instruction based on the given callee and function arguments. TODO: specify the set of underlying types of callee.
ir/inst_other.go:428
↓ 1 callers
Method
NewCall
~~~ [ call ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewCall appends a new call instruction to the basic block based on the g
ir/block_other.go:58
↓ 1 callers
Function
NewCallBr
NewCallBr returns a new callbr terminator based on the given callee, function arguments and control flow return points for normal and exceptional exec
ir/terminator.go:554
↓ 1 callers
Function
NewCase
NewCase returns a new switch case based on the given case comparand and target basic block.
ir/terminator.go:275
↓ 1 callers
Function
NewCatchPad
NewCatchPad returns a new catchpad instruction based on the given parent catchswitch terminator and exception arguments.
ir/inst_other.go:692
↓ 1 callers
Function
NewCatchRet
NewCatchRet returns a new catchret terminator based on the given exit catchpad and target basic block.
ir/terminator.go:850
↓ 1 callers
Function
NewCatchSwitch
NewCatchSwitch returns a new catchswitch terminator based on the given parent exception pad, exception handlers and optional default unwind target. If
ir/terminator.go:748
↓ 1 callers
Function
NewCharArrayFromString
NewCharArrayFromString returns a new character array constant based on the given UTF-8 string contents.
ir/constant/const_array.go:84
↓ 1 callers
Function
NewClause
NewClause returns a new landingpad clause based on the given clause type and operand.
ir/inst_other.go:660
↓ 1 callers
Function
NewCleanupPad
NewCleanupPad returns a new cleanuppad instruction based on the given parent exception pad and exception arguments.
ir/inst_other.go:760
↓ 1 callers
Function
NewCleanupRet
NewCleanupRet returns a new cleanupret terminator based on the given exit cleanuppad and optional unwind target. If unwindTarget is nil, cleanupret un
ir/terminator.go:903
↓ 1 callers
Function
NewCmpXchg
NewCmpXchg returns a new cmpxchg instruction based on the given address, value to compare against, new value to store, and atomic orderings for succes
ir/inst_memory.go:344
↓ 1 callers
Function
NewCondBr
NewCondBr returns a new conditional br terminator based on the given branching condition and conditional target basic blocks.
ir/terminator.go:166
↓ 1 callers
Function
NewDSOLocalEquivalent
NewDSOLocalEquivalent returns a new dso_local_equivalent constant based on the given function.
ir/constant/const_dso_local_equivalent.go:23
↓ 1 callers
Function
NewExtractElement
NewExtractElement returns a new extractelement instruction based on the given vector and element index.
ir/inst_vector.go:34
↓ 1 callers
Function
NewExtractElement
NewExtractElement returns a new extractelement expression based on the given vector and element index.
ir/constant/expr_vector.go:28
↓ 1 callers
Function
NewExtractValue
NewExtractValue returns a new extractvalue instruction based on the given aggregate value and indicies.
ir/inst_aggregate.go:34
↓ 1 callers
Function
NewExtractValue
NewExtractValue returns a new extractvalue expression based on the given aggregate value and indicies.
ir/constant/expr_aggregate.go:29
↓ 1 callers
Function
NewFAdd
NewFAdd returns a new fadd instruction based on the given operands.
ir/inst_binary.go:98
↓ 1 callers
Function
NewFAdd
NewFAdd returns a new fadd expression based on the given operands.
ir/constant/expr_binary.go:77
↓ 1 callers
Function
NewFCmp
NewFCmp returns a new fcmp instruction based on the given floating-point comparison predicate and floating-point scalar or vector operands.
ir/inst_other.go:106
↓ 1 callers
Function
NewFCmp
NewFCmp returns a new fcmp expression based on the given floating-point comparison predicate and floating-point scalar or vector operands.
ir/constant/expr_other.go:81
↓ 1 callers
Function
NewFDiv
NewFDiv returns a new fdiv instruction based on the given operands.
ir/inst_binary.go:546
↓ 1 callers
Function
NewFDiv
NewFDiv returns a new fdiv expression based on the given operands.
ir/constant/expr_binary.go:403
↓ 1 callers
Function
NewFMul
NewFMul returns a new fmul instruction based on the given operands.
ir/inst_binary.go:354
↓ 1 callers
Function
NewFMul
NewFMul returns a new fmul expression based on the given operands.
ir/constant/expr_binary.go:261
↓ 1 callers
Function
NewFNeg
NewFNeg returns a new fneg instruction based on the given operand.
ir/inst_unary.go:34
↓ 1 callers
Function
NewFNeg
NewFNeg returns a new fneg expression based on the given operand.
ir/constant/expr_unary.go:25
↓ 1 callers
Function
NewFPExt
NewFPExt returns a new fpext instruction based on the given source value and target type.
ir/inst_conversion.go:267
↓ 1 callers
Function
NewFPExt
NewFPExt returns a new fpext expression based on the given source value and target type.
ir/constant/expr_conversion.go:167
↓ 1 callers
Function
NewFPToSI
NewFPToSI returns a new fptosi instruction based on the given source value and target type.
ir/inst_conversion.go:371
↓ 1 callers
Function
NewFPToSI
NewFPToSI returns a new fptosi expression based on the given source value and target type.
ir/constant/expr_conversion.go:239
↓ 1 callers
Function
NewFPToUI
NewFPToUI returns a new fptoui instruction based on the given source value and target type.
ir/inst_conversion.go:319
↓ 1 callers
Function
NewFPToUI
NewFPToUI returns a new fptoui expression based on the given source value and target type.
ir/constant/expr_conversion.go:203
↓ 1 callers
Function
NewFPTrunc
NewFPTrunc returns a new fptrunc instruction based on the given source value and target type.
ir/inst_conversion.go:215
↓ 1 callers
Function
NewFPTrunc
NewFPTrunc returns a new fptrunc expression based on the given source value and target type.
ir/constant/expr_conversion.go:131
↓ 1 callers
Function
NewFRem
NewFRem returns a new frem instruction based on the given operands.
ir/inst_binary.go:726
↓ 1 callers
Function
NewFRem
NewFRem returns a new frem expression based on the given operands.
ir/constant/expr_binary.go:529
↓ 1 callers
Function
NewFSub
NewFSub returns a new fsub instruction based on the given operands.
ir/inst_binary.go:226
↓ 1 callers
Function
NewFSub
NewFSub returns a new fsub expression based on the given operands.
ir/constant/expr_binary.go:169
↓ 1 callers
Function
NewFence
NewFence returns a new fence instruction based on the given atomic ordering.
ir/inst_memory.go:284
↓ 1 callers
Function
NewFunc
NewFunc returns a new function based on the given function name, return type and function parameters.
ir/func.go:83
↓ 1 callers
Function
NewGetElementPtr
NewGetElementPtr returns a new getelementptr instruction based on the given element type, source address and element indices.
ir/inst_memory.go:505
↓ 1 callers
Function
NewGetElementPtr
NewGetElementPtr returns a new getelementptr expression based on the given element type, source address and element indices.
ir/constant/expr_memory.go:35
↓ 1 callers
Function
NewGlobal
NewGlobal returns a new global variable declaration based on the given global variable name and content type.
ir/global.go:63
↓ 1 callers
Function
NewGlobalDef
NewGlobalDef returns a new global variable definition based on the given global variable name and initial value.
ir/global.go:73
↓ 1 callers
Function
NewICmp
NewICmp returns a new icmp instruction based on the given integer comparison predicate and integer scalar or vector operands.
ir/inst_other.go:35
↓ 1 callers
Function
NewICmp
NewICmp returns a new icmp expression based on the given integer comparison predicate and integer scalar or vector operands.
ir/constant/expr_other.go:29
↓ 1 callers
Function
NewIFunc
NewIFunc returns a new indirect function based on the given IFunc name and resolver.
ir/ifunc.go:41
↓ 1 callers
Function
NewIncoming
NewIncoming returns a new incoming value based on the given value and predecessor basic block.
ir/inst_other.go:248
↓ 1 callers
Function
NewIndex
NewIndex returns a new gep element index.
ir/constant/expr_memory.go:90
↓ 1 callers
Function
NewIndirectBr
NewIndirectBr returns a new indirectbr terminator based on the given target address (derived from a blockaddress constant of type i8*) and set of vali
ir/terminator.go:305
↓ 1 callers
Function
NewInlineAsm
NewInlineAsm returns a new inline assembler expression based on the given type, assembly instructions and constraints.
ir/inline_asm.go:31
↓ 1 callers
Function
NewInsertElement
NewInsertElement returns a new insertelement instruction based on the given vector, element and element index.
ir/inst_vector.go:101
↓ 1 callers
Function
NewInsertElement
NewInsertElement returns a new insertelement expression based on the given vector, element and element index.
ir/constant/expr_vector.go:79
↓ 1 callers
Function
NewInsertValue
NewInsertValue returns a new insertvalue expression based on the given aggregate value, element and indicies.
ir/constant/expr_aggregate.go:82
↓ 1 callers
Function
NewIntToPtr
NewIntToPtr returns a new inttoptr instruction based on the given source value and target type.
ir/inst_conversion.go:579
↓ 1 callers
Function
NewIntToPtr
NewIntToPtr returns a new inttoptr expression based on the given source value and target type.
ir/constant/expr_conversion.go:383
↓ 1 callers
Function
NewInvoke
NewInvoke returns a new invoke terminator based on the given invokee, function arguments and control flow return points for normal and exceptional exe
ir/terminator.go:400
↓ 1 callers
Function
NewLShr
NewLShr returns a new lshr instruction based on the given operands.
ir/inst_bitwise.go:98
↓ 1 callers
Function
NewLShr
NewLShr returns a new lshr expression based on the given operands.
ir/constant/expr_bitwise.go:80
↓ 1 callers
Function
NewLandingPad
NewLandingPad returns a new landingpad instruction based on the given result type and filter/catch clauses.
ir/inst_other.go:605
↓ 1 callers
Function
NewLoad
NewLoad returns a new load instruction based on the given element type and source address.
ir/inst_memory.go:134
↓ 1 callers
Function
NewMul
NewMul returns a new mul instruction based on the given operands.
ir/inst_binary.go:290
↓ 1 callers
Function
NewMul
NewMul returns a new mul expression based on the given operands.
ir/constant/expr_binary.go:213
↓ 1 callers
Method
NewMul
~~~ [ mul ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewMul appends a new mul instruction to the basic block based on the giv
ir/block_binary.go:53
↓ 1 callers
Function
NewNoCFI
NewNoCFI returns a new no_cfi constant based on the given function.
ir/constant/const_no_cfi.go:22
↓ 1 callers
Function
NewNull
NewNull returns a new null pointer constant based on the given pointer type.
ir/constant/const_null.go:18
↓ 1 callers
Function
NewOperandBundle
NewOperandBundle returns a new operand bundle based on the given tag and input values.
ir/helper.go:354
↓ 1 callers
Function
NewOr
NewOr returns a new or instruction based on the given operands.
ir/inst_bitwise.go:282
↓ 1 callers
Function
NewOr
NewOr returns a new or expression based on the given operands.
ir/constant/expr_bitwise.go:221
↓ 1 callers
Function
NewPhi
NewPhi returns a new phi instruction based on the given incoming values.
ir/inst_other.go:178
↓ 1 callers
Function
NewPoison
NewPoison returns a new poison value based on the given type.
ir/constant/const_poison.go:18
↓ 1 callers
Function
NewPtrToInt
NewPtrToInt returns a new ptrtoint instruction based on the given source value and target type.
ir/inst_conversion.go:527
↓ 1 callers
Function
NewPtrToInt
NewPtrToInt returns a new ptrtoint expression based on the given source value and target type.
ir/constant/expr_conversion.go:347
↓ 1 callers
Function
NewResume
NewResume returns a new resume terminator based on the given exception argument to propagate.
ir/terminator.go:696
↓ 1 callers
Function
NewRet
NewRet returns a new ret terminator based on the given return value. A nil return value indicates a void return.
ir/terminator.go:58
↓ 1 callers
Function
NewSDiv
NewSDiv returns a new sdiv instruction based on the given operands.
ir/inst_binary.go:482
↓ 1 callers
Function
NewSDiv
NewSDiv returns a new sdiv expression based on the given operands.
ir/constant/expr_binary.go:355
← previous
next →
401–500 of 1,729, ranked by callers