search for: llvmbuildalloca

Displaying 1 result from an estimated 1 matches for "llvmbuildalloca".

2011 Jun 18
1
[LLVMdev] loop only executes once
...b2) // Get the arg. LLVMSetValueName(ArgX, "ArgX") // Give it a symbolic name. Builder = LLVMCreateBuilderInContext(Context) BB = LLVMAppendBasicBlockInContext(Context, Fib2, "EntryBlock") //Entry LLVMPositionBuilderAtEnd(Builder, BB) //Protected a,b,c //a=1:b=1:c=0:d=argx A = LLVMBuildAlloca(Builder, IntType,"A")// B = LLVMBuildAlloca(Builder, IntType,"B")// C = LLVMBuildAlloca(Builder, IntType,"C")// D = LLVMBuildAlloca(Builder, IntType,"D")// One = LLVMConstInt(IntType, 1, 0) LLVMBuildStore(Builder,One,A)// LLVMBuildStore(Builder,One,B)// Z...