Home
last modified time | relevance | path

Searched refs:ConstantEmitter (Results 1 – 14 of 14) sorted by relevance

/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DConstantEmitter.h23 class ConstantEmitter {
51 ConstantEmitter(CodeGenModule &CGM, CodeGenFunction *CGF = nullptr)
57 ConstantEmitter(CodeGenFunction &CGF) in ConstantEmitter() function
60 ConstantEmitter(const ConstantEmitter &other) = delete;
61 ConstantEmitter &operator=(const ConstantEmitter &other) = delete;
63 ~ConstantEmitter();
H A DCGExprConstant.cpp560 ConstantEmitter &Emitter;
569 static bool UpdateStruct(ConstantEmitter &Emitter,
574 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder()
918 tryEmitGlobalCompoundLiteral(ConstantEmitter &emitter, in tryEmitGlobalCompoundLiteral()
1018 ConstantEmitter &Emitter;
1021 ConstExprEmitter(ConstantEmitter &emitter) in ConstExprEmitter()
1625 ConstantEmitter::~ConstantEmitter() { in ~ConstantEmitter()
1786 ConstantEmitter &Emitter;
1970 ConstantEmitter CompoundLiteralEmitter(CGM, Emitter.CGF); in VisitCompoundLiteralExpr()
2216 ConstantEmitter emitter(*this); in GetAddrOfConstantCompoundLiteral()
[all …]
H A DCodeGenModule.cpp2894 ConstantEmitter ConstEmiter(*this); in EmitAnnotationArgs()
3135 ConstantEmitter Emitter(*this); in GetAddrOfMSGuidDecl()
3187 ConstantEmitter Emitter(*this); in GetAddrOfUnnamedGlobalConstantDecl()
3217 ConstantEmitter Emitter(*this); in GetAddrOfTemplateParamObject()
4486 ConstantEmitter emitter(*this); in GetOrCreateLLVMGlobal()
4846 std::optional<ConstantEmitter> emitter; in EmitGlobalVarDefinition()
6060 std::optional<ConstantEmitter> emitter; in GetAddrOfGlobalTemporary()
7045 llvm::Constant *C = ConstantEmitter(CGF).emitAbstract(E, E->getType()); in createOpenCLIntToSamplerConversion()
H A DCGExprAgg.cpp133 if (llvm::Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr()
522 ConstantEmitter Emitter(CGF); in EmitArrayInit()
H A DCGDecl.cpp341 ConstantEmitter emitter(*this); in AddInitializerToStaticVarDecl()
1889 constant = ConstantEmitter(*this).tryEmitAbstractForInitializer(D); in EmitAutoVarInit()
H A DCGExpr.cpp405 if (auto Init = ConstantEmitter(CGF).tryEmitAbstract(Inner, Ty)) { in createReferenceTemporary()
1308 if (llvm::Value *Result = ConstantEmitter(*this).tryEmitConstantExpr(CE)) { in EmitLValue()
1541 auto C = ConstantEmitter(*this).emitAbstract(refExpr->getLocation(), in tryEmitAsConstant()
2740 llvm::Constant *Val = ConstantEmitter(*this).emitAbstract( in EmitDeclRefLValue()
H A DCGExprComplex.cpp106 if (llvm::Constant *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) in VisitConstantExpr()
H A DCGException.cpp2177 ConstantEmitter(*this).tryEmitAbstract(Except->getFilterExpr(), in EnterSEHTryStmt()
H A DCGExprCXX.cpp723 ConstantEmitter(CGF).tryEmitAbstract(*e->getArraySize(), e->getType()); in EmitCXXNewAllocSize()
H A DCGBlocks.cpp489 return ConstantEmitter(CGM, CGF).tryEmitAbstractForInitializer(*var); in tryCaptureAsConstant()
H A DCGExprScalar.cpp422 if (Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr()
653 return ConstantEmitter(CGF).emitAbstract(SLE->getLocation(), Evaluated, in VisitSourceLocExpr()
H A DCGDebugInfo.cpp2070 V = ConstantEmitter(CGM).emitAbstract( in CollectTemplateParams()
2119 llvm::Constant *V = ConstantEmitter(CGM).emitAbstract(E, T); in CollectTemplateParams()
H A DCGObjC.cpp72 ConstantEmitter ConstEmitter(CGM); in EmitObjCBoxedExpr()
H A DCGBuiltin.cpp2536 return RValue::get(ConstantEmitter(*this).emitAbstract(E, E->getType())); in EmitBuiltinExpr()
3698 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr()
3708 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr()