Skip to content

OmpSimdCompiler

Synopsis

Declared in <src/midend/programTransformation/ompLowering/omp_simd.h>

struct OmpSimdCompiler;

Member Functions

Name Description
OmpSimdCompiler
OmpSimdCompiler(); [constructor]
Constructors
~OmpSimdCompiler
~OmpSimdCompiler(); [destructor]
Destructor
operator=
OmpSimdCompiler& operator=(OmpSimdCompiler const& other) = delete; [deleted]
Copy assignment operator
finishScalarLowering
void finishScalarLowering();
getIR
std::vector<SgNode*>* getIR();
isGeneratedTemporary
bool isGeneratedTemporary(SgVariableSymbol* symbol) const;
isPartialTemporary
bool isPartialTemporary(SgVariableSymbol* symbol) const;
isProductReduction
bool isProductReduction(SgVariableSymbol* symbol) const;
omp_simd_build_3addr
void omp_simd_build_3addr( SgExpression* rval, SgType* type);
omp_simd_build_math
void omp_simd_build_math( VariantT op_type, SgType* type);
omp_simd_build_ptr_assign
void omp_simd_build_ptr_assign( SgExpression* pntr_exp, SgType* type);
omp_simd_build_scalar_assign
void omp_simd_build_scalar_assign( SgExpression* node, SgType* type);
omp_simd_convert_ptr
SgPntrArrRefExp* omp_simd_convert_ptr(SgExpression* pntr_exp);
omp_simd_get_length
unsigned int omp_simd_get_length() const;
omp_simd_pass1
void omp_simd_pass1();
omp_simd_pass2
void omp_simd_pass2();
releaseBlock
SgBasicBlock* releaseBlock();
setForLoop
void setForLoop(SgForStatement* for_loop);
setInductionSymbol
void setInductionSymbol(SgVariableSymbol* symbol);
setTarget
void setTarget(SgOmpSimdStatement* target);

Private Types

Name
Reduction

Private Enums

Name
TemporaryKind

Private Member Functions

Name
buildTemporary
SgVariableSymbol* buildTemporary( SgType* type, TemporaryKind kind, SgInitializer* initializer = nullptr);
isTemporary
bool isTemporary( SgVariableSymbol* symbol, TemporaryKind kind) const;
prepareReductions
void prepareReductions();

Private Data Members

Name
block_released
for_loop
induction_symbol
ir_block
new_block
new_block_owner
next_name_id_
reduction_map_
safelen_
simdlen_
target
temporary_kinds_
value_stack_

Created with MrDocs