Home
last modified time | relevance | path

Searched refs:tryGetAnnotationAs (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileWriter.cpp62 const auto ICSP = BC.MIB->tryGetAnnotationAs<IndirectCallSiteProfile>( in convert()
90 BC.MIB->tryGetAnnotationAs<uint64_t>(Instr, "CTCTakenCount"); in convert()
94 BC.MIB->tryGetAnnotationAs<uint64_t>(Instr, "CTCMispredCount"); in convert()
99 auto Count = BC.MIB->tryGetAnnotationAs<uint64_t>(Instr, "Count"); in convert()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DShrinkWrapping.h85 auto Val = BC.MIB->tryGetAnnotationAs<decltype(FrameIndexEntry::RegOrImm)>( in getSavedReg()
95 auto Val = BC.MIB->tryGetAnnotationAs<decltype(FrameIndexEntry::RegOrImm)>( in getRestoredReg()
238 auto Val = BC.MIB->tryGetAnnotationAs<uint16_t>(Inst, getOffsetCFIRegTag()); in getOffsetCFIReg()
H A DDataflowAnalysis.h279 return BC.MIB->tryGetAnnotationAs<StateTy>( in getStateAt()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlusBuilder.h1711 tryGetAnnotationAs<ValueType>(const_cast<const MCInst &>(Inst), Index);
1782 ErrorOr<const ValueType &> tryGetAnnotationAs(const MCInst &Inst, in tryGetAnnotationAs() function
1792 ErrorOr<const ValueType &> tryGetAnnotationAs(const MCInst &Inst, in tryGetAnnotationAs() function
1797 return tryGetAnnotationAs<ValueType>(Inst, *Index); in tryGetAnnotationAs()
1801 ErrorOr<ValueType &> tryGetAnnotationAs(MCInst &Inst, unsigned Index) const { in tryGetAnnotationAs() function
1808 ErrorOr<ValueType &> tryGetAnnotationAs(MCInst &Inst, StringRef Name) const { in tryGetAnnotationAs() function
1812 return tryGetAnnotationAs<ValueType>(Inst, *Index); in tryGetAnnotationAs()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DFrameAnalysis.cpp278 if (auto Idx = BC.MIB->tryGetAnnotationAs<unsigned>(Inst, "ArgAccessEntry")) { in getArgAccessesFor()
287 if (auto Idx = BC.MIB->tryGetAnnotationAs<unsigned>(Inst, "ArgAccessEntry")) { in getArgAccessesFor()
297 BC.MIB->tryGetAnnotationAs<unsigned>(Inst, "FrameAccessEntry")) { in getFIEFor()
H A DReorderData.cpp190 BC.MIB->tryGetAnnotationAs<MemoryAccessProfile>( in assignMemData()
246 BC.MIB->tryGetAnnotationAs<MemoryAccessProfile>( in sortedByFunc()
H A DIndirectCallPromotion.cpp312 const auto ICSP = BC.MIB->tryGetAnnotationAs<IndirectCallSiteProfile>( in getCallTargets()
420 BC.MIB->tryGetAnnotationAs<MemoryAccessProfile>(*MemLocInstr, in maybeGetHotJumpTableTargets()
674 BC.MIB->tryGetAnnotationAs<MemoryAccessProfile>(*MethodFetchInsns.back(), in maybeGetVtableSyms()
H A DShrinkWrapping.cpp1360 auto TodoList = BC.MIB->tryGetAnnotationAs<std::vector<WorklistItem>>( in moveSaveRestores()
1507 BC.MIB->tryGetAnnotationAs<std::vector<ShrinkWrapping::WorklistItem>>( in computeNext()
1884 auto TodoList = BC.MIB->tryGetAnnotationAs<std::vector<WorklistItem>>( in processInsertions()
1917 auto TodoList = BC.MIB->tryGetAnnotationAs<std::vector<WorklistItem>>( in processDeletions()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryFunctionProfile.cpp141 auto CountAnnt = BC.MIB->tryGetAnnotationAs<uint64_t>(Inst, "Count"); in postProcessProfile()