Function &F, InformationCache &InfoCache,
DenseSet</* Attribute::AttrKind */ unsigned> *Whitelist) {
+ // Check for dead BasicBlocks in every function.
+ registerAA(*new AAIsDeadFunction(F, InfoCache));
+
+ // Every function might be "will-return".
+ registerAA(*new AAWillReturnFunction(F, InfoCache));
+
// Every function can be nounwind.
registerAA(*new AANoUnwindFunction(F, InfoCache));
}
}
- // Every function might be "will-return".
- registerAA(*new AAWillReturnFunction(F, InfoCache));
-
- // Check for dead BasicBlocks in every function.
- registerAA(*new AAIsDeadFunction(F, InfoCache));
-
// Walk all instructions to find more attribute opportunities and also
// interesting instructions that might be queried by abstract attributes
// during their initialization or update.