Home
last modified time | relevance | path

Searched refs:AnnotationInst (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Core/
H A DMCPlusBuilder.cpp271 const MCInst *AnnotationInst = getAnnotationInst(Inst); in hasAnnotation() local
272 if (!AnnotationInst) in hasAnnotation()
279 MCInst *AnnotationInst = getAnnotationInst(Inst); in removeAnnotation() local
280 if (!AnnotationInst) in removeAnnotation()
284 int64_t ImmValue = AnnotationInst->getOperand(I).getImm(); in removeAnnotation()
286 AnnotationInst->erase(AnnotationInst->begin() + I); in removeAnnotation()
294 MCInst *AnnotationInst = getAnnotationInst(Inst); in stripAnnotations() local
295 if (!AnnotationInst) in stripAnnotations()
307 const MCInst *AnnotationInst = getAnnotationInst(Inst); in printAnnotations() local
308 if (!AnnotationInst) in printAnnotations()
[all …]
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlusBuilder.h107 MCInst *AnnotationInst = const_cast<MCInst *>(LastOp.getInst()); in getAnnotationInst() local
110 return AnnotationInst; in getAnnotationInst()
115 MCInst *AnnotationInst = getAnnotationInst(Inst); variable
116 if (!AnnotationInst) {
119 AnnotationInst->setOpcode(TargetOpcode::ANNOTATION_LABEL);
120 Inst.addOperand(MCOperand::createInst(AnnotationInst));
125 int64_t ImmValue = AnnotationInst->getOperand(I).getImm();
127 AnnotationInst->getOperand(I).setImm(AnnotationValue);
137 const MCInst *AnnotationInst = getAnnotationInst(Inst); in getAnnotationOpValue() local
138 if (!AnnotationInst) in getAnnotationOpValue()
[all …]