search for: pointertypeid

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

Did you mean: pointertype
2016 May 17
2
Function arguments pass by value or by reference.
...store i8* (i32, double, i32*)* %fp, i8* (i32, double, i32*)** %fp.addr // storeInst I want to determine the type of the operands are function pointer or not? (That's what I want) However, callInst->getOperand(2)->getType()->getTypeID() always return 14 that'a the enum number of PointerTypeID. For the store instruction, first operand is the same as the operation with call instruction. How can I get the function pointer properly? Q2. Function arguments can be passed by value or by pointer in C-programming language. int arr[10]; struct node { int a; int att[10]; double ul; }; struct n...