search for: numinvokeinst

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

2014 Nov 07
2
[LLVMdev] Fwd: LLVM Help
...nstCount.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"); > exit(1); > } > fprintf(f, "NumGetElementPtrInst: %d\n, NumLoadInst: > %d\n,Nu...