Searched refs:ConstantEmitter (Results 1 – 14 of 14) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantEmitter.h | 23 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 D | CGExprConstant.cpp | 562 ConstantEmitter &Emitter; 567 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 570 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 572 static bool UpdateStruct(ConstantEmitter &Emitter, 577 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() 653 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() 900 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() 912 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() 926 bool ConstStructBuilder::UpdateStruct(ConstantEmitter &Emitter, in UpdateStruct() 939 tryEmitGlobalCompoundLiteral(ConstantEmitter &emitter, in tryEmitGlobalCompoundLiteral() [all …]
|
H A D | CodeGenModule.cpp | 3333 ConstantEmitter ConstEmiter(*this); in EmitAnnotationArgs() 3576 ConstantEmitter Emitter(*this); in GetAddrOfMSGuidDecl() 3626 ConstantEmitter Emitter(*this); in GetAddrOfUnnamedGlobalConstantDecl() 3656 ConstantEmitter Emitter(*this); in GetAddrOfTemplateParamObject() 5042 ConstantEmitter emitter(*this); in GetOrCreateLLVMGlobal() 5427 std::optional<ConstantEmitter> emitter; in EmitGlobalVarDefinition() 6647 std::optional<ConstantEmitter> emitter; in GetAddrOfGlobalTemporary() 7630 llvm::Constant *C = ConstantEmitter(CGF).emitAbstract(E, E->getType()); in createOpenCLIntToSamplerConversion()
|
H A D | CGExprAgg.cpp | 133 if (llvm::Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr() 523 ConstantEmitter Emitter(CGF); in EmitArrayInit()
|
H A D | CGDecl.cpp | 345 ConstantEmitter emitter(*this); in AddInitializerToStaticVarDecl() 1956 constant = ConstantEmitter(*this).tryEmitAbstractForInitializer(D); in EmitAutoVarInit()
|
H A D | CGExpr.cpp | 417 if (auto Init = ConstantEmitter(CGF).tryEmitAbstract(Inner, Ty)) { in createReferenceTemporary() 1556 if (llvm::Value *Result = ConstantEmitter(*this).tryEmitConstantExpr(CE)) { in EmitLValueHelper() 1792 auto C = ConstantEmitter(*this).emitAbstract(refExpr->getLocation(), in tryEmitAsConstant() 3002 llvm::Constant *Val = ConstantEmitter(*this).emitAbstract( in EmitDeclRefLValue()
|
H A D | CGExprComplex.cpp | 111 if (llvm::Constant *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) in VisitConstantExpr()
|
H A D | CGException.cpp | 2194 ConstantEmitter(*this).tryEmitAbstract(Except->getFilterExpr(), in EnterSEHTryStmt()
|
H A D | CGExprCXX.cpp | 730 ConstantEmitter(CGF).tryEmitAbstract(*e->getArraySize(), e->getType()); in EmitCXXNewAllocSize()
|
H A D | CGDebugInfo.cpp | 2300 V = ConstantEmitter(CGM).emitAbstract( in CollectTemplateParams() 2333 llvm::Constant *V = ConstantEmitter(CGM).emitAbstract( in CollectTemplateParams() 2357 llvm::Constant *V = ConstantEmitter(CGM).emitAbstract(E, T); in CollectTemplateParams()
|
H A D | CGBlocks.cpp | 473 return ConstantEmitter(CGM, CGF).tryEmitAbstractForInitializer(*var); in tryCaptureAsConstant()
|
H A D | CGExprScalar.cpp | 437 if (Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr() 670 return ConstantEmitter(CGF).emitAbstract(SLE->getLocation(), Evaluated, in VisitSourceLocExpr()
|
H A D | CGObjC.cpp | 71 ConstantEmitter ConstEmitter(CGM); in EmitObjCBoxedExpr()
|
H A D | CGBuiltin.cpp | 3102 return RValue::get(ConstantEmitter(*this).emitAbstract(E, E->getType())); in EmitBuiltinExpr() 4449 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr() 4459 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr() 5394 return RValue::get(ConstantEmitter(*this).emitAbstract(E, E->getType())); in EmitBuiltinExpr()
|