llvm/mlir/lib/Target/LLVMIR/LoopAnnotationTranslation.cpp

//===- LoopAnnotationTranslation.cpp - Loop annotation export -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "LoopAnnotationTranslation.h"
#include "llvm/IR/DebugInfoMetadata.h"

usingnamespacemlir;
usingnamespacemlir::LLVM;
usingnamespacemlir::LLVM::detail;

namespace {
/// Helper class that keeps the state of one attribute to metadata conversion.
struct LoopAnnotationConversion {};
} // namespace

void LoopAnnotationConversion::addUnitNode(StringRef name) {}

void LoopAnnotationConversion::addUnitNode(StringRef name, BoolAttr attr) {}

void LoopAnnotationConversion::addI32NodeWithVal(StringRef name, uint32_t val) {}

void LoopAnnotationConversion::convertBoolNode(StringRef name, BoolAttr attr,
                                               bool negated) {}

void LoopAnnotationConversion::convertI32Node(StringRef name,
                                              IntegerAttr attr) {}

void LoopAnnotationConversion::convertFollowupNode(StringRef name,
                                                   LoopAnnotationAttr attr) {}

void LoopAnnotationConversion::convertLoopOptions(LoopVectorizeAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopInterleaveAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopUnrollAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(
    LoopUnrollAndJamAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopLICMAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopDistributeAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopPipelineAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopPeeledAttr options) {}

void LoopAnnotationConversion::convertLoopOptions(LoopUnswitchAttr options) {}

void LoopAnnotationConversion::convertLocation(FusedLoc location) {}

llvm::MDNode *LoopAnnotationConversion::convert() {}

llvm::MDNode *
LoopAnnotationTranslation::translateLoopAnnotation(LoopAnnotationAttr attr,
                                                   Operation *op) {}

llvm::MDNode *
LoopAnnotationTranslation::getAccessGroup(AccessGroupAttr accessGroupAttr) {}

llvm::MDNode *
LoopAnnotationTranslation::getAccessGroups(AccessGroupOpInterface op) {}