summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-10-31 17:18:24 +0000
committerAndrew Trick <atrick@apple.com>2013-10-31 17:18:24 +0000
commit74f4c749cf4deaecfdd71a7215a6333bbeff3f25 (patch)
treee2119f17d6c1c7df4a75fe6a3f7e09bddb30a1fc /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent2af716afbe5db6efb7c52603b704b531b2b6f9c3 (diff)
downloadbcm5719-llvm-74f4c749cf4deaecfdd71a7215a6333bbeff3f25.tar.gz
bcm5719-llvm-74f4c749cf4deaecfdd71a7215a6333bbeff3f25.zip
Lower stackmap intrinsics directly to their target opcode in the DAG builder.
llvm-svn: 193769
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 17a735bace7..6ecf5a0abbb 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -619,6 +619,11 @@ public:
void LowerCallTo(ImmutableCallSite CS, SDValue Callee, bool IsTailCall,
MachineBasicBlock *LandingPad = NULL);
+ std::pair<SDValue, SDValue> LowerCallOperands(const CallInst &CI,
+ unsigned ArgIdx,
+ unsigned NumArgs,
+ SDValue Callee);
+
/// UpdateSplitBlock - When an MBB was split during scheduling, update the
/// references that ned to refer to the last resulting block.
void UpdateSplitBlock(MachineBasicBlock *First, MachineBasicBlock *Last);
@@ -752,6 +757,8 @@ private:
void visitVAArg(const VAArgInst &I);
void visitVAEnd(const CallInst &I);
void visitVACopy(const CallInst &I);
+ void visitStackmap(const CallInst &I);
+ void visitPatchpoint(const CallInst &I);
void visitUserOp1(const Instruction &I) {
llvm_unreachable("UserOp1 should not exist at instruction selection time!");
OpenPOWER on IntegriCloud