[llvm-dev] llvmlite for tmp

Samaneh Berenjian via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 25 09:13:51 PDT 2017


​Dear all,

I am writing a program with llvmlite module. In my program I have some constants, registers and tmps. For registers, i have define the following: 
llvmreg = builder.gep(regtag, (int32(0), int32(offset)), True)
return builder.load(llvmtmp, reg)

for constants, I have the following method: 

const_1 = ir.Constant(int64, data)

however, for tmps, i have no idea how they would be defined. Does anyone have any special idea for that? How should it be defined in llvmlite?

-- 
This email was Anti Virus checked by  Security Gateway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170725/0f156f25/attachment.html>


More information about the llvm-dev mailing list