Displaying 2 results from an estimated 2 matches for "getnodemap".
2016 Oct 21
2
Accessing the associated LLVM IR Instruction for an SDNode used in instruction selection (back end)
...it
after that;
- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h - added an accessor for the
private NodeMap object relating LLVM IR Instructions to generated SDNodes:
public:
// Alex: added a getter for NodeMap
DenseMap<const Value*, SDValue> &getNodeMap() {
return NodeMap;
}
A small problem is that it seems that when I access the NodeMap in
[Target]DAGToDAGISel::Select(SDNode *Node) method (part of subclass of SelectionDAGISel),
the NodeMap contains quite a few SDNodes tagged as <<Deleted Node!>> (for...
2016 Oct 24
2
Accessing the associated LLVM IR Instruction for an SDNode used in instruction selection (back end)
...cess it after
>> that; - llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h - added an accessor for
>> the private NodeMap object relating LLVM IR Instructions to generated SDNodes:
>> public: // Alex: added a getter for NodeMap DenseMap<const Value*, SDValue>
>> &getNodeMap() { return NodeMap; }
>>
>> A small problem is that it seems that when I access the NodeMap in
>> [Target]DAGToDAGISel::Select(SDNode *Node) method (part of subclass of
>> SelectionDAGISel), the NodeMap contains quite a few SDNodes tagged as <<Deleted
>> Node!>...