Lines Matching refs:TailCallElim
89 struct TailCallElim : public FunctionPass { struct
93 TailCallElim() : FunctionPass(ID) { in TailCallElim() function
126 char TailCallElim::ID = 0;
127 INITIALIZE_PASS_BEGIN(TailCallElim, "tailcallelim",
130 INITIALIZE_PASS_END(TailCallElim, "tailcallelim", in INITIALIZE_PASS_DEPENDENCY()
135 return new TailCallElim(); in INITIALIZE_PASS_DEPENDENCY()
138 void TailCallElim::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
159 bool TailCallElim::runOnFunction(Function &F) { in runOnFunction()
253 bool TailCallElim::markTails(Function &F, bool &AllCallsAreTailCalls) { in markTails()
388 bool TailCallElim::runTRE(Function &F) { in runTRE()
446 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { in CanMoveAboveCall()
542 Value *TailCallElim::CanTransformAccumulatorRecursion(Instruction *I, in CanTransformAccumulatorRecursion()
570 TailCallElim::FindTRECandidate(Instruction *TI, in FindTRECandidate()
620 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall()
798 bool TailCallElim::FoldReturnAndProcessPred(BasicBlock *BB, in FoldReturnAndProcessPred()
845 TailCallElim::ProcessReturningBlock(ReturnInst *Ret, BasicBlock *&OldEntry, in ProcessReturningBlock()