Searched refs:ConstantEmission (Results 1 – 5 of 5) sorted by relevance
1995 class ConstantEmission {1997 ConstantEmission(llvm::Constant *C, bool isReference) in ConstantEmission() function2000 ConstantEmission() {} in ConstantEmission() function2001 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);
924 CodeGenFunction::ConstantEmission939 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()
114 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()
122 if (CodeGenFunction::ConstantEmission result in VisitDeclRefExpr()
228 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()