Searched refs:ProfileInfoT (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ProfileVerifierPass.cpp | 46 ProfileInfoT<FType, BType> *PI; 73 AU.addRequired<ProfileInfoT<FType, BType> >(); in getAnalysisUsage() 85 double ReadOrAssert(typename ProfileInfoT<FType, BType>::Edge); 97 if (BBWeight == ProfileInfoT<FType, BType>::MissingValue) { BBWeight = 0; } in printDebugInfo() 104 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(*bbi,BB); in printDebugInfo() 106 if (EdgeWeight == ProfileInfoT<FType, BType>::MissingValue) { EdgeWeight = 0; } in printDebugInfo() 119 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(BB,*bbi); in printDebugInfo() 121 if (EdgeWeight == ProfileInfoT<FType, BType>::MissingValue) { EdgeWeight = 0; } in printDebugInfo() 200 …double ProfileVerifierPassT<FType, BType>::ReadOrAssert(typename ProfileInfoT<FType, BType>::Edge … in ReadOrAssert() 202 if (EdgeWeight == ProfileInfoT<FType, BType>::MissingValue) { in ReadOrAssert() [all …]
|
D | ProfileInfo.cpp | 28 template<> char ProfileInfoT<Function,BasicBlock>::ID = 0; 37 ProfileInfoT<MachineFunction, MachineBasicBlock>::ProfileInfoT() {} in ProfileInfoT() function in llvm::ProfileInfoT 39 ProfileInfoT<MachineFunction, MachineBasicBlock>::~ProfileInfoT() {} in ~ProfileInfoT() 42 ProfileInfoT<Function, BasicBlock>::ProfileInfoT() { in ProfileInfoT() function in llvm::ProfileInfoT 46 ProfileInfoT<Function, BasicBlock>::~ProfileInfoT() { in ~ProfileInfoT() 51 char ProfileInfoT<MachineFunction, MachineBasicBlock>::ID = 0; 54 const double ProfileInfoT<Function,BasicBlock>::MissingValue = -1; 57 double ProfileInfoT<MachineFunction, MachineBasicBlock>::MissingValue = -1; 60 ProfileInfoT<Function,BasicBlock>::getExecutionCount(const BasicBlock *BB) { in getExecutionCount() 124 double ProfileInfoT<MachineFunction, MachineBasicBlock>:: [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ProfileInfo.h | 54 class ProfileInfoT { 76 ProfileInfoT<MachineFunction, MachineBasicBlock> *MachineProfile; 79 ProfileInfoT(); 80 ~ProfileInfoT(); // We want to be subclassed 227 ProfileInfoT<MachineFunction, MachineBasicBlock> *MI() { in MI() 229 MachineProfile = new ProfileInfoT<MachineFunction, MachineBasicBlock>(); in MI() 238 typedef ProfileInfoT<Function, BasicBlock> ProfileInfo; 239 typedef ProfileInfoT<MachineFunction, MachineBasicBlock> MachineProfileInfo;
|