Displaying 1 result from an estimated 1 matches for "inlineasmdataflowchecker".
2018 Nov 26
4
[RFC] Checking inline assembly for validity
...isions, so the
above diagnostic is always reported, regardless of whether x and c were
allocated in the same register or not. This allows it to catch code which
currently works but might break in future.
The way this works is:
- When the AsmParser reaches an INLINEASM MachineInstr, it creates an
InlineAsmDataflowChecker object, which tracks all of the information we need
to know about one inline assembly statement.
- The AsmPrinter examines the operands to the MachineInstruction, and calls
functions on the tracking object to record information about each operand to
the inline assembly block, as provided by t...