Lines Matching refs:CallAnalyzer
97 class CallAnalyzer : public InstVisitor<CallAnalyzer, bool> { class
98 typedef InstVisitor<CallAnalyzer, bool> Base;
99 friend class InstVisitor<CallAnalyzer, bool>;
275 CallAnalyzer(const TargetTransformInfo &TTI, in CallAnalyzer() function in __anon45440fe00111::CallAnalyzer
318 bool CallAnalyzer::isAllocaDerivedArg(Value *V) { in isAllocaDerivedArg()
324 bool CallAnalyzer::lookupSROAArgAndCost( in lookupSROAArgAndCost()
342 void CallAnalyzer::disableSROA(DenseMap<Value *, int>::iterator CostIt) { in disableSROA()
353 void CallAnalyzer::disableSROA(Value *V) { in disableSROA()
361 void CallAnalyzer::accumulateSROACost(DenseMap<Value *, int>::iterator CostIt, in accumulateSROACost()
367 void CallAnalyzer::disableLoadElimination() { in disableLoadElimination()
379 bool CallAnalyzer::accumulateGEPOffset(GEPOperator &GEP, APInt &Offset) { in accumulateGEPOffset()
411 bool CallAnalyzer::isGEPFree(GetElementPtrInst &GEP) { in isGEPFree()
422 bool CallAnalyzer::visitAlloca(AllocaInst &I) { in visitAlloca()
453 bool CallAnalyzer::visitPHI(PHINode &I) { in visitPHI()
553 bool CallAnalyzer::canFoldInboundsGEP(GetElementPtrInst &I) { in canFoldInboundsGEP()
571 bool CallAnalyzer::visitGetElementPtr(GetElementPtrInst &I) { in visitGetElementPtr()
603 bool CallAnalyzer::simplifyInstruction(Instruction &I, Callable Evaluate) { in simplifyInstruction()
620 bool CallAnalyzer::visitBitCast(BitCastInst &I) { in visitBitCast()
644 bool CallAnalyzer::visitPtrToInt(PtrToIntInst &I) { in visitPtrToInt()
677 bool CallAnalyzer::visitIntToPtr(IntToPtrInst &I) { in visitIntToPtr()
703 bool CallAnalyzer::visitCastInst(CastInst &I) { in visitCastInst()
733 bool CallAnalyzer::visitUnaryInstruction(UnaryInstruction &I) { in visitUnaryInstruction()
746 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr()
750 bool CallAnalyzer::isKnownNonNullInCallee(Value *V) { in isKnownNonNullInCallee()
772 bool CallAnalyzer::allowSizeGrowth(CallSite CS) { in allowSizeGrowth()
798 bool CallAnalyzer::isColdCallSite(CallSite CS, BlockFrequencyInfo *CallerBFI) { in isColdCallSite()
821 CallAnalyzer::getHotCallSiteThreshold(CallSite CS, in getHotCallSiteThreshold()
848 void CallAnalyzer::updateThreshold(CallSite CS, Function &Callee) { in updateThreshold()
979 bool CallAnalyzer::visitCmpInst(CmpInst &I) { in visitCmpInst()
1034 bool CallAnalyzer::visitSub(BinaryOperator &I) { in visitSub()
1061 bool CallAnalyzer::visitBinaryOperator(BinaryOperator &I) { in visitBinaryOperator()
1098 bool CallAnalyzer::visitLoad(LoadInst &I) { in visitLoad()
1122 bool CallAnalyzer::visitStore(StoreInst &I) { in visitStore()
1146 bool CallAnalyzer::visitExtractValue(ExtractValueInst &I) { in visitExtractValue()
1157 bool CallAnalyzer::visitInsertValue(InsertValueInst &I) { in visitInsertValue()
1176 bool CallAnalyzer::simplifyCallSite(Function *F, CallSite CS) { in simplifyCallSite()
1205 bool CallAnalyzer::visitCallSite(CallSite CS) { in visitCallSite()
1297 CallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F, CS, in visitCallSite()
1310 bool CallAnalyzer::visitReturnInst(ReturnInst &RI) { in visitReturnInst()
1317 bool CallAnalyzer::visitBranchInst(BranchInst &BI) { in visitBranchInst()
1327 bool CallAnalyzer::visitSelectInst(SelectInst &SI) { in visitSelectInst()
1408 bool CallAnalyzer::visitSwitchInst(SwitchInst &SI) { in visitSwitchInst()
1488 bool CallAnalyzer::visitIndirectBrInst(IndirectBrInst &IBI) { in visitIndirectBrInst()
1501 bool CallAnalyzer::visitResumeInst(ResumeInst &RI) { in visitResumeInst()
1507 bool CallAnalyzer::visitCleanupReturnInst(CleanupReturnInst &CRI) { in visitCleanupReturnInst()
1513 bool CallAnalyzer::visitCatchReturnInst(CatchReturnInst &CRI) { in visitCatchReturnInst()
1519 bool CallAnalyzer::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
1526 bool CallAnalyzer::visitInstruction(Instruction &I) { in visitInstruction()
1548 CallAnalyzer::analyzeBlock(BasicBlock *BB, in analyzeBlock()
1637 ConstantInt *CallAnalyzer::stripAndComputeInBoundsConstantOffsets(Value *&V) { in stripAndComputeInBoundsConstantOffsets()
1677 void CallAnalyzer::findDeadBlocks(BasicBlock *CurrBB, BasicBlock *NextBB) { in findDeadBlocks()
1715 InlineResult CallAnalyzer::analyzeCall(CallSite CS) { in analyzeCall()
1928 LLVM_DUMP_METHOD void CallAnalyzer::dump() { in dump()
2061 CallAnalyzer CA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, ORE, *Callee, CS, in getInlineCost()