Displaying 1 result from an estimated 1 matches for "allinstructions".
Did you mean:
callinstructions
2012 Nov 27
0
[LLVMdev] question about code in FixedLenDecoderEmitter.cpp
I have a question about the code in
utils/TableGen/FixedLenDecoderEmitter.cpp (line 1150).
bool FilterChooser::emitPredicateMatch(raw_ostream &o, unsigned
&Indentation,
unsigned Opc) const {
ListInit *Predicates =
AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates");
for (unsigned i = 0; i < Predicates->getSize(); ++i) {
Record *Pred = Predicates->getElementAsRecord(i);
if (!Pred->getValue("AssemblerMatcherPredicate"))
continue;
The code above seems to be chec...