Displaying 3 results from an estimated 3 matches for "a_args".
Did you mean:
t_args
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
thank john,
i have used dump() , and each blocks had pred except entery block, i get the
following output:
fun main entry
entry:
%retval = alloca i32
%0 = alloca i32
%i = alloca i32
%j = alloca i32
%a = alloca [2 x i32]
%n = alloca i32
%t = alloca i32
%"alloca point" = bitcast i32 0 to i32
%1 = getelementptr inbounds [2 x i32]* %a, i32 0, i32 0
%2 = load i32*
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: