Home
last modified time | relevance | path

Searched refs:ConstantEmission (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenFunction.h1995 class ConstantEmission {
1997 ConstantEmission(llvm::Constant *C, bool isReference) in ConstantEmission() function
2000 ConstantEmission() {} in ConstantEmission() function
2001 static ConstantEmission forReference(llvm::Constant *C) { in forReference()
2002 return ConstantEmission(C, true); in forReference()
2004 static ConstantEmission forValue(llvm::Constant *C) { in forValue()
2005 return ConstantEmission(C, false); in forValue()
2023 ConstantEmission tryEmitAsConstant(DeclRefExpr *refExpr);
DCGExpr.cpp924 CodeGenFunction::ConstantEmission
939 if (CEK == CEK_None) return ConstantEmission(); in tryEmitAsConstant()
959 return ConstantEmission(); in tryEmitAsConstant()
964 return ConstantEmission(); in tryEmitAsConstant()
981 return ConstantEmission::forReference(C); in tryEmitAsConstant()
983 return ConstantEmission::forValue(C); in tryEmitAsConstant()
DCGExprComplex.cpp114 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()
DCGExprAgg.cpp122 if (CodeGenFunction::ConstantEmission result in VisitDeclRefExpr()
DCGExprScalar.cpp228 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()