Home
last modified time | relevance | path

Searched refs:hasAnnotation (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DMCPlusBuilder.cpp124 assert(!hasAnnotation(Inst, MCAnnotation::kTailCall)); in setTailCall()
129 if (hasAnnotation(Inst, MCAnnotation::kTailCall)) in isTailCall()
264 if (!hasAnnotation(Inst, MCAnnotation::kOffset)) in clearOffset()
270 bool MCPlusBuilder::hasAnnotation(const MCInst &Inst, unsigned Index) const { in hasAnnotation() function in MCPlusBuilder
298 auto IsTC = hasAnnotation(Inst, MCAnnotation::kTailCall); in stripAnnotations()
H A DBinaryFunctionProfile.cpp109 if (!BC.MIB->hasAnnotation(*Instr, "NOP")) in postProcessProfile()
H A DBinaryFunction.cpp4442 if (!BC.MIB->hasAnnotation(Inst, "AArch64Veneer")) in isAArch64Veneer()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DValidateInternalCalls.cpp156 BC.MIB->hasAnnotation(ReachingInst, getProcessedICTag())) in fixCFGForIC()
221 if (!Target || BC.MIB->hasAnnotation(Inst, getProcessedICTag())) in analyzeFunction()
H A DBinaryFunctionCallGraph.cpp178 if (!DstSym && BC.MIB->hasAnnotation(Inst, "CallProfile")) { in buildCallGraph()
H A DShrinkWrapping.cpp487 if (!BC.MIB->hasAnnotation(Inst, getSlotTag())) in collapseRegion()
539 if (!BC.MIB->hasAnnotation(Inst, "AccessesDeletedPos")) in setOffsetForCollapsedAccesses()
586 if (!BC.MIB->hasAnnotation(Inst, getSlotTag())) in insertRegion()
632 if (BC.MIB->hasAnnotation(Inst, "AccessesDeletedPos")) { in performChanges()
636 if (!BC.MIB->hasAnnotation(Inst, getTodoTag())) in performChanges()
1659 if (BC.MIB->hasAnnotation(*I, "DeleteMe")) in rebuildCFIForSP()
H A DRetpolineInsertion.cpp297 if (MIB.hasAnnotation(Inst, "PLTCall")) in runOnFunctions()
H A DJTFootprintReduction.cpp243 if (BC.MIB->hasAnnotation(*I, "DeleteMe")) in optimizeFunction()
H A DIndirectCallPromotion.cpp980 if (opts::ICPTopCallsites && !BC.MIB->hasAnnotation(Inst, "DoICP")) in canPromoteCallsite()
1174 BC.MIB->hasAnnotation(Inst, "CallProfile"); in runOnFunctions()
1251 BC.MIB->hasAnnotation(Inst, "CallProfile"); in runOnFunctions()
H A DBinaryPasses.cpp1811 if (BC.MIB->isNoop(Inst) && BC.MIB->hasAnnotation(Inst, "NOP")) in runOnFunction()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlusBuilder.h1681 assert(!hasAnnotation(Inst, Index));
1753 if (!hasAnnotation(Inst, Index))
1769 bool hasAnnotation(const MCInst &Inst, unsigned Index) const;
1772 bool hasAnnotation(const MCInst &Inst, StringRef Name) const { in hasAnnotation() function
1776 return hasAnnotation(Inst, *Index); in hasAnnotation()
1784 if (!hasAnnotation(Inst, Index)) in tryGetAnnotationAs()
1802 if (!hasAnnotation(Inst, Index)) in tryGetAnnotationAs()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp170 if (BC.MIB->hasAnnotation(*Instr, Name)) { in parseFunctionProfile()
H A DDataReader.cpp645 if (opts::Verbosity >= 1 && BC.MIB->hasAnnotation(*Instr, Name)) in convertBranchData()