search for: const_ptr_113

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

Did you mean: const_ptr_103
2015 Mar 10
3
[LLVMdev] Chatty C++API code generation
...; ------------------------ The generated c++API code to me seems to be too chatty in the sense that the foo.weight's data is copied to a local variable using a load instruction. The call instruction is then using the local copy. --- API code --------------- ... std::vector<Constant*> const_ptr_113_indices; const_ptr_113_indices.push_back(const_int32_103); const_ptr_113_indices.push_back(const_int32_104); Constant* const_ptr_113 = ConstantExpr::getGetElementPtr(gvar_struct_adam, const_ptr_113_indices); //here we have const_ptr_113; why not use it in theCallInst? LoadInst* float_130 = new...