Preparation step for some cleanup/generalization in EH information emission:

provide TAI hook for selection of EH data emission format. Currently unused.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov
2008-02-27 23:33:50 +00:00
parent 0154e47ed0
commit cee750fb1e
4 changed files with 80 additions and 1 deletions

View File

@@ -25,7 +25,10 @@ namespace llvm {
explicit X86TargetAsmInfo(const X86TargetMachine &TM);
virtual bool ExpandInlineAsm(CallInst *CI) const;
virtual unsigned PreferredEHDataFormat(unsigned Reason, bool Global) const;
private:
const X86TargetMachine* X86TM;
bool LowerToBSwap(CallInst *CI) const;
};
} // namespace llvm