Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenFunction.h2561 class ConstantEmission {
2563 ConstantEmission(llvm::Constant *C, bool isReference) in ConstantEmission() function
2566 ConstantEmission() {} in ConstantEmission() function
2567 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);
DCGExpr.cpp1108 CodeGenFunction::ConstantEmission
1123 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()
DCGExprAgg.cpp128 if (CodeGenFunction::ConstantEmission result in VisitDeclRefExpr()
DCGExprComplex.cpp119 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()
DCGExprScalar.cpp271 if (CodeGenFunction::ConstantEmission result = CGF.tryEmitAsConstant(E)) { in VisitDeclRefExpr()