clang 22.0.0git
Public Member Functions | List of all members
clang::CIRGen::CIRGenFunction::ConditionalEvaluation Class Reference

An object to manage conditionally-evaluated expressions. More...

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

Public Member Functions

 ConditionalEvaluation (CIRGenFunction &cgf)
 
 ConditionalEvaluation (CIRGenFunction &cgf, mlir::OpBuilder::InsertPoint ip)
 
void beginEvaluation ()
 
void endEvaluation ()
 
mlir::OpBuilder::InsertPoint getInsertPoint () const
 Returns the insertion point which will be executed prior to each evaluation of the conditional code.
 

Detailed Description

An object to manage conditionally-evaluated expressions.

Definition at line 1415 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ ConditionalEvaluation() [1/2]

clang::CIRGen::CIRGenFunction::ConditionalEvaluation::ConditionalEvaluation ( CIRGenFunction cgf)
inline

Definition at line 1420 of file CIRGenFunction.h.

◆ ConditionalEvaluation() [2/2]

clang::CIRGen::CIRGenFunction::ConditionalEvaluation::ConditionalEvaluation ( CIRGenFunction cgf,
mlir::OpBuilder::InsertPoint  ip 
)
inline

Definition at line 1422 of file CIRGenFunction.h.

Member Function Documentation

◆ beginEvaluation()

void clang::CIRGen::CIRGenFunction::ConditionalEvaluation::beginEvaluation ( )
inline

◆ endEvaluation()

void clang::CIRGen::CIRGenFunction::ConditionalEvaluation::endEvaluation ( )
inline

◆ getInsertPoint()

mlir::OpBuilder::InsertPoint clang::CIRGen::CIRGenFunction::ConditionalEvaluation::getInsertPoint ( ) const
inline

Returns the insertion point which will be executed prior to each evaluation of the conditional code.

In LLVM OG, this method is called getStartingBlock.

Definition at line 1440 of file CIRGenFunction.h.

Referenced by clang::CIRGen::CIRGenFunction::setBeforeOutermostConditional().


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