clang 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::CodeGen::CGOpenMPRuntime::StaticRTInput Struct Reference

Struct with the values to be passed to the static runtime function. More...

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

Public Member Functions

 StaticRTInput (unsigned IVSize, bool IVSigned, bool Ordered, Address IL, Address LB, Address UB, Address ST, llvm::Value *Chunk=nullptr)
 

Public Attributes

unsigned IVSize = 0
 Size of the iteration variable in bits.
 
bool IVSigned = false
 Sign of the iteration variable.
 
bool Ordered = false
 true if loop is ordered, false otherwise.
 
Address IL = Address::invalid()
 Address of the output variable in which the flag of the last iteration is returned.
 
Address LB = Address::invalid()
 Address of the output variable in which the lower iteration number is returned.
 
Address UB = Address::invalid()
 Address of the output variable in which the upper iteration number is returned.
 
Address ST = Address::invalid()
 Address of the output variable in which the stride value is returned necessary to generated the static_chunked scheduled loop.
 
llvm::Value * Chunk = nullptr
 Value of the chunk for the static_chunked scheduled loop.
 

Detailed Description

Struct with the values to be passed to the static runtime function.

Definition at line 950 of file CGOpenMPRuntime.h.

Constructor & Destructor Documentation

◆ StaticRTInput()

clang::CodeGen::CGOpenMPRuntime::StaticRTInput::StaticRTInput ( unsigned  IVSize,
bool  IVSigned,
bool  Ordered,
Address  IL,
Address  LB,
Address  UB,
Address  ST,
llvm::Value *  Chunk = nullptr 
)
inline

Definition at line 972 of file CGOpenMPRuntime.h.

Member Data Documentation

◆ Chunk

llvm::Value* clang::CodeGen::CGOpenMPRuntime::StaticRTInput::Chunk = nullptr

Value of the chunk for the static_chunked scheduled loop.

For the default (nullptr) value, the chunk 1 will be used.

Definition at line 971 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::CGOpenMPRuntime::emitDistributeStaticInit(), clang::CodeGen::CGOpenMPRuntime::emitForStaticInit(), and emitForStaticInitCall().

◆ IL

Address clang::CodeGen::CGOpenMPRuntime::StaticRTInput::IL = Address::invalid()

Address of the output variable in which the flag of the last iteration is returned.

Definition at line 959 of file CGOpenMPRuntime.h.

Referenced by emitForStaticInitCall().

◆ IVSigned

bool clang::CodeGen::CGOpenMPRuntime::StaticRTInput::IVSigned = false

◆ IVSize

unsigned clang::CodeGen::CGOpenMPRuntime::StaticRTInput::IVSize = 0

◆ LB

Address clang::CodeGen::CGOpenMPRuntime::StaticRTInput::LB = Address::invalid()

Address of the output variable in which the lower iteration number is returned.

Definition at line 962 of file CGOpenMPRuntime.h.

Referenced by emitForStaticInitCall().

◆ Ordered

bool clang::CodeGen::CGOpenMPRuntime::StaticRTInput::Ordered = false

true if loop is ordered, false otherwise.

Definition at line 956 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::CGOpenMPRuntime::emitForStaticInit(), and emitForStaticInitCall().

◆ ST

Address clang::CodeGen::CGOpenMPRuntime::StaticRTInput::ST = Address::invalid()

Address of the output variable in which the stride value is returned necessary to generated the static_chunked scheduled loop.

Definition at line 968 of file CGOpenMPRuntime.h.

Referenced by emitForStaticInitCall().

◆ UB

Address clang::CodeGen::CGOpenMPRuntime::StaticRTInput::UB = Address::invalid()

Address of the output variable in which the upper iteration number is returned.

Definition at line 965 of file CGOpenMPRuntime.h.

Referenced by emitForStaticInitCall().


The documentation for this struct was generated from the following file: