MCPcopy Create free account

hub / github.com/llir/llvm / functions

Functions1,729 in github.com/llir/llvm

↓ 1 callersMethodLLString
LLString returns the LLVM syntax representation of the metadata tuple. '!' MDFields
ir/metadata/metadata.go:88
↓ 1 callersMethodLLString
LLString returns the LLVM syntax representation of the DIArgList metadata node. '!DIArgList' '(' Fields=(DIArgListField separator ',')* ')'
ir/metadata/metadata.go:232
↓ 1 callersFunctionLabelID
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 callersFunctionNewAShr
NewAShr returns a new ashr instruction based on the given operands.
ir/inst_bitwise.go:162
↓ 1 callersFunctionNewAShr
NewAShr returns a new ashr expression based on the given operands.
ir/constant/expr_bitwise.go:131
↓ 1 callersFunctionNewAdd
NewAdd returns a new add instruction based on the given operands.
ir/inst_binary.go:34
↓ 1 callersFunctionNewAdd
NewAdd returns a new add expression based on the given operands.
ir/constant/expr_binary.go:29
↓ 1 callersFunctionNewAddrSpaceCast
NewAddrSpaceCast returns a new addrspacecast instruction based on the given source value and target type.
ir/inst_conversion.go:683
↓ 1 callersFunctionNewAddrSpaceCast
NewAddrSpaceCast returns a new addrspacecast expression based on the given source value and target type.
ir/constant/expr_conversion.go:455
↓ 1 callersFunctionNewAlias
NewAlias returns a new alias based on the given alias name and aliasee.
ir/alias.go:40
↓ 1 callersFunctionNewAlloca
NewAlloca returns a new alloca instruction based on the given element type.
ir/inst_memory.go:45
↓ 1 callersFunctionNewAnd
NewAnd returns a new and instruction based on the given operands.
ir/inst_bitwise.go:224
↓ 1 callersFunctionNewAnd
NewAnd returns a new and expression based on the given operands.
ir/constant/expr_bitwise.go:179
↓ 1 callersFunctionNewArray
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 callersFunctionNewAtomicRMW
NewAtomicRMW returns a new atomicrmw instruction based on the given atomic operation, destination address, operand and atomic ordering.
ir/inst_memory.go:428
↓ 1 callersFunctionNewBitCast
NewBitCast returns a new bitcast instruction based on the given source value and target type.
ir/inst_conversion.go:631
↓ 1 callersFunctionNewBitCast
NewBitCast returns a new bitcast expression based on the given source value and target type.
ir/constant/expr_conversion.go:419
↓ 1 callersFunctionNewBlock
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 callersFunctionNewBlockAddress
NewBlockAddress returns a new blockaddress constant based on the given parent function and basic block.
ir/constant/const_blockaddress.go:22
↓ 1 callersFunctionNewBool
NewBool returns a new boolean constant based on the given boolean value.
ir/constant/const_int.go:29
↓ 1 callersFunctionNewBr
NewBr returns a new unconditional br terminator based on the given target basic block.
ir/terminator.go:115
↓ 1 callersFunctionNewCall
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 callersMethodNewCall
~~~ [ call ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewCall appends a new call instruction to the basic block based on the g
ir/block_other.go:58
↓ 1 callersFunctionNewCallBr
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 callersFunctionNewCase
NewCase returns a new switch case based on the given case comparand and target basic block.
ir/terminator.go:275
↓ 1 callersFunctionNewCatchPad
NewCatchPad returns a new catchpad instruction based on the given parent catchswitch terminator and exception arguments.
ir/inst_other.go:692
↓ 1 callersFunctionNewCatchRet
NewCatchRet returns a new catchret terminator based on the given exit catchpad and target basic block.
ir/terminator.go:850
↓ 1 callersFunctionNewCatchSwitch
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 callersFunctionNewCharArrayFromString
NewCharArrayFromString returns a new character array constant based on the given UTF-8 string contents.
ir/constant/const_array.go:84
↓ 1 callersFunctionNewClause
NewClause returns a new landingpad clause based on the given clause type and operand.
ir/inst_other.go:660
↓ 1 callersFunctionNewCleanupPad
NewCleanupPad returns a new cleanuppad instruction based on the given parent exception pad and exception arguments.
ir/inst_other.go:760
↓ 1 callersFunctionNewCleanupRet
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 callersFunctionNewCmpXchg
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 callersFunctionNewCondBr
NewCondBr returns a new conditional br terminator based on the given branching condition and conditional target basic blocks.
ir/terminator.go:166
↓ 1 callersFunctionNewDSOLocalEquivalent
NewDSOLocalEquivalent returns a new dso_local_equivalent constant based on the given function.
ir/constant/const_dso_local_equivalent.go:23
↓ 1 callersFunctionNewExtractElement
NewExtractElement returns a new extractelement instruction based on the given vector and element index.
ir/inst_vector.go:34
↓ 1 callersFunctionNewExtractElement
NewExtractElement returns a new extractelement expression based on the given vector and element index.
ir/constant/expr_vector.go:28
↓ 1 callersFunctionNewExtractValue
NewExtractValue returns a new extractvalue instruction based on the given aggregate value and indicies.
ir/inst_aggregate.go:34
↓ 1 callersFunctionNewExtractValue
NewExtractValue returns a new extractvalue expression based on the given aggregate value and indicies.
ir/constant/expr_aggregate.go:29
↓ 1 callersFunctionNewFAdd
NewFAdd returns a new fadd instruction based on the given operands.
ir/inst_binary.go:98
↓ 1 callersFunctionNewFAdd
NewFAdd returns a new fadd expression based on the given operands.
ir/constant/expr_binary.go:77
↓ 1 callersFunctionNewFCmp
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 callersFunctionNewFCmp
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 callersFunctionNewFDiv
NewFDiv returns a new fdiv instruction based on the given operands.
ir/inst_binary.go:546
↓ 1 callersFunctionNewFDiv
NewFDiv returns a new fdiv expression based on the given operands.
ir/constant/expr_binary.go:403
↓ 1 callersFunctionNewFMul
NewFMul returns a new fmul instruction based on the given operands.
ir/inst_binary.go:354
↓ 1 callersFunctionNewFMul
NewFMul returns a new fmul expression based on the given operands.
ir/constant/expr_binary.go:261
↓ 1 callersFunctionNewFNeg
NewFNeg returns a new fneg instruction based on the given operand.
ir/inst_unary.go:34
↓ 1 callersFunctionNewFNeg
NewFNeg returns a new fneg expression based on the given operand.
ir/constant/expr_unary.go:25
↓ 1 callersFunctionNewFPExt
NewFPExt returns a new fpext instruction based on the given source value and target type.
ir/inst_conversion.go:267
↓ 1 callersFunctionNewFPExt
NewFPExt returns a new fpext expression based on the given source value and target type.
ir/constant/expr_conversion.go:167
↓ 1 callersFunctionNewFPToSI
NewFPToSI returns a new fptosi instruction based on the given source value and target type.
ir/inst_conversion.go:371
↓ 1 callersFunctionNewFPToSI
NewFPToSI returns a new fptosi expression based on the given source value and target type.
ir/constant/expr_conversion.go:239
↓ 1 callersFunctionNewFPToUI
NewFPToUI returns a new fptoui instruction based on the given source value and target type.
ir/inst_conversion.go:319
↓ 1 callersFunctionNewFPToUI
NewFPToUI returns a new fptoui expression based on the given source value and target type.
ir/constant/expr_conversion.go:203
↓ 1 callersFunctionNewFPTrunc
NewFPTrunc returns a new fptrunc instruction based on the given source value and target type.
ir/inst_conversion.go:215
↓ 1 callersFunctionNewFPTrunc
NewFPTrunc returns a new fptrunc expression based on the given source value and target type.
ir/constant/expr_conversion.go:131
↓ 1 callersFunctionNewFRem
NewFRem returns a new frem instruction based on the given operands.
ir/inst_binary.go:726
↓ 1 callersFunctionNewFRem
NewFRem returns a new frem expression based on the given operands.
ir/constant/expr_binary.go:529
↓ 1 callersFunctionNewFSub
NewFSub returns a new fsub instruction based on the given operands.
ir/inst_binary.go:226
↓ 1 callersFunctionNewFSub
NewFSub returns a new fsub expression based on the given operands.
ir/constant/expr_binary.go:169
↓ 1 callersFunctionNewFence
NewFence returns a new fence instruction based on the given atomic ordering.
ir/inst_memory.go:284
↓ 1 callersFunctionNewFunc
NewFunc returns a new function based on the given function name, return type and function parameters.
ir/func.go:83
↓ 1 callersFunctionNewGetElementPtr
NewGetElementPtr returns a new getelementptr instruction based on the given element type, source address and element indices.
ir/inst_memory.go:505
↓ 1 callersFunctionNewGetElementPtr
NewGetElementPtr returns a new getelementptr expression based on the given element type, source address and element indices.
ir/constant/expr_memory.go:35
↓ 1 callersFunctionNewGlobal
NewGlobal returns a new global variable declaration based on the given global variable name and content type.
ir/global.go:63
↓ 1 callersFunctionNewGlobalDef
NewGlobalDef returns a new global variable definition based on the given global variable name and initial value.
ir/global.go:73
↓ 1 callersFunctionNewICmp
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 callersFunctionNewICmp
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 callersFunctionNewIFunc
NewIFunc returns a new indirect function based on the given IFunc name and resolver.
ir/ifunc.go:41
↓ 1 callersFunctionNewIncoming
NewIncoming returns a new incoming value based on the given value and predecessor basic block.
ir/inst_other.go:248
↓ 1 callersFunctionNewIndex
NewIndex returns a new gep element index.
ir/constant/expr_memory.go:90
↓ 1 callersFunctionNewIndirectBr
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 callersFunctionNewInlineAsm
NewInlineAsm returns a new inline assembler expression based on the given type, assembly instructions and constraints.
ir/inline_asm.go:31
↓ 1 callersFunctionNewInsertElement
NewInsertElement returns a new insertelement instruction based on the given vector, element and element index.
ir/inst_vector.go:101
↓ 1 callersFunctionNewInsertElement
NewInsertElement returns a new insertelement expression based on the given vector, element and element index.
ir/constant/expr_vector.go:79
↓ 1 callersFunctionNewInsertValue
NewInsertValue returns a new insertvalue expression based on the given aggregate value, element and indicies.
ir/constant/expr_aggregate.go:82
↓ 1 callersFunctionNewIntToPtr
NewIntToPtr returns a new inttoptr instruction based on the given source value and target type.
ir/inst_conversion.go:579
↓ 1 callersFunctionNewIntToPtr
NewIntToPtr returns a new inttoptr expression based on the given source value and target type.
ir/constant/expr_conversion.go:383
↓ 1 callersFunctionNewInvoke
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 callersFunctionNewLShr
NewLShr returns a new lshr instruction based on the given operands.
ir/inst_bitwise.go:98
↓ 1 callersFunctionNewLShr
NewLShr returns a new lshr expression based on the given operands.
ir/constant/expr_bitwise.go:80
↓ 1 callersFunctionNewLandingPad
NewLandingPad returns a new landingpad instruction based on the given result type and filter/catch clauses.
ir/inst_other.go:605
↓ 1 callersFunctionNewLoad
NewLoad returns a new load instruction based on the given element type and source address.
ir/inst_memory.go:134
↓ 1 callersFunctionNewMul
NewMul returns a new mul instruction based on the given operands.
ir/inst_binary.go:290
↓ 1 callersFunctionNewMul
NewMul returns a new mul expression based on the given operands.
ir/constant/expr_binary.go:213
↓ 1 callersMethodNewMul
~~~ [ mul ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewMul appends a new mul instruction to the basic block based on the giv
ir/block_binary.go:53
↓ 1 callersFunctionNewNoCFI
NewNoCFI returns a new no_cfi constant based on the given function.
ir/constant/const_no_cfi.go:22
↓ 1 callersFunctionNewNull
NewNull returns a new null pointer constant based on the given pointer type.
ir/constant/const_null.go:18
↓ 1 callersFunctionNewOperandBundle
NewOperandBundle returns a new operand bundle based on the given tag and input values.
ir/helper.go:354
↓ 1 callersFunctionNewOr
NewOr returns a new or instruction based on the given operands.
ir/inst_bitwise.go:282
↓ 1 callersFunctionNewOr
NewOr returns a new or expression based on the given operands.
ir/constant/expr_bitwise.go:221
↓ 1 callersFunctionNewPhi
NewPhi returns a new phi instruction based on the given incoming values.
ir/inst_other.go:178
↓ 1 callersFunctionNewPoison
NewPoison returns a new poison value based on the given type.
ir/constant/const_poison.go:18
↓ 1 callersFunctionNewPtrToInt
NewPtrToInt returns a new ptrtoint instruction based on the given source value and target type.
ir/inst_conversion.go:527
↓ 1 callersFunctionNewPtrToInt
NewPtrToInt returns a new ptrtoint expression based on the given source value and target type.
ir/constant/expr_conversion.go:347
↓ 1 callersFunctionNewResume
NewResume returns a new resume terminator based on the given exception argument to propagate.
ir/terminator.go:696
↓ 1 callersFunctionNewRet
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 callersFunctionNewSDiv
NewSDiv returns a new sdiv instruction based on the given operands.
ir/inst_binary.go:482
↓ 1 callersFunctionNewSDiv
NewSDiv returns a new sdiv expression based on the given operands.
ir/constant/expr_binary.go:355
← previousnext →401–500 of 1,729, ranked by callers