clang 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::CodeGen::LoopAttributes Struct Reference

Attributes that may be specified on loops. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGLoopInfo.h"

Public Types

enum  LVEnableState { Unspecified , Enable , Disable , Full }
 State of loop vectorization or unrolling. More...
 

Public Member Functions

 LoopAttributes (bool IsParallel=false)
 
void clear ()
 

Public Attributes

bool IsParallel
 Generate llvm.loop.parallel metadata for loads and stores.
 
LVEnableState VectorizeEnable
 Value for llvm.loop.vectorize.enable metadata.
 
LVEnableState UnrollEnable
 Value for llvm.loop.unroll.* metadata (enable, disable, or full).
 
LVEnableState UnrollAndJamEnable
 Value for llvm.loop.unroll_and_jam.* metadata (enable, disable, or full).
 
LVEnableState VectorizePredicateEnable
 Value for llvm.loop.vectorize.predicate metadata.
 
unsigned VectorizeWidth
 Value for llvm.loop.vectorize.width metadata.
 
LVEnableState VectorizeScalable