Home
last modified time | relevance | path

Searched refs:NumInsts (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/Analysis/
DCodeMetrics.h60 unsigned NumInsts; member
87 usesDynamicAlloca(false), NumInsts(0), NumBlocks(0), NumCalls(0), in CodeMetrics()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp109 unsigned NumInstsBeforeThisBB = NumInsts; in analyzeBasicBlock()
163 NumInsts += TTI.getUserCost(&*II); in analyzeBasicBlock()
183 NumBBInsts[BB] = NumInsts - NumInstsBeforeThisBB; in analyzeBasicBlock()
/external/llvm/include/llvm/IR/
DFunctionInfo.h63 FunctionSummary(unsigned NumInsts) : InstCount(NumInsts) {} in FunctionSummary() argument
/external/llvm/lib/Target/PowerPC/
DPPCLoopDataPrefetch.cpp148 unsigned LoopSize = Metrics.NumInsts; in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp168 if (Metrics.NumInsts > MaxHeaderSize) in rotateLoop()
DLoopUnrollPass.cpp702 unsigned LoopSize = Metrics.NumInsts; in ApproximateLoopSize()
DLoopUnswitch.cpp296 Props.SizeEstimation = Metrics.NumInsts; in countLoop()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2448 unsigned NumInsts, uint64_t BitcodeIndex, bool EmitFunctionSummary) { in SaveFunctionInfo() argument
2451 FuncSummary = llvm::make_unique<FunctionSummary>(NumInsts); in SaveFunctionInfo()
2492 unsigned NumInsts = 0; in WriteFunction() local
2501 ++NumInsts; in WriteFunction()
2540 SaveFunctionInfo(F, FunctionIndex, NumInsts, BitcodeIndex, in WriteFunction()