Searched refs:ConstantEmitter (Results 1 – 14 of 14) sorted by relevance
/external/llvm-project/clang/lib/CodeGen/ |
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();
|
D | CGExprConstant.cpp | 548 ConstantEmitter &Emitter; 553 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 555 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter, 557 static bool UpdateStruct(ConstantEmitter &Emitter, 562 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() 622 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() 859 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() 871 llvm::Constant *ConstStructBuilder::BuildStruct(ConstantEmitter &Emitter, in BuildStruct() 885 bool ConstStructBuilder::UpdateStruct(ConstantEmitter &Emitter, in UpdateStruct() 906 ConstantEmitter emitter(CGM, CGF); in tryEmitGlobalCompoundLiteral() [all …]
|
D | CodeGenModule.cpp | 2411 ConstantEmitter ConstEmiter(*this); in EmitAnnotationArgs() 2598 ConstantEmitter Emitter(*this); in GetAddrOfMSGuidDecl() 2649 ConstantEmitter Emitter(*this); in GetAddrOfTemplateParamObject() 3779 ConstantEmitter emitter(*this); in GetOrCreateLLVMGlobal() 4122 Optional<ConstantEmitter> emitter; in EmitGlobalVarDefinition() 5345 Optional<ConstantEmitter> emitter; in GetAddrOfGlobalTemporary() 6167 llvm::Constant *C = ConstantEmitter(CGF).emitAbstract(E, E->getType()); in createOpenCLIntToSamplerConversion()
|
D | CGExprAgg.cpp | 130 if (llvm::Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr() 500 ConstantEmitter Emitter(CGF); in EmitArrayInit()
|
D | CGDecl.cpp | 331 ConstantEmitter emitter(*this); in AddInitializerToStaticVarDecl() 1866 constant = ConstantEmitter(*this).tryEmitAbstractForInitializer(D); in EmitAutoVarInit()
|
D | CGExpr.cpp | 404 if (auto Init = ConstantEmitter(CGF).tryEmitAbstract(Inner, Ty)) { in createReferenceTemporary() 1320 if (llvm::Value *Result = ConstantEmitter(*this).tryEmitConstantExpr(CE)) { in EmitLValue() 1549 auto C = ConstantEmitter(*this).emitAbstract(refExpr->getLocation(), in tryEmitAsConstant() 2694 llvm::Constant *Val = ConstantEmitter(*this).emitAbstract( in EmitDeclRefLValue()
|
D | CGExprComplex.cpp | 106 if (llvm::Constant *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) in VisitConstantExpr()
|
D | CGException.cpp | 2084 ConstantEmitter(*this).tryEmitAbstract(Except->getFilterExpr(), in EnterSEHTryStmt()
|
D | CGExprCXX.cpp | 714 ConstantEmitter(CGF).tryEmitAbstract(*e->getArraySize(), e->getType()); in EmitCXXNewAllocSize()
|
D | CGExprScalar.cpp | 419 if (Value *Result = ConstantEmitter(CGF).tryEmitConstantExpr(E)) { in VisitConstantExpr() 638 return ConstantEmitter(CGF).emitAbstract(SLE->getLocation(), Evaluated, in VisitSourceLocExpr()
|
D | CGDebugInfo.cpp | 1925 V = ConstantEmitter(CGM).emitAbstract( in CollectTemplateParams() 1970 llvm::Constant *V = ConstantEmitter(CGM).emitAbstract(E, T); in CollectTemplateParams()
|
D | CGBlocks.cpp | 439 return ConstantEmitter(CGM, CGF).tryEmitAbstractForInitializer(*var); in tryCaptureAsConstant()
|
D | CGObjC.cpp | 68 ConstantEmitter ConstEmitter(CGM); in EmitObjCBoxedExpr()
|
D | CGBuiltin.cpp | 2403 return RValue::get(ConstantEmitter(*this).emitAbstract(E, E->getType())); in EmitBuiltinExpr() 3283 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr() 3293 Value *Depth = ConstantEmitter(*this).emitAbstract(E->getArg(0), in EmitBuiltinExpr()
|