Lines Matching refs:CallAnalyzer
71 class CallAnalyzer : public InstVisitor<CallAnalyzer, bool> { class
72 typedef InstVisitor<CallAnalyzer, bool> Base;
73 friend class InstVisitor<CallAnalyzer, bool>;
206 CallAnalyzer(const TargetTransformInfo &TTI, AssumptionCacheTracker *ACT, in CallAnalyzer() function in __anonb653f77d0111::CallAnalyzer
243 bool CallAnalyzer::isAllocaDerivedArg(Value *V) { in isAllocaDerivedArg()
249 bool CallAnalyzer::lookupSROAArgAndCost( in lookupSROAArgAndCost()
267 void CallAnalyzer::disableSROA(DenseMap<Value *, int>::iterator CostIt) { in disableSROA()
277 void CallAnalyzer::disableSROA(Value *V) { in disableSROA()
285 void CallAnalyzer::accumulateSROACost(DenseMap<Value *, int>::iterator CostIt, in accumulateSROACost()
294 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) { in isGEPOffsetConstant()
306 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
336 bool CallAnalyzer::visitAlloca(AllocaInst &I) { in visitAlloca()
369 bool CallAnalyzer::visitPHI(PHINode &I) { in visitPHI()
382 bool CallAnalyzer::visitGetElementPtr(GetElementPtrInst &I) { in visitGetElementPtr()
430 bool CallAnalyzer::visitBitCast(BitCastInst &I) { in visitBitCast()
458 bool CallAnalyzer::visitPtrToInt(PtrToIntInst &I) { in visitPtrToInt()
495 bool CallAnalyzer::visitIntToPtr(IntToPtrInst &I) { in visitIntToPtr()
526 bool CallAnalyzer::visitCastInst(CastInst &I) { in visitCastInst()
543 bool CallAnalyzer::visitUnaryInstruction(UnaryInstruction &I) { in visitUnaryInstruction()
562 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr()
567 bool CallAnalyzer::isKnownNonNullInCallee(Value *V) { in isKnownNonNullInCallee()
589 bool CallAnalyzer::allowSizeGrowth(CallSite CS) { in allowSizeGrowth()
615 void CallAnalyzer::updateThreshold(CallSite CS, Function &Callee) { in updateThreshold()
665 bool CallAnalyzer::visitCmpInst(CmpInst &I) { in visitCmpInst()
730 bool CallAnalyzer::visitSub(BinaryOperator &I) { in visitSub()
757 bool CallAnalyzer::visitBinaryOperator(BinaryOperator &I) { in visitBinaryOperator()
785 bool CallAnalyzer::visitLoad(LoadInst &I) { in visitLoad()
800 bool CallAnalyzer::visitStore(StoreInst &I) { in visitStore()
815 bool CallAnalyzer::visitExtractValue(ExtractValueInst &I) { in visitExtractValue()
829 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
853 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite()
882 bool CallAnalyzer::visitCallSite(CallSite CS) { in visitCallSite()
960 CallAnalyzer CA(TTI, ACT, PSI, *F, InlineConstants::IndirectCallThreshold, in visitCallSite()
971 bool CallAnalyzer::visitReturnInst(ReturnInst &RI) { in visitReturnInst()
978 bool CallAnalyzer::visitBranchInst(BranchInst &BI) { in visitBranchInst()
988 bool CallAnalyzer::visitSwitchInst(SwitchInst &SI) { in visitSwitchInst()
1016 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst()
1029 bool CallAnalyzer::visitResumeInst(ResumeInst &RI) { in visitResumeInst()
1035 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
1041 bool CallAnalyzer::visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst()
1047 bool CallAnalyzer::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
1054 bool CallAnalyzer::visitInstruction(Instruction &I) { in visitInstruction()
1075 bool CallAnalyzer::analyzeBlock(BasicBlock *BB, in analyzeBlock()
1153 ConstantInt *CallAnalyzer::stripAndComputeInBoundsConstantOffsets(Value *&V) { in stripAndComputeInBoundsConstantOffsets()
1193 bool CallAnalyzer::analyzeCall(CallSite CS) { in analyzeCall()
1413 LLVM_DUMP_METHOD void CallAnalyzer::dump() { in dump()
1506 CallAnalyzer CA(CalleeTTI, ACT, PSI, *Callee, DefaultThreshold, CS); in getInlineCost()