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
↓ 3 callers
Method
NewBlock
NewBlock appends a new basic block to the function based on the given label name. An empty label name indicates an unnamed basic block. The Parent fi
ir/func_block.go:7
↓ 3 callers
Function
NewFloatFromString
NewFloatFromString returns a new floating-point constant based on the given floating-point type and floating-point string. The floating-point string
ir/constant/const_float.go:62
↓ 3 callers
Method
NewGlobalDef
NewGlobalDef appends a new global variable definition to the module based on the given global variable name and initial value.
ir/module_global.go:20
↓ 3 callers
Method
NewLoad
~~~ [ load ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewLoad appends a new load instruction to the basic block based on the g
ir/block_memory.go:25
↓ 3 callers
Method
NewRet
--- [ Terminators ] --------------------------------------------------------- ~~~ [ ret ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ir/block_term.go:13
↓ 3 callers
Method
NewStore
~~~ [ store ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NewStore appends a new store instruction to the basic block based on the
ir/block_memory.go:35
↓ 3 callers
Method
SetID
SetID sets the ID of the local identifier.
ir/helper.go:552
↓ 3 callers
Method
String
String returns the LLVM syntax representation of the instruction as a type-value pair.
ir/inst_vector.go:110
↓ 3 callers
Method
String
String returns the LLVM syntax representation of the constant expression as a type-value pair.
ir/constant/expr_bitwise.go:230
↓ 3 callers
Method
String
String returns the LLVM syntax representation of the metadata value as a type-value pair.
ir/metadata/metadata.go:119
↓ 3 callers
Method
Type
Type returns the type of the global variable.
ir/global.go:88
↓ 3 callers
Method
Type
Type returns the type of the instruction.
ir/inst_memory.go:59
↓ 3 callers
Function
Unescape
Unescape replaces hexadecimal escape sequences (\xx) in s with their corresponding characters.
internal/enc/enc.go:301
↓ 3 callers
Function
Unquote
Unquote interprets s as a double-quoted string literal, returning the string value that s quotes.
internal/enc/enc.go:339
↓ 3 callers
Function
comdatName
--- [ Comdat identifiers ] -------------------------------------------------- comdatName returns the name (without '%' prefix) of the given comdat nam
asm/helper.go:109
↓ 3 callers
Function
getTypeName
getTypeName returns the identifier (without '%' prefix) of the given type identifier.
asm/type.go:531
↓ 3 callers
Method
irArg
irArg returns the IR argument corresponding to the given AST argument.
asm/helper.go:262
↓ 3 callers
Method
irIntConst
--- [ Integer constants ] --------------------------------------------------- irIntConst translates the AST integer constant into an equivalent IR int
asm/const.go:94
↓ 3 callers
Method
irMDTuple
irMDTuple returns the IR metadata tuple corresponding to the given AST metadata tuple. A new IR metadata tuple correspoding to the AST metadata tuple
asm/metadata.go:64
↓ 3 callers
Method
irOperandBundle
irOperandBundle returns the IR operand bundle corresponding to the given AST operand bundle.
asm/helper.go:575
↓ 3 callers
Method
irSpecializedMDNode
=== [ SpecializedMDNode ] =================================================== irSpecializedMDNode returns the IR specialized metadata node correspondi
asm/specialized_metadata.go:18
↓ 3 callers
Function
irTLSModelFromThreadLocal
irTLSModelFromThreadLocal returns the IR TLS model corresponding to the given AST thread local storage.
asm/helper.go:704
↓ 3 callers
Method
metadataDefFromID
### [ Helper functions ] #################################################### metadataDefFromID returns the IR metadata definition associated with the
asm/metadata.go:171
↓ 3 callers
Function
tlsModelString
tlsModelString returns the string representation of the given thread local storage model.
ir/helper.go:483
↓ 2 callers
Method
AssignIDs
AssignIDs assigns IDs to unnamed local variables.
ir/func.go:154
↓ 2 callers
Function
EscapeString
EscapeString replaces any characters in s categorized as invalid in string literals with corresponding hexadecimal escape sequence (\XX).
internal/enc/enc.go:257
↓ 2 callers
Method
IsUnnamed
IsUnnamed reports whether the global identifier is unnamed.
ir/helper.go:275
↓ 2 callers
Method
IsUnnamed
IsUnnamed reports whether the local identifier is unnamed.
ir/helper.go:334
↓ 2 callers
Function
LabelName
LabelName encodes a label name to its LLVM IR assembly representation. Examples: "foo" -> "foo:" "a b" -> `"a b":` "世" -> `"\E4\B8\96":` "2" -> `"2":
internal/enc/enc.go:90
↓ 2 callers
Method
NewAdd
--- [ Binary instructions ] ------------------------------------------------- ~~~ [ add ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ir/block_binary.go:13
↓ 2 callers
Method
NewAlloca
--- [ Memory instructions ] ------------------------------------------------- ~~~ [ alloca ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ir/block_memory.go:15
↓ 2 callers
Function
NewCharArray
NewCharArray returns a new character array constant based on the given character array contents.
ir/constant/const_array.go:77
↓ 2 callers
Function
NewIntFromString
NewIntFromString returns a new integer constant based on the given integer type and string. The integer string may be expressed in one of the followi
ir/constant/const_int.go:47
↓ 2 callers
Function
NewParam
NewParam returns a new function parameter based on the given name and type.
ir/helper.go:421
↓ 2 callers
Function
NewStore
NewStore returns a new store instruction based on the given source value and destination address.
ir/inst_memory.go:217
↓ 2 callers
Function
NewTrunc
NewTrunc returns a new trunc instruction based on the given source value and target type.
ir/inst_conversion.go:32
↓ 2 callers
Function
NewUndef
NewUndef returns a new undefined value based on the given type.
ir/constant/const_undef.go:18
↓ 2 callers
Function
ParseBytes
ParseBytes parses the given LLVM IR assembly file into an LLVM IR module, reading from b. An optional path to the source file may be specified for err
asm/asm.go:45
↓ 2 callers
Method
Sig
Sig returns the function signature of the callee.
ir/inst_other.go:519
↓ 2 callers
Method
Sig
Sig returns the function signature of the invokee.
ir/terminator.go:497
↓ 2 callers
Method
Sig
Sig returns the function signature of the callee.
ir/terminator.go:669
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the alias as a type-value pair.
ir/alias.go:50
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the instruction as a type-value pair.
ir/inst_aggregate.go:113
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the basic block as a type-value pair.
ir/block.go:42
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the constant as a type-value pair.
ir/constant/const_vector.go:35
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the constant as a type-value pair.
ir/constant/const_array.go:36
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the constant expression as a type-value pair.
ir/constant/expr_aggregate.go:91
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the constant as a type-value pair.
ir/constant/const_int.go:106
↓ 2 callers
Method
String
String returns the LLVM syntax representation of the constant as a type-value pair.
ir/constant/const_struct.go:34
↓ 2 callers
Method
Type
Type returns the type of the instruction. The result type is a struct type with two fields, the first field has the type of the old value and the seco
ir/inst_memory.go:360
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_memory.go:442
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_memory.go:519
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:48
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:112
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:176
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:240
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:304
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:368
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:432
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:496
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:560
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:622
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:680
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_binary.go:740
↓ 2 callers
Method
Type
Type returns the type of the alias.
ir/alias.go:55
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:48
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:112
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:176
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:238
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:296
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_bitwise.go:354
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_aggregate.go:48
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_aggregate.go:118
↓ 2 callers
Method
Type
Type returns the type of the function.
ir/func.go:103
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_vector.go:48
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_vector.go:115
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_vector.go:181
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_unary.go:48
↓ 2 callers
Method
Type
Type returns the type of the IFunc.
ir/ifunc.go:56
↓ 2 callers
Method
Type
Type returns the type of the instruction. The result type is either boolean type or vector of booleans type.
ir/inst_other.go:50
↓ 2 callers
Method
Type
Type returns the type of the instruction. The result type is either boolean type or vector of booleans type.
ir/inst_other.go:121
↓ 2 callers
Method
Type
Type returns the type of the instruction. The result type is the type of the incoming value.
ir/inst_other.go:193
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_other.go:297
↓ 2 callers
Method
Type
Type returns the type of the instruction.
ir/inst_other.go:359
↓ 2 callers
Method
Type
Type returns the type of the constant.
ir/constant/const_no_cfi.go:33
↓ 2 callers
Method
Type
Type returns the type of the constant.
ir/constant/const_blockaddress.go:33
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:43
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:91
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:135
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:183
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:227
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:275
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:319
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:369
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:417
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:459
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:501
↓ 2 callers
Method
Type
Type returns the type of the constant expression.
ir/constant/expr_binary.go:543
↓ 2 callers
Method
Type
Type returns the type of the constant.
ir/constant/const_vector.go:40
↓ 2 callers
Method
Type
Type returns the type of the constant.
ir/constant/const_dso_local_equivalent.go:34
← previous
next →
101–200 of 1,729, ranked by callers