Move some more code out of SelectionDAGBuild.cpp and into
FunctionLoweringInfo.cpp.
llvm-svn: 89674
diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
index 09fc23f..38e9409 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
+++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h
@@ -27,10 +27,13 @@
class AllocaInst;
class BasicBlock;
+class CallInst;
class Function;
+class GlobalVariable;
class Instruction;
class MachineBasicBlock;
class MachineFunction;
+class MachineModuleInfo;
class MachineRegisterInfo;
class TargetLowering;
class Value;
@@ -132,6 +135,13 @@
SmallVectorImpl<uint64_t> *Offsets = 0,
uint64_t StartingOffset = 0);
+/// ExtractTypeInfo - Returns the type info, possibly bitcast, encoded in V.
+GlobalVariable *ExtractTypeInfo(Value *V);
+
+/// AddCatchInfo - Extract the personality and type infos from an eh.selector
+/// call, and add them to the specified machine basic block.
+void AddCatchInfo(CallInst &I, MachineModuleInfo *MMI, MachineBasicBlock *MBB);
+
} // end namespace llvm
#endif