mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[FastISel] Add target-independent patchpoint intrinsic support. WIP.
This implements the target-independent lowering for the patchpoint intrinsic. Targets have to implement the FastLowerCall hook to support this intrinsic. Related to <rdar://problem/17427052> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -541,6 +541,7 @@ private:
|
||||
bool SelectGetElementPtr(const User *I);
|
||||
|
||||
bool SelectStackmap(const CallInst *I);
|
||||
bool SelectPatchpoint(const CallInst *I);
|
||||
bool LowerCall(const CallInst *I);
|
||||
bool SelectCall(const User *Call);
|
||||
bool SelectIntrinsicCall(const IntrinsicInst *II);
|
||||
@@ -574,6 +575,9 @@ private:
|
||||
|
||||
bool addStackMapLiveVars(SmallVectorImpl<MachineOperand> &Ops,
|
||||
const CallInst *CI, unsigned StartIdx);
|
||||
bool lowerCallOperands(const CallInst *CI, unsigned ArgIdx, unsigned NumArgs,
|
||||
const Value *Callee, bool ForceRetVoidTy,
|
||||
CallLoweringInfo &CLI);
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user