clang  14.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"

Collaboration diagram for clang::CodeGen::CGOpenMPRuntime::StaticRTInput:
Collaboration graph
[legend]

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. More...
 
bool IVSigned = false
 Sign of the iteration variable. More...
 
bool Ordered = false
 true if loop is ordered, false otherwise. More...
 
Address IL = Address::invalid()
 Address of the output variable in which the flag of the last iteration is returned. More...
 
Address LB = Address::invalid()
 Address of the output variable in which the lower iteration number is returned. More...
 
Address UB = Address::invalid()
 Address of the output variable in which the upper iteration number is returned. More...
 
Address ST = Address::invalid()
 Address of the output variable in which the stride value is returned necessary to generated the static_chunked scheduled loop. More...
 
llvm::Value * Chunk = nullptr
 Value of the chunk for the static_chunked scheduled loop. More...
 

Detailed Description

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

Definition at line 1165 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 1187 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 1186 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 1174 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 1177 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 1171 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 1183 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 1180 of file CGOpenMPRuntime.h.

Referenced by emitForStaticInitCall().


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