clang  19.0.0git
Functions
CGLoopInfo.cpp File Reference
#include "CGLoopInfo.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Expr.h"
#include "clang/Basic/CodeGenOptions.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Metadata.h"
#include <optional>

Go to the source code of this file.

Functions

static void EmitIVDepLoopMetadata (LLVMContext &Ctx, llvm::SmallVectorImpl< llvm::Metadata * > &LoopProperties, const LoopAttributes::SYCLIVDepInfo &I)
 
static void EmitLegacyIVDepLoopMetadata (LLVMContext &Ctx, llvm::SmallVectorImpl< llvm::Metadata * > &LoopProperties, const LoopAttributes::SYCLIVDepInfo &I)
 Setting the legacy LLVM IR representation of the ivdep attribute. More...
 

Function Documentation

◆ EmitIVDepLoopMetadata()

static void EmitIVDepLoopMetadata ( LLVMContext &  Ctx,
llvm::SmallVectorImpl< llvm::Metadata * > &  LoopProperties,
const LoopAttributes::SYCLIVDepInfo I 
)
static

◆ EmitLegacyIVDepLoopMetadata()

static void EmitLegacyIVDepLoopMetadata ( LLVMContext &  Ctx,
llvm::SmallVectorImpl< llvm::Metadata * > &  LoopProperties,
const LoopAttributes::SYCLIVDepInfo I 
)
static

Setting the legacy LLVM IR representation of the ivdep attribute.

Definition at line 491 of file CGLoopInfo.cpp.

References clang::CodeGen::LoopAttributes::SYCLIVDepInfo::SafeLen.