Home
last modified time | relevance | path

Searched refs:getInstructionCount (Results 1 – 19 of 19) sorted by relevance

/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionPass.cpp73 CountBefore = MF.getInstructionCount(); in runOnFunction()
99 CountAfter = MF.getInstructionCount(); in runOnFunction()
H A DMachineOutliner.cpp1076 FunctionToInstrCount[F.getName().str()] = MF->getInstructionCount(); in initSizeRemarkInfo()
1095 unsigned FnCountAfter = MF->getInstructionCount(); in emitInstrCountChangedRemark()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp187 << " Function size: " << F.getInstructionCount() in run()
226 LLVM_DEBUG(dbgs() << " Size after inlining: " << F.getInstructionCount() in run()
H A DInliner.cpp321 << " Function size: " << F.getInstructionCount() in run()
400 << F.getInstructionCount() << "\n"); in run()
H A DSampleProfile.cpp1439 unsigned SizeLimit = F.getInstructionCount() * ProfileInlineGrowthLimit; in inlineHotFunctionsWithPriority()
1449 while (!CQueue.empty() && F.getInstructionCount() < SizeLimit) { in inlineHotFunctionsWithPriority()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopPass.cpp171 FunctionSize = F.getInstructionCount(); in runOnFunction()
208 unsigned NewSize = F.getInstructionCount(); in runOnFunction()
H A DInlineOrder.cpp80 Size = Callee->getInstructionCount(); in SizePriority()
H A DCallGraphSCCPass.cpp147 SCCCount = M.getInstructionCount(); in RunPassOnSCC()
/src/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp74 unsigned FCount = F.getInstructionCount(); in initSizeRemarkInfo()
106 unsigned FnSize = MaybeChangedFn.getInstructionCount(); in emitInstrCountChangedRemark()
1413 FunctionSize = F.getInstructionCount(); in runOnFunction()
1451 unsigned NewSize = F.getInstructionCount(); in runOnFunction()
1564 unsigned ModuleCount = M.getInstructionCount(); in runOnModule()
H A DModule.cpp592 unsigned Module::getInstructionCount() const { in getInstructionCount() function in Module
595 NumInstrs += F.getInstructionCount(); in getInstructionCount()
H A DFunction.cpp366 unsigned Function::getInstructionCount() const { in getInstructionCount() function in Function
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp86 Func->getInstructionCount() > FunctionSizeThreshold) in parseJumpTable()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h204 unsigned getInstructionCount() const;
H A DModule.h272 unsigned getInstructionCount() const;
/src/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp61 return M.getInstructionCount() + M.size() + M.global_size() + M.alias_size(); in getModuleSize()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h964 unsigned getInstructionCount() const {
/src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp3142 Subtarget->isPPC64() ? MI->getMF()->getInstructionCount() * 8 : in emitInstruction()
3143 MI->getMF()->getInstructionCount() * 4, in emitInstruction()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1859 if (F.getInstructionCount() < PGOFunctionSizeThreshold) in skipPGOGen()
/src/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1123 unsigned Count = F->getInstructionCount(); in registerCallbacks()