Displaying 1 result from an estimated 1 matches for "float_call".
2015 Mar 10
3
[LLVMdev] Chatty C++API code generation
...;
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 LoadInst(const_ptr_113, "", false,
label_entry_121);
float_130->setAlignment(4);
CallInst* float_call = CallInst::Create(func__Z4fib3f, float_130, "call",
label_entry_121);
------------------------------------------------
To me, this ll code seems to relate to something like
int main() {
float localfloat=foo.weight;
callAFunction(localfloat);
This is distinct from the original c...