Home
last modified time | relevance | path

Searched refs:CIRGenFunction (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenFunction.cpp27 CIRGenFunction::CIRGenFunction(CIRGenModule &cgm, CIRGenBuilderTy &builder, in CIRGenFunction() function in clang::CIRGen::CIRGenFunction
31 CIRGenFunction::~CIRGenFunction() {} in ~CIRGenFunction()
34 cir::TypeEvaluationKind CIRGenFunction::getEvaluationKind(QualType type) { in getEvaluationKind()
93 mlir::Type CIRGenFunction::convertTypeForMem(QualType t) { in convertTypeForMem()
97 mlir::Type CIRGenFunction::convertType(QualType t) { in convertType()
101 mlir::Location CIRGenFunction::getLoc(SourceLocation srcLoc) { in getLoc()
116 mlir::Location CIRGenFunction::getLoc(SourceRange srcLoc) { in getLoc()
133 mlir::Location CIRGenFunction::getLoc(mlir::Location lhs, mlir::Location rhs) { in getLoc()
139 bool CIRGenFunction::containsLabel(const Stmt *s, bool ignoreCaseStmts) { in containsLabel()
174 bool CIRGenFunction::constantFoldsToBool(const Expr *cond, bool &resultBool, in constantFoldsToBool()
[all …]
H A DCIRGenStmtOpenACC.cpp25 mlir::LogicalResult CIRGenFunction::emitOpenACCOpAssociatedStmt( in emitOpenACCOpAssociatedStmt()
67 mlir::LogicalResult CIRGenFunction::emitOpenACCOpCombinedConstruct( in emitOpenACCOpCombinedConstruct()
116 Op CIRGenFunction::emitOpenACCOp( in emitOpenACCOp()
128 CIRGenFunction::emitOpenACCComputeConstruct(const OpenACCComputeConstruct &s) { in emitOpenACCComputeConstruct()
151 CIRGenFunction::emitOpenACCDataConstruct(const OpenACCDataConstruct &s) { in emitOpenACCDataConstruct()
161 CIRGenFunction::emitOpenACCInitConstruct(const OpenACCInitConstruct &s) { in emitOpenACCInitConstruct()
169 CIRGenFunction::emitOpenACCSetConstruct(const OpenACCSetConstruct &s) { in emitOpenACCSetConstruct()
176 mlir::LogicalResult CIRGenFunction::emitOpenACCShutdownConstruct( in emitOpenACCShutdownConstruct()
185 CIRGenFunction::emitOpenACCWaitConstruct(const OpenACCWaitConstruct &s) { in emitOpenACCWaitConstruct()
220 mlir::LogicalResult CIRGenFunction::emitOpenACCCombinedConstruct( in emitOpenACCCombinedConstruct()
[all …]
H A DCIRGenExpr.cpp35 Address CIRGenFunction::emitAddrOfFieldStorage(Address base, in emitAddrOfFieldStorage()
67 Address CIRGenFunction::emitPointerWithAlignment(const Expr *expr, in emitPointerWithAlignment()
213 void CIRGenFunction::emitStoreThroughLValue(RValue src, LValue dst, in emitStoreThroughLValue()
242 static LValue emitGlobalVarDeclLValue(CIRGenFunction &cgf, const Expr *e, in emitGlobalVarDeclLValue()
279 void CIRGenFunction::emitStoreOfScalar(mlir::Value value, Address addr, in emitStoreOfScalar()
326 mlir::Value CIRGenFunction::emitStoreThroughBitfieldLValue(RValue src, in emitStoreThroughBitfieldLValue()
345 RValue CIRGenFunction::emitLoadOfBitfieldLValue(LValue lv, SourceLocation loc) { in emitLoadOfBitfieldLValue()
361 Address CIRGenFunction::getAddrOfBitFieldStorage(LValue base, in getAddrOfBitFieldStorage()
372 LValue CIRGenFunction::emitLValueForBitField(LValue base, in emitLValueForBitField()
396 LValue CIRGenFunction::emitLValueForField(LValue base, const FieldDecl *field) { in emitLValueForField()
[all …]
H A DCIRGenDecl.cpp26 CIRGenFunction::AutoVarEmission
27 CIRGenFunction::emitAutoVarAlloca(const VarDecl &d) { in emitAutoVarAlloca()
34 CIRGenFunction::AutoVarEmission emission(d); in emitAutoVarAlloca()
64 bool CIRGenFunction::isTrivialInitializer(const Expr *init) { in isTrivialInitializer()
77 void CIRGenFunction::emitAutoVarInit( in emitAutoVarInit()
78 const CIRGenFunction::AutoVarEmission &emission) { in emitAutoVarInit()
181 void CIRGenFunction::emitAutoVarCleanups( in emitAutoVarCleanups()
182 const CIRGenFunction::AutoVarEmission &emission) { in emitAutoVarCleanups()
199 void CIRGenFunction::emitAutoVarDecl(const VarDecl &d) { in emitAutoVarDecl()
200 CIRGenFunction::AutoVarEmission emission = emitAutoVarAlloca(d); in emitAutoVarDecl()
[all …]
H A DCIRGenCXXABI.h38 void setCXXABIThisValue(CIRGenFunction &cgf, mlir::Value thisPtr);
45 clang::ImplicitParamDecl *getThisDecl(CIRGenFunction &cgf) { in getThisDecl()
51 CIRGenFunction &cgf) = 0;
67 void buildThisParam(CIRGenFunction &cgf, FunctionArgList &params);
70 mlir::Value loadIncomingCXXThis(CIRGenFunction &cgf);
H A DCIRGenClass.cpp27 bool CIRGenFunction::isConstructorDelegationValid( in isConstructorDelegationValid()
56 static void emitLValueForAnyFieldInitialization(CIRGenFunction &cgf, in emitLValueForAnyFieldInitialization()
72 static void emitMemberInitializer(CIRGenFunction &cgf, in emitMemberInitializer()
132 Address CIRGenFunction::getAddressOfDirectBaseInCompleteClass( in getAddressOfDirectBaseInCompleteClass()
151 void CIRGenFunction::emitBaseInitializer(mlir::Location loc, in emitBaseInitializer()
191 void CIRGenFunction::emitCtorPrologue(const CXXConstructorDecl *cd, in emitCtorPrologue()
271 Address CIRGenFunction::loadCXXThisAddress() { in loadCXXThisAddress()
287 void CIRGenFunction::emitInitializerForField(FieldDecl *field, LValue lhs, in emitInitializerForField()
314 void CIRGenFunction::emitDelegateCXXConstructorCall( in emitDelegateCXXConstructorCall()
347 void CIRGenFunction::emitImplicitAssignmentOperatorBody(FunctionArgList &args) { in emitImplicitAssignmentOperatorBody()
[all …]
H A DCIRGenStmt.cpp26 void CIRGenFunction::emitCompoundStmtWithoutScope(const CompoundStmt &s) { in emitCompoundStmtWithoutScope()
35 void CIRGenFunction::emitCompoundStmt(const CompoundStmt &s) { in emitCompoundStmt()
50 void CIRGenFunction::emitStopPoint(const Stmt *s) { in emitStopPoint()
56 mlir::LogicalResult CIRGenFunction::emitStmt(const Stmt *s, in emitStmt()
239 mlir::LogicalResult CIRGenFunction::emitSimpleStmt(const Stmt *s, in emitSimpleStmt()
301 mlir::LogicalResult CIRGenFunction::emitIfStmt(const IfStmt &s) { in emitIfStmt()
363 mlir::LogicalResult CIRGenFunction::emitDeclStmt(const DeclStmt &s) { in emitDeclStmt()
372 mlir::LogicalResult CIRGenFunction::emitReturnStmt(const ReturnStmt &s) { in emitReturnStmt()
397 switch (CIRGenFunction::getEvaluationKind(rv->getType())) { in emitReturnStmt()
419 CIRGenFunction::emitContinueStmt(const clang::ContinueStmt &s) { in emitContinueStmt()
[all …]
H A DCIRGenFunction.h45 class CIRGenFunction : public CIRGenTypeCache {
123 CIRGenFunction(CIRGenModule &cgm, CIRGenBuilderTy &builder,
125 ~CIRGenFunction();
168 bind(CIRGenFunction &cgf, const OpaqueValueExpr *ov, const Expr *e) { in bind()
175 bind(CIRGenFunction &cgf, const OpaqueValueExpr *ov, const LValue &lv) { in bind()
182 bind(CIRGenFunction &cgf, const OpaqueValueExpr *ov, const RValue &rv) { in bind()
198 void unbind(CIRGenFunction &cgf) { in unbind()
212 CIRGenFunction &cgf;
225 OpaqueValueMapping(CIRGenFunction &cgf, in OpaqueValueMapping()
240 OpaqueValueMapping(CIRGenFunction &cgf, const OpaqueValueExpr *ov) in OpaqueValueMapping()
[all …]
H A DCIRGenOpenACC.cpp22 mlir::Value createBound(CIRGenFunction &cgf, CIRGen::CIRGenBuilderTy &builder, in createBound()
41 mlir::Value CIRGenFunction::emitOpenACCIntExpr(const Expr *intExpr) { in emitOpenACCIntExpr()
56 mlir::Value CIRGenFunction::createOpenACCConstantInt(mlir::Location loc, in createOpenACCConstantInt()
68 CIRGenFunction::OpenACCDataOperandInfo
69 CIRGenFunction::getOpenACCDataOperandInfo(const Expr *e) { in getOpenACCDataOperandInfo()
H A DCIRGenCXXABI.cpp25 void CIRGenCXXABI::buildThisParam(CIRGenFunction &cgf, in buildThisParam()
51 mlir::Value CIRGenCXXABI::loadIncomingCXXThis(CIRGenFunction &cgf) { in loadIncomingCXXThis()
58 void CIRGenCXXABI::setCXXABIThisValue(CIRGenFunction &cgf, in setCXXABIThisValue()
H A DCIRGenCXXExpr.cpp32 CIRGenFunction &cgf, const CXXMethodDecl *md, mlir::Value thisPtr, in commonBuildCXXMemberOrOperatorCall()
76 RValue CIRGenFunction::emitCXXMemberOrOperatorMemberCallExpr( in emitCXXMemberOrOperatorMemberCallExpr()
166 CIRGenFunction::emitCXXOperatorMemberCallExpr(const CXXOperatorCallExpr *e, in emitCXXOperatorMemberCallExpr()
176 RValue CIRGenFunction::emitCXXMemberOrOperatorCall( in emitCXXMemberOrOperatorCall()
192 static mlir::Value emitCXXNewAllocSize(CIRGenFunction &cgf, const CXXNewExpr *e, in emitCXXNewAllocSize()
210 static void storeAnyExprIntoOneUnit(CIRGenFunction &cgf, const Expr *init, in storeAnyExprIntoOneUnit()
236 static void emitNewInitializer(CIRGenFunction &cgf, const CXXNewExpr *e, in emitNewInitializer()
251 static RValue emitNewDeleteCall(CIRGenFunction &cgf, in emitNewDeleteCall()
272 mlir::Value CIRGenFunction::emitCXXNewExpr(const CXXNewExpr *e) { in emitCXXNewExpr()
H A DCIRGenConstantEmitter.h29 const CIRGenFunction *cgf;
54 ConstantEmitter(CIRGenFunction &cgf) : cgm(cgf.cgm), cgf(&cgf) {} in ConstantEmitter()
56 ConstantEmitter(CIRGenModule &cgm, CIRGenFunction *cgf = nullptr)
H A DCIRGenDeclOpenACC.cpp19 void CIRGenFunction::emitOpenACCDeclare(const OpenACCDeclareDecl &d) { in emitOpenACCDeclare()
23 void CIRGenFunction::emitOpenACCRoutine(const OpenACCRoutineDecl &d) { in emitOpenACCRoutine()
H A DCIRGenExprComplex.cpp11 CIRGenFunction &cgf;
15 explicit ComplexExprEmitter(CIRGenFunction &cgf) in ComplexExprEmitter()
26 mlir::Value emitConstant(const CIRGenFunction::ConstantEmission &constant,
152 const CIRGenFunction::ConstantEmission &constant, Expr *e) { in emitConstant()
264 if (CIRGenFunction::ConstantEmission constant = cgf.tryEmitAsConstant(e)) in VisitDeclRefExpr()
402 LValue CIRGenFunction::emitComplexAssignmentLValue(const BinaryOperator *e) { in emitComplexAssignmentLValue()
413 mlir::Value CIRGenFunction::emitComplexExpr(const Expr *e) { in emitComplexExpr()
420 void CIRGenFunction::emitStoreOfComplex(mlir::Location loc, mlir::Value v, in emitStoreOfComplex()
425 mlir::Value CIRGenFunction::emitPromotedComplexExpr(const Expr *e, in emitPromotedComplexExpr()
H A DCIRGenCall.cpp58 CIRGenCallee CIRGenCallee::prepareConcreteCallee(CIRGenFunction &cgf) const { in prepareConcreteCallee()
63 void CIRGenFunction::emitAggregateStore(mlir::Value value, Address dest) { in emitAggregateStore()
237 void CIRGenFunction::emitDelegateCallArg(CallArgList &args, in emitDelegateCallArg()
441 emitCallLikeOp(CIRGenFunction &cgf, mlir::Location callLoc, in emitCallLikeOp()
480 RValue CIRGenFunction::emitCall(const CIRGenFunctionInfo &funcInfo, in emitCall()
647 void CIRGenFunction::emitCallArg(CallArgList &args, const clang::Expr *e, in emitCallArg()
679 QualType CIRGenFunction::getVarArgType(const Expr *arg) { in getVarArgType()
693 RValue CIRGenFunction::emitAnyExprToTemp(const Expr *e) { in emitAnyExprToTemp()
703 void CIRGenFunction::emitCallArgs( in emitCallArgs()
H A DCIRGenStmtOpenACCLoop.cpp25 void CIRGenFunction::updateLoopOpParallelism(mlir::acc::LoopOp &op, in updateLoopOpParallelism()
56 CIRGenFunction::emitOpenACCLoopConstruct(const OpenACCLoopConstruct &s) { in emitOpenACCLoopConstruct()
H A DCIRGenExprAggregate.cpp29 CIRGenFunction &cgf;
50 AggExprEmitter(CIRGenFunction &cgf, AggValueSlot dest) in AggExprEmitter()
367 AggValueSlot::Overlap_t CIRGenFunction::getOverlapForBaseInit( in getOverlapForBaseInit()
388 void CIRGenFunction::emitAggExpr(const Expr *e, AggValueSlot slot) { in emitAggExpr()
392 LValue CIRGenFunction::emitAggExprToLValue(const Expr *e) { in emitAggExprToLValue()
H A DCIRGenBuiltin.cpp31 static RValue emitLibraryCall(CIRGenFunction &cgf, const FunctionDecl *fd, in emitLibraryCall()
38 static RValue emitBuiltinBitOp(CIRGenFunction &cgf, const CallExpr *e, in emitBuiltinBitOp()
60 RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID, in emitBuiltinExpr()
254 mlir::Value CIRGenFunction::emitCheckedArgForAssume(const Expr *e) { in emitCheckedArgForAssume()
H A DCIRGenExprScalar.cpp79 CIRGenFunction &cgf;
84 ScalarExprEmitter(CIRGenFunction &cgf, CIRGenBuilderTy &builder) in ScalarExprEmitter()
151 if (CIRGenFunction::ConstantEmission constant = cgf.tryEmitAsConstant(e)) in VisitDeclRefExpr()
519 CIRGenFunction::SourceLocRAIIObject sourceloc{ in emitScalarPrePostIncDec()
961 CIRGenFunction::SourceLocRAIIObject loc{ in VISITCOMP()
1000 CIRGenFunction::ConditionalEvaluation eval(cgf); in VisitBinLAnd()
1006 CIRGenFunction::LexicalScope lexScope{cgf, loc, in VisitBinLAnd()
1013 CIRGenFunction::LexicalScope lexScope{cgf, loc, in VisitBinLAnd()
1032 CIRGenFunction::ConditionalEvaluation eval(cgf); in VisitBinLOr()
1038 CIRGenFunction::LexicalScope lexScope{cgf, loc, in VisitBinLOr()
[all …]
H A DCIRGenCall.h24 class CIRGenFunction; variable
107 CIRGenCallee prepareConcreteCallee(CIRGenFunction &cgf) const;
H A DCIRGenOpenACCClause.cpp54 CIRGen::CIRGenFunction &cgf;
208 CIRGenFunction::OpenACCDataOperandInfo opInfo = in addDataOperand()
250 CIRGenFunction::OpenACCDataOperandInfo opInfo = in addDataOperand()
359 OpenACCClauseCIREmitter(OpTy &operation, CIRGen::CIRGenFunction &cgf, in OpenACCClauseCIREmitter()
977 auto makeClauseEmitter(OpTy &op, CIRGen::CIRGenFunction &cgf, in makeClauseEmitter()
985 void CIRGenFunction::emitOpenACCClauses( in emitOpenACCClauses()
997 template void CIRGenFunction::emitOpenACCClauses<N>( \
1016 void CIRGenFunction::emitOpenACCClauses( in EXPL_SPEC()
1029 template void CIRGenFunction::emitOpenACCClauses<N, mlir::acc::LoopOp>( \
H A DCIRGenItaniumCXXABI.cpp43 CIRGenFunction &cgf) override;
61 CIRGenFunction &cgf) { in emitInstanceFunctionProlog()
H A DCIRGenCXX.cpp29 CIRGenFunction cgf{*this, builder}; in codegenCXXStructor()
H A DCIRGenModule.h48 class CIRGenFunction; variable
91 CIRGenFunction *curCGF = nullptr;
H A DCIRGenModule.cpp420 CIRGenFunction cgf(*this, builder); in emitGlobalFunctionDefinition()
1801 CIRGenFunction *cgf = this->curCGF; in createCIRFunction()