search for: getelementasrecord

Displaying 1 result from an estimated 1 matches for "getelementasrecord".

2012 Nov 27
0
[LLVMdev] question about code in FixedLenDecoderEmitter.cpp
...mp;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 checking whether there exists a field named "AssemblerMatcherPredicate" in record "Pred", but It seems to me that it should be checking whether the field AssemblerM...