Need some feed back

Dear all:

I got the following statistics for a program:

23 instcount - Number of Add insts
28 instcount - Number of Alloca insts
78 instcount - Number of Br insts
11 instcount - Number of Call insts
1 instcount - Number of FAdd insts
3 instcount - Number of FDiv insts
3 instcount - Number of FMul insts
1 instcount - Number of FSub insts
21 instcount - Number of GetElementPtr insts
22 instcount - Number of ICmp insts
103 instcount - Number of Load insts
4 instcount - Number of PHI insts
5 instcount - Number of Ret insts
3 instcount - Number of SIToFP insts
53 instcount - Number of Store insts
83 instcount - Number of basic blocks
359 instcount - Number of instructions (of all types)
216 instcount - Number of memory instructions
5 instcount - Number of non-external functions

Does “IComp” mean Integer Compare? What are SIToFP and Ret insts?

Dear all:

I got the following statistics for a program:

23 instcount - Number of Add insts
28 instcount - Number of Alloca insts
78 instcount - Number of Br insts
11 instcount - Number of Call insts
1 instcount - Number of FAdd insts
3 instcount - Number of FDiv insts
3 instcount - Number of FMul insts
1 instcount - Number of FSub insts
21 instcount - Number of GetElementPtr insts
22 instcount - Number of ICmp insts
103 instcount - Number of Load insts
4 instcount - Number of PHI insts
5 instcount - Number of Ret insts
3 instcount - Number of SIToFP insts
53 instcount - Number of Store insts
83 instcount - Number of basic blocks
359 instcount - Number of instructions (of all types)
216 instcount - Number of memory instructions
5 instcount - Number of non-external functions

Does “IComp” mean Integer Compare? What are SIToFP and Ret insts?

I believe that sitofp is the number of Signed Integer to Floating Point cast instructions, and ret is the number of return (ret) instructions.

Just as an FYI, I believe this is the output of the -instcount pass, which is counting the number of instructions at the LLVM IR level.

– John T.