Searched refs:ConstantEmission (Results 1 – 5 of 5) sorted by relevance
2746 class ConstantEmission {2748 ConstantEmission(llvm::Constant *C, bool isReference) in ConstantEmission() function2751 ConstantEmission() {} in ConstantEmission() function2752 static ConstantEmission forReference(llvm::Constant *C) { in forReference()2753 return ConstantEmission(C, true); in forReference()2755 static ConstantEmission forValue(llvm::Constant *C) { in forValue()2756 return ConstantEmission(C, false); in forValue()2776 ConstantEmission tryEmitAsConstant(DeclRefExpr *refExpr);
1134 CodeGenFunction::ConstantEmission1149 if (CEK == CEK_None) return ConstantEmission(); in tryEmitAsConstant()1169 return ConstantEmission(); in tryEmitAsConstant()1174 return ConstantEmission(); in tryEmitAsConstant()1191 return ConstantEmission::forReference(C); in tryEmitAsConstant()1193 return ConstantEmission::forValue(C); in tryEmitAsConstant()
128 if (CodeGenFunction::ConstantEmission result in VisitDeclRefExpr()
119 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()
271 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()