struct LoopAttributes

Declaration

struct LoopAttributes { /* full declaration omitted */ };

Description

Attributes that may be specified on loops.

Declared at: clang/lib/CodeGen/CGLoopInfo.h:36

Member Variables

public bool IsParallel
Generate llvm.loop.parallel metadata for loads and stores.
public clang::CodeGen::LoopAttributes::LVEnableState VectorizeEnable
Value for llvm.loop.vectorize.enable metadata.
public clang::CodeGen::LoopAttributes::LVEnableState UnrollEnable
Value for llvm.loop.unroll.* metadata (enable, disable, or full).
public clang::CodeGen::LoopAttributes::LVEnableState UnrollAndJamEnable
Value for llvm.loop.unroll_and_jam.* metadata (enable, disable, or full).
public clang::CodeGen::LoopAttributes::LVEnableState VectorizePredicateEnable
Value for llvm.loop.vectorize.predicate metadata
public unsigned int VectorizeWidth
Value for llvm.loop.vectorize.width metadata.
public clang::CodeGen::LoopAttributes::LVEnableState VectorizeScalable
public unsigned int InterleaveCount
Value for llvm.loop.interleave.count metadata.
public unsigned int UnrollCount
llvm.unroll.
public unsigned int UnrollAndJamCount
llvm.unroll.
public clang::CodeGen::LoopAttributes::LVEnableState DistributeEnable
Value for llvm.loop.distribute.enable metadata.
public bool PipelineDisabled
Value for llvm.loop.pipeline.disable metadata.
public unsigned int PipelineInitiationInterval
Value for llvm.loop.pipeline.iicount metadata.
public bool MustProgress
Value for whether the loop is required to make progress.

Method Overview

Methods

LoopAttributes(bool IsParallel = false)

Declared at: clang/lib/CodeGen/CGLoopInfo.h:37

Parameters

bool IsParallel = false

void clear()

Declared at: clang/lib/CodeGen/CGLoopInfo.h:38