search for: startmeminst

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

Did you mean: startmeminsts
2014 Nov 07
2
[LLVMdev] Fwd: LLVM Help
> Hi All, > Attached above my InstCount.cpp after modification. I did simple > modification which is the following (The statements between the > ************** ) : > bool InstCount::runOnFunction(Function &F) { > unsigned StartMemInsts = > NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst + > NumInvokeInst + NumAllocaInst; > //*******************************Omar******** > FILE *f = fopen("omar.txt", "w"); > if (f == NULL) > { > printf("Error opening file!\n"); &gt...