Displaying 1 result from an estimated 1 matches for "iconst".
Did you mean:
const
2012 Jun 25
1
[LLVMdev] getting identifier for alloca instruction and basic blocks
...api? Does the llvm-dis generate the names for
the identifiers or obtains this information from somewhere else?
The reason is that I want to create an Haskell model out of the llvm
ir code so for instance given:
data Identifier = Local String | Global String
data Label = Label String
data Value = IConstant Int | Ident Identifier
data Instruction = ICmp Identifier IPred Value Value
| Br Value Label Label
And the LLVM IR instructions
%2 = icmp eq i32 %argc, 3
br i1 %2, label %3, label %40
I'm extending the llvm c bindings and haskell bindings to generate:
[ICmp (L...