Displaying 1 result from an estimated 1 matches for "mo_targetindex".
2020 Mar 12
3
Getting up to speed with llvm backends. Machine Instruction operands.
...ie. *(y+10)
[20,u] # what register u + 20 pointer to pointer to ie. **(u+20)
w,y # what register y + register w points to ie. *(y+w)
Is there a way to pattern match these kinds of operands?
In MachineOperand.h I see this operand type. I assume I can match to
it?!?!?
MO_TargetIndex, ///< Target-dependent index+offset operand.
At https://llvm.org/docs/CodeGenerator.html#x86-addressing-mode
The x86 has a very flexible way of accessing memory. It is capable of
forming memory addresses of the following
expression directly in integer instructions (which use ModR...