mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Add READPORT, WRITEPORT, READIO, WRITEIO nodes, wrap long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f13c334536
commit
21074f43ed
@ -179,12 +179,14 @@ public:
|
|||||||
SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
|
SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
|
||||||
SDOperand N2, SDOperand N3, MVT::ValueType EVT);
|
SDOperand N2, SDOperand N3, MVT::ValueType EVT);
|
||||||
SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
|
SDOperand getNode(unsigned Opcode, MVT::ValueType VT, SDOperand N1,
|
||||||
SDOperand N2, SDOperand N3, SDOperand N4, MVT::ValueType EVT);
|
SDOperand N2, SDOperand N3, SDOperand N4,
|
||||||
|
MVT::ValueType EVT);
|
||||||
|
|
||||||
/// getLoad - Loads are not normal binary operators: their result type is not
|
/// getLoad - Loads are not normal binary operators: their result type is not
|
||||||
/// determined by their operands, and they produce a value AND a token chain.
|
/// determined by their operands, and they produce a value AND a token chain.
|
||||||
///
|
///
|
||||||
SDOperand getLoad(MVT::ValueType VT, SDOperand Chain, SDOperand Ptr, SDOperand SV);
|
SDOperand getLoad(MVT::ValueType VT, SDOperand Chain, SDOperand Ptr,
|
||||||
|
SDOperand SV);
|
||||||
|
|
||||||
// getSrcValue - construct a node to track a Value* through the backend
|
// getSrcValue - construct a node to track a Value* through the backend
|
||||||
SDOperand getSrcValue(const Value* I, int offset = 0);
|
SDOperand getSrcValue(const Value* I, int offset = 0);
|
||||||
|
@ -252,13 +252,19 @@ namespace ISD {
|
|||||||
ADJCALLSTACKDOWN, // Beginning of a call sequence
|
ADJCALLSTACKDOWN, // Beginning of a call sequence
|
||||||
ADJCALLSTACKUP, // End of a call sequence
|
ADJCALLSTACKUP, // End of a call sequence
|
||||||
|
|
||||||
|
// SRCVALUE - This corresponds to a Value*, and is used to associate memory
|
||||||
|
// locations with their value. This allows one use alias analysis
|
||||||
|
// information in the backend.
|
||||||
|
SRCVALUE,
|
||||||
|
|
||||||
// PCMARKER - This corresponds to the pcmarker intrinsic.
|
// PCMARKER - This corresponds to the pcmarker intrinsic.
|
||||||
PCMARKER,
|
PCMARKER,
|
||||||
|
|
||||||
// SRCVALUE - This corresponds to a Value*, and is used to carry associate
|
// READPORT, WRITEPORT, READIO, WRITEIO - These correspond to the LLVM
|
||||||
// memory operations with their corrosponding load. This lets one use the
|
// intrinsics of the same name. The first operand is a token chain, the
|
||||||
// pointer analysis information in the backend
|
// other operands match the intrinsic. These produce a token chain in
|
||||||
SRCVALUE,
|
// addition to a value (if any).
|
||||||
|
READPORT, WRITEPORT, READIO, WRITEIO,
|
||||||
|
|
||||||
// BUILTIN_OP_END - This must be the last enum value in this list.
|
// BUILTIN_OP_END - This must be the last enum value in this list.
|
||||||
BUILTIN_OP_END,
|
BUILTIN_OP_END,
|
||||||
|
Loading…
Reference in New Issue
Block a user