Home
last modified time | relevance | path

Searched refs:MCAnnotation (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlus.h59 class MCAnnotation {
73 virtual bool equals(const MCAnnotation &) const = 0;
74 virtual ~MCAnnotation() {} in ~MCAnnotation()
77 MCAnnotation() {} in MCAnnotation() function
81 MCAnnotation(const MCAnnotation &Other) = delete;
82 MCAnnotation &operator=(const MCAnnotation &Other) = delete;
91 template <typename ValueType> class MCSimpleAnnotation : public MCAnnotation {
94 bool equals(const MCAnnotation &Other) const override { in equals()
H A DMCPlusBuilder.h69 std::unordered_set<MCPlus::MCAnnotation *> AnnotationPool;
318 for (MCPlus::MCAnnotation *Annotation : Allocator.AnnotationPool) in freeValuesAllocator()
319 Annotation->~MCAnnotation(); in freeValuesAllocator()
331 for (MCPlus::MCAnnotation *Annotation : Allocator.AnnotationPool) in freeAnnotations()
332 Annotation->~MCAnnotation(); in freeAnnotations()
1669 AnnotationNameIndexMap.size() + MCPlus::MCAnnotation::kGeneric; in getOrCreateAnnotationIndex()
/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()
144 getAnnotationOpValue(Inst, MCAnnotation::kEHAction); in getEHInfo()
155 setAnnotationOpValue(Inst, MCAnnotation::kEHLandingPad, in addEHInfo()
157 setAnnotationOpValue(Inst, MCAnnotation::kEHAction, in addEHInfo()
166 setAnnotationOpValue(Inst, MCAnnotation::kEHLandingPad, in updateEHInfo()
168 setAnnotationOpValue(Inst, MCAnnotation::kEHAction, in updateEHInfo()
214 removeAnnotation(Inst, MCAnnotation::kJumpTable); in unsetJumpTable()
264 if (!hasAnnotation(Inst, MCAnnotation::kOffset)) in clearOffset()
266 removeAnnotation(Inst, MCAnnotation::kOffset); in clearOffset()
[all …]
/llvm-project-15.0.7/bolt/lib/Target/AArch64/
H A DAArch64MCPlusBuilder.cpp873 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in convertTailCallToJmp()
881 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in lowerTailCall()
/llvm-project-15.0.7/bolt/lib/Target/X86/
H A DX86MCPlusBuilder.cpp1740 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in convertTailCallToJmp()
1762 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in convertTailCallToCall()
1797 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in convertIndirectCallToLoad()
1936 removeAnnotation(Inst, MCPlus::MCAnnotation::kTailCall); in lowerTailCall()