[PATCH] D20892: [esan|cfrag] Instrument GEP instr for struct field access.
Qin Zhao via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 18:27:38 PDT 2016
zhaoqin created this revision.
zhaoqin added reviewers: aizatsky, bruening.
zhaoqin added subscribers: bruening, kcc, vitalybuka, eugenis, llvm-commits, zhaoqin.
Instrument GEP instruction for counting the number of struct field
address calculation to approximate the number of struct field accesses.
Adds test struct_field_count_basic.ll to test the struct field
instrumentation.
http://reviews.llvm.org/D20892
Files:
lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
test/Instrumentation/EfficiencySanitizer/struct_field_count_basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20892.59328.patch
Type: text/x-patch
Size: 11126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/83b8606a/attachment.bin>
More information about the llvm-commits
mailing list