search for: a_params

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

Did you mean: c_params
2011 Sep 04
1
[LLVMdev] correct types for ArgumentList?
...gnature error. So basically the function is setup to take arguments like this: vector<Type *> v_params; v_params.push_back(ptrType); /* Shadow */ v_params.push_back(ptrType); /* New Value */ v_params.push_back(ptrType); /* Pointer */ ArrayRef<Type *> a_params(v_params); Where the assignment will look something like this: Value *val = newFunc->arg_begin(); Value *ptr = ++(newFunc->arg_begin()); new StoreInst(val, ptr, block); But the only way I know to call is it is like this: vector<Value *> v_args; v_...