mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -196,6 +196,18 @@ public:
|
||||
/// getZeroExtendInReg - Return the expression required to zero extend the Op
|
||||
/// value assuming it was the smaller SrcTy value.
|
||||
SDOperand getZeroExtendInReg(SDOperand Op, MVT::ValueType SrcTy);
|
||||
|
||||
/// getCALLSEQ_START - Return a new CALLSEQ_START node, which always must have
|
||||
/// a flag result (to ensure it's not CSE'd).
|
||||
SDOperand getCALLSEQ_START(SDOperand Chain, SDOperand Op) {
|
||||
std::vector<MVT::ValueType> ResultTys;
|
||||
ResultTys.push_back(MVT::Other);
|
||||
ResultTys.push_back(MVT::Flag);
|
||||
std::vector<SDOperand> Ops;
|
||||
Ops.push_back(Chain);
|
||||
Ops.push_back(Op);
|
||||
return getNode(ISD::CALLSEQ_START, ResultTys, Ops);
|
||||
}
|
||||
|
||||
/// getNode - Gets or creates the specified node.
|
||||
///
|
||||
|
Reference in New Issue
Block a user