Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:cgf

38   CodeGenFunction *CGF;
45 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
47 static llvm::Constant *BuildStruct(CodeGenModule &CGM, CodeGenFunction *CGF,
51 ConstStructBuilder(CodeGenModule &CGM, CodeGenFunction *CGF)
52 : CGM(CGM), CGF(CGF), Packed(false),
392 Field->getType(), CGF);
477 CGM.EmitConstantValueForMemory(FieldValue, Field->getType(), CGF);
545 CodeGenFunction *CGF,
547 ConstStructBuilder Builder(CGM, CGF);
556 CodeGenFunction *CGF,
559 ConstStructBuilder Builder(CGM, CGF);
584 CodeGenFunction *CGF;
587 ConstExprEmitter(CodeGenModule &cgm, CodeGenFunction *cgf)
588 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) {
622 llvm::Constant *C = CGM.EmitConstantExpr(subExpr, subExpr->getType(), CGF);
762 llvm::Constant *C = CGM.EmitConstantExpr(Init, Init->getType(), CGF);
773 fillC = CGM.EmitConstantExpr(filler, filler->getType(), CGF);
796 return ConstStructBuilder::BuildStruct(CGM, CGF, ILE);
901 CLE->getType(), CGF);
924 if (CGF) {
925 LValue Res = CGF
934 assert(CGF && "Invalid address of label expression outside function.");
936 CGF->GetAddrOfLabel(cast<AddrLabelExpr>(E)->getLabel());
958 if (CGF)
959 FunctionName = CGF->CurFn->getName();
995 CodeGenFunction *CGF) {
1013 return EmitConstantValueForMemory(*Value, D.getType(), CGF);
1027 llvm::Constant* C = ConstExprEmitter(*this, CGF).Visit(const_cast<Expr*>(E));
1037 CodeGenFunction *CGF) {
1049 C = EmitConstantValue(Result.Val, DestType, CGF);
1051 C = ConstExprEmitter(*this, CGF).Visit(const_cast<Expr*>(E));
1062 CodeGenFunction *CGF) {
1076 return ConstExprEmitter(*this, CGF).Visit(
1080 C = ConstExprEmitter(*this, CGF).EmitLValue(LVBase);
1164 llvm::Constant *LHS = EmitConstantExpr(LHSExpr, LHSExpr->getType(), CGF);
1165 llvm::Constant *RHS = EmitConstantExpr(RHSExpr, RHSExpr->getType(), CGF);
1180 return ConstStructBuilder::BuildStruct(*this, CGF, Value, DestType);
1193 CAT->getElementType(), CGF);
1201 CAT->getElementType(), CGF);
1234 CodeGenFunction *CGF) {
1235 llvm::Constant *C = EmitConstantValue(Value, DestType, CGF);