X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FCodeGen%2FAnalysis.h;fp=include%2Fllvm%2FCodeGen%2FAnalysis.h;h=9c078d497f42a4ca706ffee943cff156645e8021;hb=56b7de65b09fbae0b18e75d97785d4a72b5f0707;hp=c5060fb5441cdc889a786847934fd0ba1c383816;hpb=2f58a513f165f5d622b38a22ddb58ce0d64c5aad;p=oota-llvm.git diff --git a/include/llvm/CodeGen/Analysis.h b/include/llvm/CodeGen/Analysis.h index c5060fb5441..9c078d497f4 100644 --- a/include/llvm/CodeGen/Analysis.h +++ b/include/llvm/CodeGen/Analysis.h @@ -24,10 +24,11 @@ namespace llvm { class GlobalVariable; class TargetLoweringBase; +class TargetLowering; +class TargetMachine; class SDNode; class SDValue; class SelectionDAG; -class TargetLowering; struct EVT; /// ComputeLinearIndex - Given an LLVM IR aggregate type and a sequence @@ -86,7 +87,8 @@ ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred); /// between it and the return. /// /// This function only tests target-independent requirements. -bool isInTailCallPosition(ImmutableCallSite CS, const SelectionDAG &DAG); +bool isInTailCallPosition(ImmutableCallSite CS, const TargetMachine &TM, + const TargetLoweringBase &TLI); /// Test if given that the input instruction is in the tail call position if the /// return type or any attributes of the function will inhibit tail call