Displaying 3 results from an estimated 3 matches for "ignorablepassimpl".
2007 Aug 10
0
[LLVMdev] Choosing Alias Analysis
On Friday 10 August 2007 15:12, David Greene wrote:
> Perhaps an easier way is to just expose the -simple-register-coalescing
> and -conservative-register-coalescing options to the user, but I don't know
> how to do that on an individual pass bases. opt just jams then all in with
> PassNameParser. PassNameParser.h makes reference to a
> FilteredPassNameParser that sounds
2007 Aug 10
3
[LLVMdev] Choosing Alias Analysis
...dd a command line argument to opt for
// each pass that satisfies a filter criteria. Filter should return
// true for passes to be registered as command-line options.
//
template<typename Filter>
class FilteredPassNameParser : public PassNameParser {
private:
Filter filter;
public:
bool ignorablePassImpl(const PassInfo *P) const { return !filter(*P); }
};
//===----------------------------------------------------------------------===//
// PassArgFilter - A filter for use with PassNameFilterParser that only
// accepts a Pass whose Arg matches certain strings.
//
// Use like this:
//
// extern const...
2007 Aug 10
2
[LLVMdev] Choosing Alias Analysis
On Friday 10 August 2007 13:54, Devang Patel wrote:
> > Or is it sufficient than an Andersen's object is constructed and
> > that that
> > constitutes "availability?"
>
> What do you mean by "available" ? You are using quotes :)
"Available" as referenced by PassSupport.h:
/// RegisterAnalysisGroup - Register a Pass as a member of an