diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-09-18 15:00:06 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-09-18 15:00:06 +0000 |
commit | 9f9cdd41ccb90ed75fa8903307214f16e56ed51a (patch) | |
tree | 7286d9b2815670e6a707a17a36e9375fae2bd850 /clang/lib/Index/IndexingAction.cpp | |
parent | 01c3154971ffd01911d9f1df97ecf4b7e9d9652c (diff) | |
download | bcm5719-llvm-9f9cdd41ccb90ed75fa8903307214f16e56ed51a.tar.gz bcm5719-llvm-9f9cdd41ccb90ed75fa8903307214f16e56ed51a.zip |
[llvm-mca] Add the ability to mark register reads/writes associated with dep-breaking instructions. NFCI
This patch adds two new boolean fields:
- Field `ReadState::IndependentFromDef`.
- Field `WriteState::WritesZero`.
Field `IndependentFromDef` is set for ReadState objects associated with
dependency-breaking instructions. It is used by the simulator when updating data
dependencies between registers.
Field `WritesZero` is set by WriteState objects associated with dependency
breaking zero-idiom instructions. It helps the PRF identify which writes don't
consume any physical registers.
llvm-svn: 342483
Diffstat (limited to 'clang/lib/Index/IndexingAction.cpp')
0 files changed, 0 insertions, 0 deletions