search for: a_arg

Displaying 3 results from an estimated 3 matches for "a_arg".

Did you mean: va_arg
2011 Sep 04
1
[LLVMdev] correct types for ArgumentList?
...rg_begin()); new StoreInst(val, ptr, block); But the only way I know to call is it is like this: vector<Value *> v_args; v_args.push_back(shadow); v_args.push_back(store->getValueOperand()); v_args.push_back(store->getPointerOperand()); ArrayRef<Value *> a_args(v_args); What is the correct way todo something like this? The full code for this simple pass is here: http://tinypaste.com/4df56 Thank you
2011 Oct 13
0
[LLVMdev] BasicBlock succ iterator
...; preds = %entry %5 = alloca [3 x i64] %j_arg = ptrtoint i32* %j to i64 %6 = getelementptr [3 x i64]* %5, i64 0, i64 0 store i64 %j_arg, i64* %6 %t_arg = ptrtoint i32* %t to i64 %7 = getelementptr [3 x i64]* %5, i64 0, i64 1 store i64 %t_arg, i64* %7 %a_arg = ptrtoint [2 x i32]* %a to i64 %8 = getelementptr [3 x i64]* %5, i64 0, i64 2 store i64 %a_arg, i64* %8 call void @sync_init() %9 = bitcast [3 x i64]* %5 to i64* call void @sync_delegate(i32 0, i8* (i8*)* @"1_subloop_0", i64* %9) %10 = bitcast [3 x i64]* %5 to i64* call voi...
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
Hi, All I want to implement DSWP Which is used for parallelization of loops. For this purpose, the loop was replaced with a new basic block in main function. And new functions were created and basic blocks of Loop assigned to them.I have checked blocks and branches for Succ and Pred relation and I have not found any problems. However I get the following error: * **opt: