Displaying 1 result from an estimated 1 matches for "const_ptr_183_indices".
2015 Mar 16
4
[LLVMdev] size of const_ptr for array index
Hi all,
when e.g. accessing a global variable residing in a structure, the c++API
code looks like:
std::vector<Constant*> const_ptr_183_indices;
const_ptr_183_indices.push_back(const_int32_172);
const_ptr_183_indices.push_back(const_int32_184);
const_ptr_183_indices.push_back(const_int64_175);
Constant* const_ptr_183 = ConstantExpr::getGetElementPtr(gvar_struct_foo,
const_ptr_183_indices);
the struct could be
struct stest {
doubl...