Searched refs:ConstantEmission (Results 1 – 5 of 5) sorted by relevance
2561 class ConstantEmission {2563 ConstantEmission(llvm::Constant *C, bool isReference) in ConstantEmission() function2566 ConstantEmission() {} in ConstantEmission() function2567 static ConstantEmission forReference(llvm::Constant *C) { in forReference()2568 return ConstantEmission(C, true); in forReference()2570 static ConstantEmission forValue(llvm::Constant *C) { in forValue()2571 return ConstantEmission(C, false); in forValue()2591 ConstantEmission tryEmitAsConstant(DeclRefExpr *refExpr);
1108 CodeGenFunction::ConstantEmission1123 if (CEK == CEK_None) return ConstantEmission(); in tryEmitAsConstant()1143 return ConstantEmission(); in tryEmitAsConstant()1148 return ConstantEmission(); in tryEmitAsConstant()1165 return ConstantEmission::forReference(C); in tryEmitAsConstant()1167 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()