Displaying 1 result from an estimated 1 matches for "depinfo".
Did you mean:
pepinfo
2017 Aug 03
2
Dependence analysis - missing loop-carried dependencies?
...; preds = %5
%7 = load i32, i32* %i, align 4
%8 = add nsw i32 %7, 1
store i32 %8, i32* %i, align 4
br label %2
; <label>:9: ; preds = %2
ret i32 0
}
bool runOnFunction(Function &F) override {
DependenceInfo *depinfo =
&getAnalysis<DependenceAnalysisWrapperPass>().getDI();
// check dependencies between each pair of instructions
for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; I++) {
for (inst_iterator J = I; J != E; J++) {
std::unique_ptr<Dependence> i...