use of org.graalvm.compiler.lir.sparc.SPARCIndexedAddressValue in project graal by oracle.
the class SPARCIndexedAddressNode method generate.
@Override
public void generate(NodeLIRBuilderTool gen) {
SPARCLIRGenerator tool = (SPARCLIRGenerator) gen.getLIRGeneratorTool();
AllocatableValue baseValue = tool.asAllocatable(gen.operand(base));
AllocatableValue indexValue = tool.asAllocatable(gen.operand(index));
AllocatableValue baseReference = LIRKind.derivedBaseFromValue(baseValue);
AllocatableValue indexReference = LIRKind.derivedBaseFromValue(indexValue);
LIRKind kind = LIRKind.combineDerived(tool.getLIRKind(stamp(NodeView.DEFAULT)), baseReference, indexReference);
gen.setResult(this, new SPARCIndexedAddressValue(kind, baseValue, indexValue));
}
Aggregations